mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-23 21:15:52 +00:00
#1651 - ENH: Support change to io.ebean.Model that supports named databases (other than default database)
This commit is contained in:
@@ -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