Re: ID field auto generation issue for multiple databases supporting

2009-06-18 Thread wang yu
Hi Milosz, Yes, you're right. And I have checked the source code, the AUTO is total identical with TABLE in OpenJPA. Thank you for your patient help! Regards, Yu Wang On Wed, Jun 17, 2009 at 6:02 PM, MiƂosz Tylendamtyle...@o2.pl wrote: Hi Yu Wang, The error message seems to say Attempt to

Query generated through Open JPA results in null values

2009-06-18 Thread Ashish Jain
Hi All, I am doing a fetch operation and this results in generation of a query which is as follows. Please see the line in blue where the field *t0.BW_WASD_LOCATION IS NULL.* I am not able to find out why this field is coming up as null. This results in fetch failing for any of the input values.

Re: [Newbie] OPenJPA (1.2.1) Enhancement woes

2009-06-18 Thread Rick Curtis
I don't think many (if any) people around here have NetBeans experience... so it sounds like you're blazing a trail. I spent an hour this morning trying NB out, and I can't get things working... please let us know if/when you figure out what's going on. Is there a particular reason that you're

Re: [Newbie] OPenJPA (1.2.1) Enhancement woes

2009-06-18 Thread Richard Rak
I've attached my build.xml file that I use for Netbeans and have had no issues with it. It assumes that your Netbeans library is called openjpa for loading the enhancer. Here is my build.xml (the important part is within the target/ target tags): ?xml version=1.0 encoding=UTF-8? project

Re: [Newbie] OPenJPA (1.2.1) Enhancement woes

2009-06-18 Thread David Beer
Hi Just as an extra here is my ant task in NetBeans, I also override the -post-jar target as well. target name=-pre-jar taskdef name=openjpac classname=org.apache.openjpa.ant.PCEnhancerTask classpath pathelement location=${build.classes.dir}/ pathelement

Re: [Newbie] OPenJPA (1.2.1) Enhancement woes

2009-06-18 Thread David Beer
Hi Now I remenber I had to pass a blank persistence.xml file so that the enhancer would work. See my previous post for the ant target, and below for the dummy persistence file. ?xml version=1.0? persistence xmlns=http://java.sun.com/xml/ns/persistence;