3 Replies Latest reply on Jan 29, 2007 11:10 PM by Dan Allen

    seam-gen generate-entities not using Entity.java

    Dan Allen Master

      When I use the seam-gen generate-entities target to reverse engineer my database, it does a great job ;) However, the resulting entity classes don't use the Entity.java template from the seam-gen source code. However, if I use the seam-gen new-entity target, it does. Is there any reason?

      The main issue is that my generated entities don't have a @GeneratedValue annotation on the id property, even though my database uses an auto increment feature (MySQL). Its not that big of a deal to go in and edit the generated classes, but it is additional work.