Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-25 Thread Rick Curtis
Marc - This problem is fixed[1] in the 2.1.x stream and trunk. [1] http://issues.apache.org/jira/browse/OPENJPA-1965 Thanks, Rick On Thu, Mar 24, 2011 at 12:57 PM, Rick Curtis curti...@gmail.com wrote: I have heard it said that programmatic javac compiler for debugging means that you have

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-25 Thread Marc Logemann
great News! --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 25.03.2011 um 15:56 schrieb Rick Curtis: Marc - This problem is fixed[1] in the 2.1.x stream and trunk. [1] http://issues.apache.org/jira/browse/OPENJPA-1965 Thanks, Rick On Thu, Mar 24,

Re: JPQL delete with subquery

2011-03-25 Thread Pinaki Poddar
How about SELECT m from Movie m where m.files IS NULL? - Pinaki -- View this message in context: http://openjpa.208410.n2.nabble.com/JPQL-delete-with-subquery-tp6205105p6208334.html Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: JPQL delete with subquery

2011-03-25 Thread Pinaki Poddar
Oops: DELETE m from Movie m where m.files IS NULL? - Pinaki -- View this message in context: http://openjpa.208410.n2.nabble.com/JPQL-delete-with-subquery-tp6205105p6208343.html Sent from the OpenJPA Users mailing list archive at Nabble.com.

Oracle XMLType fetch problems

2011-03-25 Thread kostellodon
I am working with base WebSphere 7, which includes JPA 1.2.1, and am interacting with an Oracle 11.2 database. I have a table with an XMLType column in it that I am trying to persist and later retrieve from. I am doing my testing using JUnit 4, using ojdbc6.11.1.0.7.0.jar for my driver. My

Re: Oracle XMLType fetch problems

2011-03-25 Thread Michael Dick
Hi Don, I'm not familiar with jaxb, but what you have looks pretty close to the example in the OpenJPA manual. I've tried to reproduce the non-jaxb path and found that the problem is that OpenJPA is expecting your XML column to be a VARCHAR (because that's how it's defined in the entity). I've

RE: Oracle XMLType fetch problems

2011-03-25 Thread kostellodon
I don't have control over our production environment, so I can't ensure we'll have the fixpacks available, so I can't try your second solution. But, your first method worked like a charm. Adding the same columnDefinition to my jaxb example caused that to start working also. The restriction