From e6b213193af901cbfec2c5e05b4811fde6726f91 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Mon, 21 Jan 2013 13:42:07 +0100
Subject: [PATCH] fix error in object initialization

---
 hsarback/src/de/hsadmin/remote/AbstractRemote.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hsarback/src/de/hsadmin/remote/AbstractRemote.java b/hsarback/src/de/hsadmin/remote/AbstractRemote.java
index 7336a45..6d1cb11 100644
--- a/hsarback/src/de/hsadmin/remote/AbstractRemote.java
+++ b/hsarback/src/de/hsadmin/remote/AbstractRemote.java
@@ -71,6 +71,7 @@
 				Constructor<? extends AbstractEntity> constructor = 
 					getEntityClass().getConstructor();
 				AbstractEntity entity = constructor.newInstance();
+				module.initialize(entity);
 				map2entity(setParams, entity);
 				transaction.beginTransaction();
 				AbstractEntity insertedEntity = module.add(entity);

--
Gitblit v1.9.1