This question was hidden inside another thread....
Steffen Stundzig wrote: > > 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... > -- View this message in context: http://www.nabble.com/-sculptor--Save-API-tp21086454s17564p21086454.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer