mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
MySql update - Internal changes for DB Migration / DDL generation #369
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user