Hi,
I have a question using the Tools ant-task.
Is it possible to build the CFG with a CPool, but deploy it with a property for the DS?
Building up the PoJos and CFG works fine, i am using this cfg for it:
<property name="hibernate.c3p0.max_size">2</property>
<property name="hibernate.c3p0.max_statements">50</property>
<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.timeout">1800</property>
Building the war-File needs a different cfg, something like:
<property name="connection.datasource">java:comp/env/jdbc/DS</property>
Using a propertie-File doesnt help, what else should i do, to build and deploy my application from ER, without editing the cfg?
Thanks
|