Reputation: 67
My Use Case:
Thanks,
Alex
Upvotes: 1
Views: 1063
Reputation: 19185
I doubt Hibernate will not allow you to do this. However you can go and write sql queries to update Tables [If you have used Table Generator] to change the current index position that can be used but it will hell of complicated logic since you will always have to keep track on which index record is not present
Upvotes: 0
Reputation: 8875
I doubt Hibernate will let you do it if you don't change the generator. What about inserting it and then updating it with direct SQL and invalidating any hibernate caches?
Upvotes: 1