-------- Original Message --------
Subject: Some Problem about OJB
Date: Wed, 11 Jun 2003 0:39:17 +0800
From: xiaxin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>

thma,hi:
        OJB is a great project I had never seen in the world.
        but a little problem? :-)
        
        When I insert a record which maybe had already been inserted before. in
tradional way
the database will return a Exception such as "The primary Key constrain
violated ".
        
        but in ojb, if I use store method, then the record will be updated if
already in database,
then , should I first query then go to store it ??

        this way may be very inefficient.

        Then how can I get rid off this inefficient?

        Thanks a lot!
        

        xiaxin
[EMAIL PROTECTED]
          2003-06-11





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to