hello,

I was surfing the Orion mail archive this we; I have to study this more
carefully, but isn't the "dependent object" paradigm the solution of our
problems?

thanks all,
Vincent.

> Tim Drury wrote:
> 
> I entered this as bug #185 back in November.  Nothing has
> been resolved yet.  This isn't a huge issue since the workaround
> is simple: use ejb's for everything.  this isn't as slow as it
> sounds since intra-container ejb method calls are direct and
> do not use rmi.
> 
> -tim drury
> 
> > -----Original Message-----
> > From: Vincent ALEXANDRE [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, February 16, 2001 10:56 AM
> > To: Orion-Interest
> > Subject: Dependent-to-dependent relationships
> >
> >
> > hello,
> >
> > I am experimenting this same problem as John did in November 00:
> > http://www.mail-archive.com/orion-interest@orionserver.com/msg
> > 06636.html
> > :
> >
> > > I am trying to create a dependent to dependent relationship
> > using Orion.
> > > I have noticed that Orion does not automatically create the OR
> > > mappings for these types of relationships as it does for
> > other types. I have
> > > two questions really:
> > >
> > >        1) Does orion support this type of relationship?
> > >        2) If so, how should the orion-ejb-jar.xml file be
> > configured to
> > > do this?
> > >
> > >        I have posted below the error message I receive upon
> > attempting
> > > to deploy as well as the relevant section from the
> > orion-ejb-jar.xml file that
> > > I created.
> > >
> > >        C:\app\orion>java -jar orion.jar
> > >        Auto-deploying lib\higherlending.jar (Classes where
> > updated)...
> > >        java.lang.NullPointerException
> > >                at com.evermind.server.ejb.deployment.fi.z2(JAX)
> > >                at com.evermind.server.ejb.compilation.f6.ahe(JAX)
> > >                at com.evermind.server.ejb.compilation.f6.ahe(JAX)
> > >                at com.evermind.server.ejb.compilation.f6.ahe(JAX)
> > >                at com.evermind.server.ejb.compilation.f6.ahe(JAX)
> > >                at com.evermind.server.ejb.compilation.fy.aft(JAX)
> > >                at com.evermind.server.ejb.compilation.fz.sz(JAX)
> > >                at com.evermind.server.ejb.compilation.f6.sz(JAX)
> > >                at com.evermind.server.ejb.compilation.gc.sz(JAX)
> > >                at com.evermind.server.ejb.EJBContainer.bz(JAX)
> > >                at com.evermind.server.Application.bz(JAX)
> > >                at com.evermind.server.Application.gf(JAX)
> > >                at com.evermind.server.ApplicationServer.ru(JAX)
> > >                at com.evermind.server.ApplicationServer.ap6(JAX)
> > >                at com.evermind.server.ApplicationServer.gf(JAX)
> > >                at com.evermind.server.hi.run(JAX)
> > >                at java.lang.Thread.run(Thread.java:484)
> > >                at com.evermind.util.f.run(JAX)
> > >
> > >        <entity-deployment name="Form" location="Form"
> > >        wrapper="FormHome_EntityHomeWrapper22" table="Form"
> > >        data-source="jdbc/HigherLending">
> > >                <primkey-mapping>
> > >                        <cmp-field-mapping>
> > >                                <fields>
> > >                                        <cmp-field-mapping
> > name="formId"
> > >        persistence-name="form_Id" />
> > >                                </fields>
> > >                        </cmp-field-mapping>
> > >                </primkey-mapping>
> > >                <cmp-field-mapping name="formName"
> > > persistence-name="form_Name" />
> > >                <cmp-field-mapping name="formDescription"
> > >        persistence-name="form_Description" />
> > >                <cmp-field-mapping name="formType"
> > > persistence-name="form_Type" />
> > >                <cmp-field-mapping name="formQueries">
> > >                        <collection-mapping table="form_Query">
> > >                                <primkey-mapping>
> > >                                        <cmp-field-mapping>
> > >                                                <fields>
> > >
> > > <cmp-field-mapping name="formId"
> > >        persistence-name="form_Id" />
> > >                                                </fields>
> > >                                        </cmp-field-mapping>
> > >                                </primkey-mapping>
> > >                                <value-mapping
> > >        type="com.higherlending.ejb.entity.form.FormQuery">
> > >                                        <cmp-field-mapping
> > name="value">
> > >                                                <properties>
> > >
> > > <cmp-field-mapping name="queryPosition"
> > >        persistence-name="Query_Position" />
> > >
> > > <cmp-field-mapping name="dataType"
> > >        persistence-name="Data_Type" />
> > >
> > > <cmp-field-mapping name="dependency"
> > >        persistence-name="Dependency" />
> > >
> > > <cmp-field-mapping name="expression"
> > >        persistence-name="Expression" />
> > >
> > > <cmp-field-mapping name="elements" >
> > >
> > > <collection-mapping
> > >        table="form_Query_element">
> > >
> > > <primkey-mapping>
> > >
> > >        <cmp-field-mapping>
> > >
> > >        <fields>
> > >
> > >         <cmp-field-mapping name="formId"
> > persistence-name="form_Id" />
> > >
> > >         <cmp-field-mapping name="queryPosition"
> > >        persistence-name="query_position" />
> > >
> > >        </fields>
> > >
> > >        </cmp-field-mapping>
> > >
> > > </primkey-mapping>
> > >
> > > <value-mapping
> > >        type="com.higherlending.ejb.entity.form.FormQueryElement">
> > >
> > >        <cmp-field-mapping name="value">
> > >
> > >        <properties>
> > >
> > >         <cmp-field-mapping name="element">
> > >
> > >                 <entity-ref home="Element">
> > >
> > >                         <cmp-field-mapping name="element">
> > >
> > >                                 <fields>
> > >
> > >                                         <cmp-field-mapping
> > > name="elementId"
> > >        persistence-name="element_Id" />
> > >
> > >                                 </fields>
> > >
> > >                         </cmp-field-mapping>
> > >
> > >                 </entity-ref>
> > >
> > >         </cmp-field-mapping>
> > >
> > >        </properties>
> > >
> > >        </cmp-field-mapping>
> > >
> > > </value-mapping>
> > >
> > > </collection-mapping>
> > >
> > > </cmp-field-mapping>
> > >
> > > <cmp-field-mapping name="queryText"
> > >        persistence-name="Query_Text" />
> > >                                                </properties>
> > >                                        </cmp-field-mapping>
> > >                                </value-mapping>
> > >                        </collection-mapping>
> > >                </cmp-field-mapping>
> > >        </entity-deployment>
> >
> > did somebody find/know an answer?
> >
> > thanks a million,
> > Vincent.
> >
> > --
> > Vincent ALEXANDRE
> > http://www.broadcom.ie/~vae
> >

--
Vincent ALEXANDRE
http://www.broadcom.ie/~vae

Reply via email to