Re: OPENJPA_SEQUENCE_TABLE: needed even with IDENTITY columns?

2009-04-19 Thread Paul Copeland
I noticed that |GenerationType.SEQUENCE also uses that table (with Postgres provider). Maybe you have one of those on some Entity.| On 4/18/2009 2:49 PM, ljnelson wrote: Hello. I am using the H2 database for some simple unit tests, with OpenJPA sitting on top of it. I am wondering how to ge

select issue in recursive method?

2009-04-19 Thread andiqo
Hello, I have a strange behavior during selection of my Nodes from database. I have a graph structure and I want to delete all child Nodes that are connected to me (the root Node) with a "cascaded=true" property on my Edge object. I have the following entities (source code): @Entity @Table(n

Re: OPENJPA_SEQUENCE_TABLE: needed even with IDENTITY columns?

2009-04-19 Thread Laird Nelson
On Sun, Apr 19, 2009 at 3:41 AM, Paul Copeland (via Nabble) < ml-user+196740-2043936...@n2.nabble.com > wrote: > I noticed that |GenerationType.SEQUENCE also uses that table (with > Postgres provider). Maybe you have one of those on some Entity.| > Nope; I sure do not. :-( Best, Laird

Re: select issue in recursive method?

2009-04-19 Thread andiqo
By the way, I am using openjpa-2.0.0-SNAPSHOT.jar. I didn't have this issue with openjpa < 2.0.0. Thanks again Hello, I have a strange behavior during selection of my Nodes from database. I have a graph structure and I want to delete all child Nodes that are connected to me (the root Node)

ConcurrentModificationException

2009-04-19 Thread David Leangen
Hello, I am using an OpenJPA extension to iterate over an extent. However, when a problem in my own code throws an exception, there is a problem rolling back due to what appears to be a bug in the OpenJPA code. Should I file a bug in JIRA? Here is my code: public Void execute( EntityManag

Re: Performance issues

2009-04-19 Thread David Leangen
Thank you, I'll give that a try. On Fri, 2009-04-17 at 07:55 -0700, Paul Copeland wrote: > That sounds interesting. You might turn on verbose logging for SQL > operations (openjpa.jdbc.SQL) and see what queries are actually being > executed. The logging section of the OpenJPA manual explains