Hi all,
I'm using parts of the generated ui code as base for my RAP UI. There
I've a dialog with an entity, which I need to save. The save method in
the service, can do that.
But now, how could i get the id of the saved object or the object
itself? The problem is, i could call the save method with the same
entity instance twice and the service stores 2 rows in the database.
The service doesnt return the primary key (id) or something else, nor
the uuid contains the as parameter specified entity.
There are any thoughts on that? My first idea is to enrich the
SaveAccessImpl to return the generated primary key of the entity,
similar to the save(Object)-method in the hibernate session.
regards
Steffen...
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer