Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Query Error in J2EE

Are you using 0 as an id value?

You may need to set the persistence unit property,

"eclipselink.id-validation"="NULL"


tware wrote:
> 
> Hi Anjani,
> 
>    Please post any support requests for EclipseLink to:
> 
> eclipselink-users@xxxxxxxxxxx
> 
>    Of post them on the EclipseLink forums.
> 
> -Tom
> 
> On 13/06/2012 1:34 PM, Anjani Kansara wrote:
>>
>> Hello All,
>>
>> I need your help. I have developed one J2EE project which were running
>> fine
>> before. Before 2 days ago I have try same project with new version of
>> NetBeans
>> IDE 7.1.2 with GlassFish server 3.2.1.
>>
>> Now while selecting any records it show me below error.
>>
>> "during the execution of the query was detected to be null. Primary keys
>> must not contain null."
>>
>> I am using MySQL database.
>>
>> Can you please guide me how can I solve this error.
>>
>> After some searching on google i come to know that this is the bug in
>> eclipse
>> 2.3 which was default with Netbeans 7.1.2. I have downloaded ecliselink
>> 2.5.
>> Can you please guide me that i can i reference new eclipse in my project.
>> Or how
>> can i replace eclipse 2.3 with 2.5.
>>
>> I have post my comment at below link also.
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=321649
>>
>> Thanks for your help in advance.
>>
>> Thanks & Regards,
>> Anjani Kansara
>>
>>
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.eclipse.org/forums/index.php?t=thread&frm_id=111&S=1b00bfd151289b297688823a00683aca
EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
Blog:  http://java-persistence-performance.blogspot.com/ Java Persistence
Performance 
-- 
View this message in context: http://old.nabble.com/Re%3A-Query-Error-in-J2EE-tp34007200p34012566.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top