mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1651 - ENH: Support change to io.ebean.Model that supports named databases (other than default database)
This commit is contained in:
1 parent
0230e3e253
commit
435e1f61fe
1 file changed
+1
-1
@@ -64,7 +64,7 @@ public class DeployCreateProperties {
|
||||
* </p>
|
||||
*/
|
||||
private boolean ignoreFieldByName(String fieldName) {
|
||||
if (fieldName.startsWith("_ebean_")) {
|
||||
if (fieldName.startsWith("_ebean_") || fieldName.equals("_$targetDatabase")) {
|
||||
// ignore Ebean internal fields
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user