Hi, 

As I wrote in topic, I need to set batch size in my simple application, that 
gets all rows from one, unrelated table from a database.

Here's my entity bean:

  | @Entity
  | @Table(name="EJBTEST")
  | public class EJBTestEntity implements Serializable {
  | 
  |     @Id
  |     @GeneratedValue(strategy = GenerationType.AUTO)
  |     private int id;
  |     
  |     private String imie;
  |     
  |     private String nazwisko;
  |     
  |     private int rocznik;
  | 
  | ...
  | 
  | }    
  | 

As I trace session in database, I get that it is fetching the data in 
15-element packs. The same information the JBoss gives me "JDBC batch size: 15".

Is there any method to change this size programmatically?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959125#3959125

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959125
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to