Viet Hung Nguyen wrote:
I am deploying my db pool through the admin console. I am using the
tranql-connector-1.3.rar found under
geronimo-jetty6-jee5-2.0-SNAPSHOT\repository\org\tranql\tranql-connector-ra\1.3.
I am still encountering these two problems:
1) The EJB seems to be talking to the
Viet,
I just looked again at your original email and persistence.xml - you are
already setting openjpa.jdbc.SynchronizeMappings to false, so hopefully
your whole problem is just related to transactions.
Jay
Viet Hung Nguyen wrote:
I am deploying my db pool through the admin console. I am usi
Viet,
Try setting:
I believe the default setting will rebuild your database and clear your
tables.
As far as your data persisting, you will need to make sure you start a
transaction and commit it after changing data.
Since you are using local transactions (in your persistence.xml), try:
I am deploying my db pool through the admin console. I am using the
tranql-connector-1.3.rar found under
geronimo-jetty6-jee5-2.0-SNAPSHOT\repository\org\tranql\tranql-connector-ra\1.3.
I am still encountering these two problems:
1) The EJB seems to be talking to the DB, but whenever I query i
On Jun 19, 2007, at 10:26 PM, Viet Hung Nguyen wrote:
Thanks David, I resolved the PersistenceUnit problem from the hints
that you gave me.
Excellent!
However, once all of that was resolved I am having problems
connecting to the DB
It looks like you generated the db pool plan from
Thanks David, I resolved the PersistenceUnit problem from the hints that
you gave me.
However, once all of that was resolved I am having problems connecting
to the DB
I have the following:
--BankPool.xml--
http://geronimo.apache.org/xml/ns/j2ee/connector-1.1";>
xmlns:dep="http://geron
I'm a bit confused.
-- the persistence-unit-ref is in a web.xml whereas the annotation
appears to be in an ejb
-- Since you are supplying datasources, leave out the connection
info from the properties
-- your web-app is version 2.4 whereas jpa stuff is only supported in
2.5 (although I thi
I am unable to get a handle on a EntityManagerFactory.
I have the following configuration using Derby as the DB on Geronimo 2.0:
--*persistence.xml *which is in the JAR file under META-INF--
http://java.sun.com/xml/ns/persistence";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst