Apologies if this is a newbie question

I was running through the Library sample, but having access to DB2 already
wanted to generate the connection settings for this database. I thought from
reading the manuals that the way to do this was to copy the
hibernateCartridge.properties file into the same location as the
workflow.oaw, and change the settings in this file e.g.
hibernate.connection.driver_class = 'COM.ibm.db2.jdbc.app.DB2Driver' (this
sub-properties file being called when the script is run).

The result of doing it this way was that the hibernate.cfg.xml and
hibernate.properties files in the generated folders still contain the
default values. If I copy these same properties to the workflow.properties
file, I see the values I want in the generated files.

I assume that for some reason the workflow is not picking up either the
whole hibernateCartridge.properties file or just certain properties.

Thanks in advance for any help.
-- 
View this message in context: 
http://www.nabble.com/Overriding-db-driver-settings-in-workflow-tp17675333s17564p17675333.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to