Hi

I've done something like this:

data = new UserData(.........);
User u = userHome.findByPrimaryKey(new UserPK(data.id));
u.setData(data);

And it throws an IllegalStateException due to _version difference. Why
is that version checked in setData()? And more important, how can I set
the data of bean without calling every single setter? TIA for help.

Regards
-- 
--= Michal [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po g�rach SSIE!!!


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to