fix error in object initialization
This commit is contained in:
parent
932ca07115
commit
e6b213193a
@ -71,6 +71,7 @@ public abstract class AbstractRemote implements IRemote {
|
||||
Constructor<? extends AbstractEntity> constructor =
|
||||
getEntityClass().getConstructor();
|
||||
AbstractEntity entity = constructor.newInstance();
|
||||
module.initialize(entity);
|
||||
map2entity(setParams, entity);
|
||||
transaction.beginTransaction();
|
||||
AbstractEntity insertedEntity = module.add(entity);
|
||||
|
Loading…
Reference in New Issue
Block a user