Re: Problems with configuring OpenJPA "Slices"

2008-08-22 Thread Pinaki Poddar
Hi, this line from stack trace >org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:784) indicates that the correct configuration has not been picked up. Did you specify in your persistence.xml file? -- View this message in conte

Re: strange data cache behaviour

2008-08-22 Thread Georgi Naplatanov
Hello, Nicklas. I mean incorrect data. I tried runtime enhancement too, but without luck. What about query data cache, is it working for you ? I mean "openjpa.QueryCache". Best regards Georgi Nicklas Johnson wrote: > You didn't specify the way in which your test fails, but I did get > unexpecte

Re: strange data cache behaviour

2008-08-22 Thread Nicklas Johnson
You didn't specify the way in which your test fails, but I did get unexpected caching behaviour from recent OpenJPA when I ran it without either static enhancement or specifying a javaagent at runtime. You might want to check to be sure that you're specifying -javaagent or doing the bytecode enhan

strange data cache behaviour

2008-08-22 Thread Georgi Naplatanov
Hello, list. I test an application with OpenJPA 1.2.0 which reads and writes data to a database. When the data cache is 0 or more than 1400 all is fine, but when the data cache is between 1 and 1300, the test fails. Before each query execution the application executes EntityManager.flush() metho

Re: Problems with configuring OpenJPA "Slices"

2008-08-22 Thread thiago ananias
Pinaki Poddar wrote: > > Hi, >> 1) if i don't put this property "openjpa.ConnectionURL" it doesn't work, >> i think that is not necessary if i > configure slices, am i correct? > Yes. If each slice connection properties are specified independently then > you do not need openjpa.Connection* prop

Re: Problems with configuring OpenJPA "Slices"

2008-08-22 Thread Pinaki Poddar
Hi, > 1) if i don't put this property "openjpa.ConnectionURL" it doesn't work, i > think that is not necessary if i > configure slices, am i correct? Yes. If each slice connection properties are specified independently then you do not need openjpa.Connection* properties. They act as defaults for

Problems with configuring OpenJPA "Slices"

2008-08-22 Thread thiago ananias
Hi, I'am a student from Brazil, i'am making a work for the university about distributed database, and i found the "Slice" Project in the web, so i try to implement the Slices on my work. (My english isn't good, i'am sorry about this). With only the OpenJPA it works, but when i try configure Slic

Re: Strange Exception during native UPDATE-query

2008-08-22 Thread Sebastian Gauder
That's it! Thank you guys! Pinaki Poddar schrieb: Hi, I just ran the query with mysql-connector-java-5.1.6 -- and it seems to work OK. 1641 test TRACE [main] openjpa.jdbc.SQL - executing prepstmnt 21830977 UPDATE JBT_Order_Product SET product_id=? WHERE EXISTS (SELECT o.id FROM JBT_Ord