• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate JPA provider - version collisions not being reported

 
Pushker Chaubey
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am migrating from toplink JPA provider to Hibernate JPA provider. But I see that version collisions are not being reported with Hibernate's JPA provider (No version collision exception thrown). Earlier, with Toplink's provider in place it used to work.

What may be the possible reason for this. Do I need to enable it explicitly for Hiberbate by some configuration?

Thanks in advance,

Pushker Chaubey
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to verity, you are using the @Version annotation?

-Cameron McKenzie
 
Pushker Chaubey
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Version is already added.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic