Angel Flores
Angel Flores

Reputation: 11

how to refresh one object with a new id generated by a trigger en db and return the new id

This is my entity. I tried to use sequence but my DB uses a trigger to call a Sequele.nextval. .Save of hiberte returns me the nextval but the trigger when try to insert add the next vale1

Here I'm trying to use refresh this is my dao.

Upvotes: 1

Views: 45

Answers (0)

Related Questions