Charles, Tom, et all,

Was discussing this in IRC just now and thought I'd ask it here too.  I'm
about to start in on adding relationship support to jruby-hibernate and ran
into the following conundrum.  Let's say I have 2 classes, Event and Log,
and Event has a many-to-one bi-directional relationship with Log.  In order
to model this from Hibernate perspective, Event needs a Log property
annotated with @ManyToOne and and Log needs a collection of Events annotated
with a @OneToMany annotation that has a targetEntity of the Event java
class.  The problem seems to be that both will need the java class of the
other, so whichever one I call become_java! on first won't work.  This seems
to be a problem, but I haven't written any code yet to verify it.  Can
anyone shed any light on whether this is going to work?

--Chris

Reply via email to