Hi Shivaken, There is no way to do this with QueryByCriteria queries. You could use QueryBySQL to use use your own handcoded SQL.
an additional option would be to implement your own SqlGenerator Implementation that use your special SQL code. But this will be more work. cheers, thomas > -----Original Message----- > From: shivaken [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 12, 2003 3:53 AM > To: [EMAIL PROTECTED] > Subject: How to use special option to insert new record. > > > Hi all, > > I want to use special option to insert new record like > mysql's IGNORE, and > DELAYED with OJB. > > ex. INSERT IGNORE INTO TABLE_A values..... > to ignore "duplicate entry error". > INSERT DELAYED INTO TABLE_B values..... > to insert many record faster. > > Is it possible to use them with OJB - PersistenceBroker.store()? > > I use ojb to handle over 1,000,000 records. > So, it is very important to use these keywords. > > -- shivaken > antshell: Ant command line front end > http://www.antshell.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
