JBoss Community

Re: JBoss AS 7 - generating DDLs from JPA or Hibernate files

created by Davide Consonni in JBoss AS 7 Development - View the full discussion

an idea:

use

        <property name="hibernate.show_sql" value="true"/>
        <property name="hibernate.format_sql" value="true"/>

in persistence.xml and configure logging to catch the statements.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community