mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 12:17:06 +00:00
chore[entity]: comment
This commit is contained in:
1 parent
58f484fd5c
commit
4e50f8b2b0
1 file changed
+1
-1
@@ -429,7 +429,7 @@ public class OrmManager implements IOrmManager {
|
|||||||
} else if (idFieldType.equals(ObjectId.class)) {
|
} else if (idFieldType.equals(ObjectId.class)) {
|
||||||
idFiledValue = new ObjectId();
|
idFiledValue = new ObjectId();
|
||||||
} else {
|
} 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")) {
|
if (!idField.getName().equals("id")) {
|
||||||
|
|||||||
Reference in new issue
Block a user