,Huang
- Original Message -
From: Rick Curtis curti...@gmail.com
To: users@openjpa.apache.org
Sent: Saturday, November 06, 2010 2:43 AM
Subject: Re: Can't obtain Primary Key value by JPQL
Can you point me to how you were enhancing your Entities... I'd like to
get
to the bottom
It's my pleasure.
Thanks
Alex,Huang
- Original Message -
From: Rick Curtis curti...@gmail.com
To: users@openjpa.apache.org
Sent: Monday, November 08, 2010 10:17 PM
Subject: Re: Can't obtain Primary Key value by JPQL
Hopefully I'll find some time this afternoon to get that setup
pleasure.
Thanks
Alex,Huang
- Original Message -
From: Rick Curtis curti...@gmail.com
To: users@openjpa.apache.org
Sent: Monday, November 08, 2010 10:17 PM
Subject: Re: Can't obtain Primary Key value by JPQL
Hopefully I'll find some time this afternoon to get that setup
the
tool for enhancement.
Best regards,
Alex,Huang
- Original Message -
From: Rick Curtis curti...@gmail.com
To: users@openjpa.apache.org
Sent: Saturday, November 06, 2010 2:43 AM
Subject: Re: Can't obtain Primary Key value by JPQL
Can you point me to how you were enhancing your
, November 04, 2010 5:29 AM
Subject: Re: Can't obtain Primary Key value by JPQL
That looks about identical to the test case that I came up with.
Any advice?
I'm running low on ideas here... How did you get the data into your
DB?
What happens if you call em.find(TUser.class
Hi everybody,
I am using openJPA2.0.1 + Mysql5.1.
Table definition like below,
===DML START===
CREATE TABLE t_user (
uid int(10) unsigned NOT NULL AUTO_INCREMENT,
name varchar(255) DEFAULT NULL,
age int(11) NOT NULL,
PRIMARY KEY (uid)
) ENGINE=InnoDB
Can you post the SQL trace from when you execute your query?
Thanks,
Rick
On Wed, Nov 3, 2010 at 3:51 AM, Alex, Huang primemo...@gmail.com wrote:
Hi everybody,
I am using openJPA2.0.1 + Mysql5.1.
Table definition like below,
===DML START===
CREATE TABLE
obtain Primary Key value by JPQL
Honesty, I don't have a clue why this isn't working for you. I have
unsuccessfully tried to recreate this problem on both 2.0.x and trunk.
Is it possible that you could write a small unit test to recreate the
problem?
Thanks,
Rick
to be different; were
the same instance.
Any advice?
Alex,Huang
- Original Message -
From: Rick Curtis curti...@gmail.com
To: users@openjpa.apache.org
Sent: Thursday, November 04, 2010 2:30 AM
Subject: Re: Can't obtain Primary Key value by JPQL
Honesty, I don't have a clue why