geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <>
Subject Re: Geronimo 2.0/openejb/postgresql
Date Wed, 16 Jan 2008 08:37:13 GMT
On Jan 16, 2008 9:17 AM, the666pack <> wrote:

> so the problem was, that in my application (which was first deployed on
> jboss) i have a 1:n relation between Directors and Movies. this relation i
> was modelling by an @ManyToOne annotation in Movie and a @OneToMany relation
> in Director (i don't really know why). this was accepted by jboss but in
> geronimo i got some error and when i finally pinpointed the error to the
> annotation i simply commented out the annotation... leaving the
> Collection<Movie> as attribute in the Director.

Ah, that makes sense. I need to sharpen my skills up while dealing
with such jpa mapping errors. It should be easily reproducible in
openjpa (that's the default jpa provider in geronimo). I think the
error should be different though similar to "No @ManyToOne annotation
on the reverse side of the many-to-one relation" or alike. If I manage
to reproduce it I'll report an enhancement in openjpa jira.


Jacek Laskowski

View raw message