Added log output
This commit is contained in:
parent
86a32dbb40
commit
5f315def3d
1 changed files with 4 additions and 0 deletions
|
|
@ -242,6 +242,10 @@ public abstract class DBBean {
|
|||
// Save the sub bean
|
||||
if( recursive || subobj.getId() == null )
|
||||
subobj.save(db);
|
||||
if( subobj.getId() == null ){
|
||||
logger.severe("Unable to save field "+config.getClass().getSimpleName()+"."+field.getName()+" with "+subobj);
|
||||
continue;
|
||||
}
|
||||
// Get the Sub object configuration
|
||||
if(subConfig == null)
|
||||
subConfig = beanConfigs.get( subobj.getClass() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue