[forge-users] generate-entities just generates way to plain ojo's

Ronald van Kuijk rvkuijk at gmail.com
Mon Jun 6 22:33:42 EDT 2011


I've seen issue https://issues.jboss.org/browse/SEAMFORGE-46 being resolved,
So I thought I'd give it a try. Building forge from source and adding all
relevant plugins from source as well (to make sure I have all the latests
things), I tried:

generate-entities --driver com.mysql.jdbc.Driver --url jdbc:mysql:// --dialect
org.hibernate.dialect.MySQL5InnoDBDialect --user **** --password ****

After putting the driver in the pom of the dist project (where is
$FORGE_HOME/lib? setting it to whatever seems not to work) I get some
classes. However, they are in no way entities. No annotations whatsover Not
even a @Entity, let alone @ID, @Column where needed, nothing, only composite
keys are generated and many2one and one2many relations are detected. Any
idea what I might be doing wrong?

I'm using:

   - MySQL 5.1.56
   - java version "1.6.0_20"
   OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-
   OpenJDK Server VM (build 19.0-b09, mixed mode)
   - maven 3.0.2
   - MySQL driver 5.1.16

Anybody any ideas? Using the latest jboss tools from eclipse 3.6.1 it works


(working on creating a primefaces plugin and extending the
richfaces/metawidget/scaffolding and enhancing the hibernate plugin for
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20110607/5ec19791/attachment.html 

More information about the forge-users mailing list