Hi,
I use Middlegen to generate my .hbm.xml files, but instead of the default generated <set> elements I would like Middlegen to generate <list> elements. Is this possible?
My ant code looks like:
Code:
<target name="middlegen">
<middlegen
appName="music"
gui="true"
databaseurl="jdbc:oracle:thin:@s-oracle01:1521:prorail"
driver="oracle.jdbc.driver.OracleDriver"
username="music"
password="music"
schema="music"
xmlprefs="true"
prefsdir=".">
<table name="DISC" />
<table name="ARTIST" />
<table name="SONG" />
<hibernate
destination="build"
package="nl.prorail.stm.persistence" />
</middlegen>
</target>
Thanks in advance for any help!
Arjan Huijzer