Hibernate jpamodelgen doesn't generate Metamodel for Roo managed entities.
Is it possible to solve this or only with push-in refactor?
Hibernate jpamodelgen doesn't generate Metamodel for Roo managed entities.
Is it possible to solve this or only with push-in refactor?
Sorry for my english
We are currently working on a comparable feature which reads JDBC metadata and generates Roo managed entities. See http://jira.springframework.org/browse/ROO-435 for details. In the meantime, you would have to add Roo annotations manually to your generated entities.
Cheers,
Stefan
Stefan Schmidt
Software Engineer, Spring Roo
SpringSource - a division of VMware
twitter @schmidtstefan
I'd like to be able to generate the meta model for some JPA Queries that I need. They're a little bit more complicated than it's possible to create with the the finders.
Since I need some kind of Criteria, CriteriaQuery seems to be the better approach.
After pushing-in refactor, the Hibernate JPA 2 Metamodel Generator worked fine, but with this solution I loose Roo capabilities.
Regarding database introspection, it's not easy to have an OSGI driver for my current DB2 database. Furthermore, it's a legacy database and I'd rather to model the relationships manually (I mean, I don't always trust how the database is configured, and I don't need to)
Is there any chance to have this issue solved?
Greetings.