wow. Thanks a lot. It worked great with the trunk. Is there an example on how to do a query on the string value ? If I have a regular object I can simply do: object.field = 'supervalue'
but with that Collection<String> I don't really know what could work. Thank you for your help again ! Niko, On 11/15/07, Tedman Leung <[EMAIL PROTECTED]> wrote: > okay with the latest nightly build it works but, > > how do you specify the column name you want to use? > > @Column(name = "myColumn") > > no longer works, it complains about > > Caused by: <openjpa-1.1.0-SNAPSHOT-r420667:594234 fatal user error> > org.apache.openjpa.persistence.ArgumentException: You have supplied columns > for > "com.XXXX.dao.Item.itemCategoryIds", but this mapping cannot > have columns in this context. > > > > > > You should use the OpenJPA @PersistentCollection annotation. > > > > > > Note that this only works in the trunk (1.1.0-SNAPSHOT) builds, as of > > > maybe 3 or 4 weeks ago. > > > > > > -Patrick > > -- > Ted Leung > [EMAIL PROTECTED] > > You know things are getting a little fishy when you're commenting out > comments. >
