Hi

    I am using jonas2.1.2 and sybase on linux
    I found one problem while using container managed beans .

    I am having problem with  the following scenario

    In my entity bean one field is foreign key .
     there are 12 fields in my entity bean ,  5 are before foreign key filed and 6 
after
the FK fileld

    I have my jsp in which first i show the person the data inside the entity bean
    Then i allow him to update the fields in the sequence .

    If suppose user  put wrong value FK filed  .
    It shud give me the error for foreign key violation . and it shud ROLL back the
changes

    Right its giving me error ........,BUT

    whatever fields i have updated which are previous to the FK field they gets 
Modified
but rest are not
    Which totally WRONG.

    How shud i rollback this type of Transaction.?????????


    Thanks in advance
    Ritesh


-----------------------------------------------------------------------------
This list is cross-posted to two mail lists.  To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe dbtm-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".

Reply via email to