EJB2.0 CMR don't work :-((

2001-10-18 Thread Stefan Marx

Hi,

I've tried a simple EJB2.0 Realationship with Orion 1.5.3 and it failed. For
me it seems that the orion server simply ignores my Relationship (no
additional fields or table is generated :-(((

Here's the snippet from my ejb-jar.xml

relationships
!-- This file is included by the process management Relationship
addon --
!--
ONE-TO-MANY: Order LineItem
--
ejb-relation
ejb-relation-nameTestRel1/ejb-relation-name
ejb-relationship-role

ejb-relationship-role-nameTestB-has-TestAs/ejb-relationship-role-name
multiplicityOne/multiplicity
role-source
ejb-nameTestB/ejb-name
/role-source
cmr-field
cmr-field-nameAs/cmr-field-name
cmr-field-typejava.util.Collection/cmr-field-type
/cmr-field
/ejb-relationship-role
ejb-relationship-role

ejb-relationship-role-nameTestA-has-TestB/ejb-relationship-role-name
multiplicityMany/multiplicity
cascade-delete/
role-source
ejb-nameTestB/ejb-name
/role-source
cmr-field
cmr-field-nameB/cmr-field-name
/cmr-field
/ejb-relationship-role
/ejb-relation
/relationships

I know that there are some problems with bidirectional relationships in the
past and I have read some complains about fine grained Bugs that give me the
strong feeling that CMRs should work.

Anyone out there who has managed to build Related EJBs ?

BTW: The Bean itself works fine (CMP with Oracle 8.x) but if I add the
snippet above to my ejb-jar.xml it is ignored by Orion :-((

By Stefan





Orion and EJB2.0 (EJB QL)

2001-10-17 Thread Stefan Marx


Hi,

currently I have to decide wich way to go with a new EJB Project.

We need some App-Server independance so we have to decide if we should use
CMP with the EJB2.0 Relationships and QL or BMP with our own SQL-Statements.

Is there any information available when Orion will support EJB2.0 and EJB QL
(Query language)? I can also use a Beta Release for the next 3 Months so I'm
not sticked on official Releases.

Regards Stefan





Features of CMP

2001-06-22 Thread Stefan Marx

Hi,

Is there any List available which features ar implemented in Orion 1.5.2.

I have some special interest in the implementation of the EJB QL (Chapter 11
in the EJB2.0 Spec).

Thanks Stefan