Re: ID class: no public string or class + string constructor?

2007-03-26 Thread Craig L Russell
Hi Jeff, It would be useful if you could include a code fragment and the @Id annotation for your class to diagnose this. Thanks, Craig On Mar 26, 2007, at 4:35 PM, jeff wrote: getting this error: The id type class com.sun.portal.pom.FooId specfied by persistent type class

RE: ID class: no public string or class + string constructor?

2007-03-26 Thread Patrick Linskey
Sounds like an over-cautious validation message originating in OpenJPA's heritage -- the JDO spec (which Kodo implements on top of OpenJPA) places those requirements on the object IDs. If you could post the full stack trace and the relevant snippets from your domain model, it'd help the debugging