mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-21 02:25:13 +00:00
chore[entity]: comment
This commit is contained in:
@@ -429,7 +429,7 @@ public class OrmManager implements IOrmManager {
|
||||
} else if (idFieldType.equals(ObjectId.class)) {
|
||||
idFiledValue = new ObjectId();
|
||||
} else {
|
||||
throw new RunException("orm only supports int long float double String");
|
||||
throw new RunException("orm id field only supports int long float double String ObjectId");
|
||||
}
|
||||
|
||||
if (!idField.getName().equals("id")) {
|
||||
|
||||
Reference in New Issue
Block a user