Hi,
I read a little bit about customs types in Hibernate and implemented a class for my use. But my problem is, that I do not find any example, how I add my UserType implementation to my class to be mapped by Hibernate using Annotations. All examples, that I found, are using the xml configuration file, which I do not want to use. Can somebady help me with an little example how to use Annotations to add a UserType to a mapping class?
Thanks for your help and best regards,
Andreas
Have a nice Weekend!!
|