openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff <>
Subject ID class: no public string or class + string constructor?
Date Mon, 26 Mar 2007 23:35:19 GMT
getting this error:

The id type "class com.sun.portal.pom.FooId" specfied by persistent type "class com.sun.portal.pom.Foo"
does not have a public string or class + string constructor.

this error doesn't seem to correspond to any of the requirements of an ID class as defined
in the spec.

my first guess is that it wants me to add an constructor that takes the result of toString()
and constructs the ID class based on that, but adding a constructor that takes a string arg
didn't change the error. i don't understand what it would want for the "class + string" constructor,
so i was not sure what to try there.

can someone help interpret this error?

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message