I've looked at the docs and seems like it should work. However, the only thing I see on the PACKAGE table is that there is an index for labelId:
name = UQ_PACKAGE_2F112023
id = 2
Uniq? = Y
Column1 = labelId
Again, there is no dependent PACKAGE table for LABEL and there is no foreign key constraint for LABEL in the PACKAGE table.
As for the SQL output, I use hibernate.cfg.xml, define the properties:
<property name="show_sql">true</property>
<property name="hibernate.hbm2ddl.auto">create-drop</property>
and when I launch my app server, the tables get generated. I do not know out to use --output="filename" in the config file. Any suggestions?
-nefi