I tried to search an answer to this question but I couldn't really find it. I have a new value object that is partially filled which I want to insert into the database.
When the insert was succesfull I want to return the value object again back to the client side (a Flex application in my case). The reason I want this is to have the auto increment value for the id of the value object.
I thought I could use the fetchAll method again, but apparently that gives a general error incase of update/insert queries. So what is the correct way to return an updated value object back?
Kind regards, Rick