I can't activate my customnamingstrategy when using hibernate3:hbm2ddl.
It alwas uses the DefaultNamingStrategy.
Here's my configuration:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<componentProperties>
<implementation>jpaconfiguration</implementation>
<configurationfile>src/hbm2ddl/my-hbm2ddl.cfg.xml</configurationfile>
<outputfilename>my-hbm2ddl.sql</outputfilename>
<export>false</export>
<namingstrategy>ggg.MyNamingStrategy</namingstrategy>
<persistenceunit>myPersistenceUnit</persistenceunit>
</componentProperties>
</configuration>
</plugin>
Has anyone used the <namingstrategy> element succesfully?
According to the hibernate tool docs, it doesn't look like a normal
property on the exporter, which might cause it:
<configuration
configurationfile="hibernate.cfg.xml" (1)
propertyfile="hibernate.properties" (2)
entityresolver="EntityResolver classname" (3)
namingstrategy="NamingStrategy classname" (4)
>
--
With kind regards,
Geoffrey De Smet
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email