1. Changing hibernate batch size programatically stackoverflow.comIs possible to change hibernate.jdbc.batch_size programmatically? I understand hibernate.jdbc.batch_size is a application level parameter, wanted to know if i can use it specifically for certain HQL inserts and not others. I would ... |
2. Hibernate batch size confusion stackoverflow.comThis program does tens of thousands of consecutive inserts one after the other. I've never used Hibernate before. I'm getting extremely slow performance (if I just connect and execute the SQL ... |
3. hibernate.jdbc.batch_size.. coderanch.com |
4. Batch Insert without configuring hibernate.jdbc.batch_size forum.hibernate.orgI have been trying to understand the significance of the parameter hibernate.jdbc.batch_size. The following code works well even without mentioning the hibernate.jdbc.batch_size parameter in the configuration. Code: { Session session = HibernateSessionFactory.getSession(); session.beginTransaction(); for(int i=0; i<20; i++) { Address address = new Address(); ... |
5. batch-size on class forum.hibernate.orgI have the class : Code: /** @hibernate.class table="ENT" dynamic-update="true" dynamic-insert="true" batch-size="20" */ public class Ent { private String aprop; private Ent parentEnt; /** @hibernate.many-to-one not-null="false" outer-join="false" @hibernate.column name="PARENT_ID" */ public Ent getParentEnt() {return parentEnt;} public void setParentEnt(Ent parentEnt) { this.parentEnt = parentEnt; } /** @hibernate.property column="aprop" not-null="false" */ public String getAprop(){ ... |
6. How to add batch_size attribute in Reverse engineering? forum.hibernate.org |
7. batch size forum.hibernate.orgIn my application I set batch_size to 100. When I run an insert on an object with a graph of children with cascade, I saw in the log in debug mode that hibernate is doing several batchs with a size of 1 or 2. I can't group all my insert statements inside one batch. I've search in all the docs and ... |
8. Why doesn't "batch-size" work as my setting ? forum.hibernate.orgWhen I use the "batch-size" I found that it doesn't work base what I set in the mapping file. For example when I set "batch-size=10" but when it worked ,it doesn't fetch ten collection, maybe three collection or four collection .With this doubt I read the source code ,then I found there is a smallBatchSize and a batchSize ,and the fetching ... |
9. Undocumented batch-size behaviour (smallBatchSize) forum.hibernate.orgPage 1 of 1 [ 13 posts ] Previous topic | Next topic Author Message andrewom Post subject: Undocumented batch-size behaviour (smallBatchSize) Posted: Wed Mar 02, 2005 11:03 pm Newbie Joined: Wed Mar 02, 2005 10:02 pm Posts: 13 Location: Adelaide, Australia Hi, I'm fairly new to Hibernate and am having ... |
10. Batch_size problem forum.hibernate.orgHello, I'd like to insert five object Price in my DB; I thougth if I set hibernate.jdbc.batch_size=30, hibernate will perform one request. It does 5 request. Why can I do to solve this pb ? Leto Hibernate: select seq_priceid.nextval from dual Hibernate: insert into PRICE (vatRate, price, start_date, end_date, id) values (?, ?, ?, ?, ?) Hibernate: select seq_priceid.nextval from dual ... |
11. batch-size not working for primitive-array forum.hibernate.orgI cannot get batch fetching for my primitive collection to work. The collection is a simple array of long values. There are around 5-6 entries in each collection. The collections only seem to be fetched singly - i have tried various batch sizes up to 100, with no affect. I am happy to continue access the deals collection by priming the ... |
12. batch-size and one-to-many associations forum.hibernate.org |
13. why hibernate batch size setting no work? forum.hibernate.orgHi, I want to use batch inserting in Hibernate. And I have set property "hibernate.jdbc.batch_size 20" in hibernate configure file. but when I run the following code: try { Session session = DbFactory.getImportDbFactory().openCurrentSession(); for(int i=0; i |