Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Marc Logemann
Hi, this is nearly impossible because its not an Entity which makes the problem here. Its a package. I have no idea how to unit test that. Perhaps you can try creating a simple package with JAXB generated classes in it and try to reproduce: 1) create a very simple XSD file 2) run the JAXB

Re: OpenJPA Date Proxy serialization problem when using entities with GWT

2011-03-24 Thread Pinaki Poddar
Hi Prashant, You may like to check out a complete GWT + OpenJPA sample in openjpa-examples/opentrader directory. - Pinaki -- View this message in context: http://openjpa.208410.n2.nabble.com/OpenJPA-Date-Proxy-serialization-problem-when-using-entities-with-GWT-tp6156425p6204055.html

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Pinaki Poddar
Debugging is also not that easy within an ANT process. Perhaps someone give me an hint how to proceed. Invoke javac compiler programmatically. Pass opejpa.metamodel in compiler argument. You will require tools.jar in your classpath. - Pinaki -- View this message in context:

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Marc Logemann
Hi, i am quite sure that there were a lot more jars when i had the single ALL dependency in my ivy setup. Dont have the time to prove right now. In fact one dont need the service file when using the -processor flag in javac. --- regards Marc Logemann http://www.logemann.org

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Marc Logemann
you are late. We basically figured out all the issues. I also presented a fix and Rick supplied a patched jar and hopefully this fix will make it into the next 2.1 release. --- regards Marc Logemann http://www.logemann.org http://www.logentis.de Am 24.03.2011 um 14:25 schrieb Pinaki Poddar:

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Pinaki Poddar
We basically figured out all the issues. I am sure you did. Good luck :) you are late. Not really. The code was written two years ago, with a programmatic javac compiler for debugging ;) - Pinaki -- View this message in context:

How to enable schema log ?

2011-03-24 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, I got this in an error message : Enable the org.apache.openjpa.jdbc.Schema logging category to see messages about schema data. I can't find what to add in the persistence.xml if it is there something should be added... I already added the following line but I feel it is something else :

Re: How to enable schema log ?

2011-03-24 Thread Michael Dick
I think this will work property name=openjpa.Log value=DefaultLevel=WARN, Tool=INFO, SQL=TRACE, Schema=TRACE / I suspect it's case sensitive but haven't tried it out. -mike On Thu, Mar 24, 2011 at 10:55 AM, Jean-Baptiste BRIAUD -- Novlog j-b.bri...@novlog.com wrote: Hi, I got this in an

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Michael Dick
On Thu, Mar 24, 2011 at 10:40 AM, Marc Logemann l...@logemann.org wrote: you are late. Not really. The code was written two years ago, with a programmatic javac compiler for debugging ;) thats not what i meant. I meant in following our discussion on the list ;-) When i am old and

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Marc Logemann
Am 24.03.2011 um 17:27 schrieb Michael Dick: On Thu, Mar 24, 2011 at 10:40 AM, Marc Logemann l...@logemann.org wrote: you are late. Not really. The code was written two years ago, with a programmatic javac compiler for debugging ;) thats not what i meant. I meant in following our

JPQL delete with subquery

2011-03-24 Thread LongkerDandy
Hi I can't figure out this. I want to delete all the MOVIE entities which doesn't contain any files. entityManager.createQuery(DELETE FROM MOVIE m WHERE m IN (SELECT em FROM MOVIE em LEFT JOIN em.files f WHERE em.files IS NULL)).executeUpdate(); And I got the exception:

Re: MetaModel creation with -Aopenjpa.generate=true

2011-03-24 Thread Rick Curtis
I have heard it said that programmatic javac compiler for debugging means that you have a junit testcase which calls com.sun.tools.javac.Main. I heard it somehow involved a chicken and some sort of voodoo dance. :) On Thu, Mar 24, 2011 at 11:27 AM, Michael Dick michael.d.d...@gmail.comwrote: