1 Reply Latest reply on Apr 3, 2007 9:10 AM by Rabbia Qaswar

    BatchUpdate Property in JBoss 4.0.4

    Rabbia Qaswar Newbie

      Hello

      I am using jboss-4.0.4.GA. Can you please tell me how to set the batch update property when using Oracle9 and Hibernate?

      For example I have a Customer entity and similar table in database. Everytime i persist Customer in the databse, it works fine but when i try to add more than four or five Customer in a loop i get a BatchUpdateException.

      I am sure it has to do with the BatchUpdateProperty but where can i find this property so that i can set it to true.

      Thanks