I figured out my little transaction problem. The problem was that in
the ejb-jar.xml file I had this:

...
        <assembly-descriptor>
                <container-transaction>
                        <method>
                                <ejb-name>Category</ejb-name>
                                <method-name>*</method-name>
                                <trans-attribute>Supports</trans-attributes>
                        </method>
                </container-transaction>
...

every time I called the 'ejbCreate' for that entity bean, orion
started a new transaction - not what I was looking for! The following
worked, though:

...
        <assembly-descriptor>
                <container-transaction>
                        <ejb-name>Category</ejb-name>
                        <method-name>*</method-name>
                        <trans-attribute>Supports</trans-attributes>
                </container-transaction>
...

I just removed the '<method>' tag. I'm not entirely sure how that tag
fits in - the orion documentation skips it, and it wasn't really
discussed in my EJB book. Matter of fact, I can't find documentation
for it anywhere.... anybody know where the dtd+description is?

Eric...

Reply via email to