unused at the moment, since all jdbc drivers adhere to the standard that : 1 == true, false otherwise.
unused at the moment, since all jdbc drivers adhere to the standard that : 1 == true, false otherwise. If a new driver would not adhere to this, the call can be uncommented in method convertToJdbcValue
unused for the same reason as def convertFromBooleanForJdbc (see comment)
unused for the same reason as def convertFromBooleanForJdbc (see comment)
Converts field instances so they can be fed, and understood by JDBC will not do conversion from None/Some, so @arg r should be a java primitive type or a CustomType
Converts field instances so they can be fed, and understood by JDBC will not do conversion from None/Some, so @arg r should be a java primitive type or a CustomType
Some methods like 'dropTable' issue their statement, and will silence the exception.
Some methods like 'dropTable' issue their statement, and will silence the exception. For example dropTable will silence when isTableDoesNotExistException(theExceptionThrown). It must be used carefully, and an exception should not be silenced unless identified.
This will create an probabilistically unique string of length no longer than 11 chars, it can be used to create "almost unique" names where uniqueness is not an absolute requirement, is not ,
This will create an probabilistically unique string of length no longer than 11 chars, it can be used to create "almost unique" names where uniqueness is not an absolute requirement, is not ,
Figures out from the SQLException (ex.
Figures out from the SQLException (ex.: vendor specific error code) if it's cause is a NOT NULL constraint violation
When @arg printSinkWhenWriteOnlyMode is not None, the adapter will not execute any statement, but only silently give it to the String=>Unit closure
When @arg printSinkWhenWriteOnlyMode is not None, the adapter will not execute any statement, but only silently give it to the String=>Unit closure
Foreign key constraints are not supported,
Foreign key constraints are not supported,
MySQL has some pre requisites for creating a foreign key constraint one of which is :
-> The foreign key can be self referential (referring to the same table). When you add a foreign key constraint to a table using ALTER TABLE, remember to create the required indexes first.
http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints.html
Apparently there are other pre requisites, because creating foreign key constraints still gives :
Time Action Response Duration / Fetch 0 1 18:26:25 alter table CourseSubscription add constraint CourseSubscriptionFK3 foreign key (courseId) references Course(id) Error Code: 1005 Can't create table 'test.#sql-57c_42' (errno: 150)
http://bytes.com/topic/mysql/answers/865699-cant-create-table-errno-150-foreign-key-constraints
Should we verify that when we delete by primary key the JDBC driver reports that no more than one row was affected? MonetDB in particular seems to act badly here
Should we verify that when we delete by primary key the JDBC driver reports that no more than one row was affected? MonetDB in particular seems to act badly here
true if we should throw an exception if the driver reports more than 1 affected row
the name specified in the Schema, when not None, it must be used as the name
when not None, the column group forms a composite key, 'nameOfCompositeKey' can be used as part of the name to create a more meaningfull name for the constraint, when 'name' is None