On Tue, Jan 09, 2001 at 10:11:41AM -0500, Peter Pontbriand wrote:
> Speaking of Lists, has anyone at all managed to get an Orion list-mapping -
> whether declared in a EAR-contained orion-ejb-jar.xml or in a EJB2.0-style
> ejb-jar.xml - to actually preserve the element order?

With orion-ejb-jar.xml, no. Haven't tried EJB2.0-style.

> We've resorted to using an extra field in the DO to indicate its index in
> the list, and doing the sorting programmatically in the parent EJB's List
> field accessor method. Having to drop the auto-created table and use our own
> DDL is somewhat less onerous a work-around, but it really shouldn't be
> necessary IMO.

Using an extra field here too.

> Is there some secret incantation we're not aware of (one of many I'm sure)
> or is Orion's list-mapping really just a buggy collection-mapping by another
> name?

Collection-mapping by another name. Makes one wonder why they ever put
the list-mapping element in the orion-ejb-jar.xml dtd at all. (I have asked,
without any answer).

Regards, Markus.

-- 

Markus Holmberg         |       Give me Unix or give me a typewriter.
[EMAIL PROTECTED]      |       http://www.freebsd.org/

Reply via email to