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

47 Views Asked by At

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.

0

There are 0 best solutions below