This commit is contained in:
Ziver Koc 2013-09-07 01:14:18 +00:00
parent 7aa5bc2a0e
commit 4256d6e7b2
12 changed files with 401 additions and 26 deletions

View file

@ -266,7 +266,7 @@ public abstract class DBBean {
// Execute the SQL
DBConnection.exec(stmt);
if( id == null )
this.id = (Long) db.getLastInsertID();
this.id = db.getLastInsertID();
// Save the list, after we get the object id
for(Field field : config.fields){