I managed to create a hibernate.properties file by modifying the sculptor and
it works. For the record here is what I did:
added
boolean isHibernatePropertiesToBeGenerated() :
getBooleanProperty("generate.hibernateProperties");
in the properties.xpt file.
Then I added
«IF isHibernatePropertiesToBeGenerated()»
«EXPAND HibernateProperties::properties»
«ENDIF»
in the Root.xpt file
Finally I copied Spring.xpt to HibernateProperties.xpt and modified it so
that it creates a hibernate.properties file. Basically removed almost
everything and replaced the stuff like
<prop key="hibernate.dialect">«hibernateDialect()»</prop>
with
hibernate.dialect=«hibernateDialect()»
and so on.
Bjoern_G wrote:
>
>
> EDIT: update, I think hibernate.properties would be sufficient,
> hibernate.cfg.xml is not needed.
>
>
--
View this message in context:
http://www.nabble.com/Using-hbm2dll-to-generate-database-schema--tp17205218s17564p17275552.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer