MySql update - Internal changes for DB Migration / DDL generation #369

This commit is contained in:
Robin Bygrave committed 2015-08-06 11:15:31 +12:00
1 parent e83a6f05bc
commit 13ed298ee8
19 files changed
+205 -345

No files matched your search

@@ -1065,6 +1065,7 @@ public class BeanDescriptorManager implements BeanDescriptorMap {
if (desc.isPrimaryKeyCompoundOrNonNumeric()) {
// assuming that this is a user supplied key like ISO country code or ISO currency code or lookup table code
logger.debug("Expecting user defined identity on " + desc.getFullName() + " - not using db sequence or autoincrement");
desc.setIdType(IdType.EXTERNAL);
return;
}
// use the default. IDENTITY or SEQUENCE.