Hello

Thomas Herz wrote:

> For me it looks like orion treats such a bean still as container
managed
>      and returnes a
>
>     java.lang.IllegalStateException: Only beans with user-managed
transactio
>     ns can invoke getUserTransaction()
>
>     if I try to use sessionContext.getUserTransaction().

I'm also trying to use this on Orion/1.0rc2 (Internal Build 8).  I have
found that it completely ignores the <transaction-type> tag.  I can even
change it to <transaction-type>Beany-boy</transaction-type> or
<transaction-typo>x</transaction-typo>  and there is no error in parsing
the ejb-jar.xml file.  I then get this exception when I try to
getUserTransaction().

I was trying to implement a unique identifier generator that uses a loop
with a new transaction each time if there is a collision, but it seems
not to work (see Usenet posting <[EMAIL PROTECTED]> for a
description).

--
Thomas Munro <[EMAIL PROTECTED]>  "Travelling through hyperspace
 http://www.gi-technology.com/           isn't like dusting crops, boy."

 GI Technology (Paris)


Reply via email to