• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate: Override @Type annotation in orm.xml

 
Davis Ford
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have the following field on an entity class:



I want to override the @Type annotation in orm.xml, but I can't seem to figure out how. For example....



Where / how do I specifiy the type??

Thanks in advance!
 
Edvins Reisons
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In any case, you cannot do it in orm.xml because vendor extensions are not allowed there; you can only use the standard JPA mappings.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic