Why this Error Comes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why this Error Comes

dhiraj.g
Hi
Returning null because found incomplete primary key in find.


Thanks
Dhiraj Gupta
Dhiraj Gupta
Reply | Threaded
Open this post in threaded view
|

Re: Why this Error Comes

Paul Foxworthy
Hi Dhiraj,

I think that message might be coming from here: https://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/finder/PrimaryKeyFinder.java?hb=true#to153

You are probably trying to do a find for an entity that has a composite primary key, and you're not specifying a value for all the components of the primary key.

Cheers

Paul Foxworthy

dhiraj.g wrote
Hi
Returning null because found incomplete primary key in find.


Thanks
Dhiraj Gupta
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/