Search code examples
javaeclipsehibernatejpahibernate-tools

How to generate Hibernate field annotations?


How to configure Hibernate Tools in Eclipse Indigo to make annotations on fields instead on getters, when generating model based on existing database?


Solution

  • I don't think that this is possible with the Hibernate Tools. The only thing that might come close to what you want is some custom code with the meta attributes, though I don't think it will exactly archive what you want to do.