[forge-users] How to use Forge 2.10.1.Final jpa-generate-entities-from-tables ?

forge-users at lists.jboss.org forge-users at lists.jboss.org
Wed Jan 28 09:56:51 EST 2015


This works for me

1) jpa-setup --provider Hibernate --container JOSS_AS7 --dbType MYSQL --dataSourceName java:jboss/datasources/facturacionDS;

2) connection-create-profile --name coneFact --hibernateDialect org.hibernate.dialect.MySQL5Dialect --driverClass com.mysql.jdbc.Driver --driverLocation D:\conectores_odbc\mysql-connector-java-5.1.7-bin.jar --userName root --userPassword root --jdbcUrl jdbc:mysql://localhost:3306/facturacion  --saveUserPassword Y;

3) jpa-generate-entities-from-tables --connectionProfile coneFact --targetPackage src.main.java --databaseTables * ;

Posted by forums
Original post: https://developer.jboss.org/message/917202#917202



More information about the forge-users mailing list