Ahh, that might explain my confusion :) Any idea when the 1.x version will be deployed tot he public repo? I'm attempting to keep my build as reproducible as possible.
If I have to I can deploy the 1.1 version to our local archiva. - Brill Pappin On Wed, Apr 2, 2008 at 2:24 AM, Patrick Linskey <[EMAIL PROTECTED]> wrote: > Hi, > > OpenJPA 1.0 doesn't have support for primitives in collections and > maps. We moved that code from Kodo to OpenJPA in the 1.1.0-SNAPSHOT > line. > > -Patrick > > > > On Tue, Apr 1, 2008 at 10:21 PM, Brill Pappin <[EMAIL PROTECTED]> wrote: > > Looks like OpenJPA 1.0 (whatever is deployed to the main maven repos). > > Not sure yet how to generate the schema :) I'm an old Hibernate user but a > > new OJPA user. > > > > What I want to know is how the annotations might be configured... Unless > > that should have worked? > > FYI the column is completely skipped during generation. > > > > - Brill Pappin > > > > > > > > -----Original Message----- > > From: Patrick Linskey [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 02, 2008 12:24 AM > > To: users@openjpa.apache.org > > Subject: Re: Direct mappings of list and map > > > > Hi, > > > > What version of OpenJPA are you using? What schema is being generated? > > > > -Patrick > > > > On Tue, Apr 1, 2008 at 7:03 PM, Brill Pappin <[EMAIL PROTECTED]> wrote: > > > I'm trying to map an entity's list and/or map directly to a table (I > > > don't want a separate entity for the entries). > > > > > > I did find the section 7.6.1. Container Table but its unclear how it > > > supposed to work, or is not working at all. > > > An example is: > > > > > > @ContainerTable > > > @ElementJoinColumn > > > private List<EnumType> enumCollection = new ArrayList<EnumType>(); > > > > > > Now what I expect is a linked table that uses all the defaults for > > > those two annotations, however openjpa is skipping the column. > > > > > > I need to do the same thing with a map. E.g Map<String, String> > > > > > > Does anyone have an example of how this is supposed to work? > > > > > > - Brill Pappin > > > > > > > > > > > > > > -- > > Patrick Linskey > > 202 669 5907 > > > > > > > > -- > > > Patrick Linskey > 202 669 5907 >