This commit is contained in:
parent
7aa5bc2a0e
commit
4256d6e7b2
12 changed files with 401 additions and 26 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue