Weißböck Maximilian wrote:
>
> We have a massive show-stopping problem using JOnAS 1.6.1
>
> In a Session Bean we have a method 'updateData()'
> (with attribute TX_REQUIRED) that calls methods from a
> CMP (with attribute TX_SUPPORTS).
>
> In a CMP method 'updateBuchungszeile()' we change a
> field 'buchungszeile' from eg. '333' to '555'.
>
> Still inside the SB method 'updateData()' we call the
> CMP finder method 'findByBuchungszeile()' with the value 555
> but we get a ObjectNotFoundException!!! Why???
>
> Even more misterious, if we do, imediatly after (or before)
> the 'findByBuchungszeile()' a 'findByPriamrayKey()' of the
> record where we changed 'buchungszeile' and print out
> the data, we see the expected value '555'.
>
> Why can't the 'findByBuchungszeile()' not see this value '555'???
>
> If whe change the TX attributes to TX_NOT_SUPPORTED the
> 'findByBuchungszeile()' works ok and finds the modified record,
> but we can not use this the solution, as we can not do a rollback
> if the 'updateData()' finds any error.
>
> We use Database Oracle 7.3 or SQLAnywhere 6.0, the problem
> is the same with both databases.
>
> PLEASE HELP, AS THIS IS A REAL SHOW-STOPPER FOR US!
>
> Thanks for any responce, Max
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
This problem should be fixed now (in jonas 2.0).
Is it possible for you to use JOnAS 2.0 instead of JOnAS 1.6.1 ?
I know that you will have to change your deployment descriptor, now in
XML format!
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED] http://www-frec.bull.com
-> Download our EJBServer at http://www.bullsoft.com/ejb <-
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".