Announcement Announcement Module
Collapse
No announcement yet.
Automate JPA 2 Metamodel Generation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Automate JPA 2 Metamodel Generation

    I have a Roo project set up and I am using the JPA Criteria queries, which requires a metamodel. It appears the Hibernate metamodel generator does not work with Roo. Has anyone else been able to get the generator to work with Roo?

    Thanks in advance,
    Joe

  • #2
    Idea

    I am thinking of modifying the "generated-source" in the POM to compile and weave together the domain code only. Then run Hibernate's metamodel generator against this freshly compiled code. The rest of the Maven process should go as planned. I will see if that works.

    Anyone else have an idea?

    Joe

    Comment

    Working...
    X