-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Java Persistance - Performance related
PostPosted: Thu Dec 14, 2006 9:12 am 
Newbie

Joined: Wed Nov 08, 2006 9:42 am
Posts: 5
Hi Every One,

Actually I want guidelines in java persistance with Hibernate. I want to insert the set of records having more than 1000 of records. I wants to optimise the ie., minimum time to insert record into database(mysql).
If any modification should be done in persistance.xml.
If any know tell me the procedure.


Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Problems with Session and transaction handling?

Read this: http://hibernate.org/42.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 15, 2006 4:16 am 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
I guess you could have a look here : http://www.hibernate.org/15.html
and maybe here too : http://www.hibernate.org/hib_docs/refer ... mance.html

and the batch-inserts : http://www.hibernate.org/hib_docs/v3/re ... ch-inserts

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.