-->
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: Viele Objekte performant speichern
PostPosted: Fri Nov 21, 2008 10:48 am 
Beginner
Beginner

Joined: Fri Nov 14, 2008 7:11 am
Posts: 31
Hallo,

ich schreibe gerade an einer kleinen Anwendung, die Daten aus einer Datei ausliest und diese in eine DB speichert.
Derzeit läuft das ganze zeilenbasiert und pro Zeile werden mehrere Objekte erzeugt. Dies führt dazu, dass beispielsweise bei 10.000 Zeilen auch (mindestens) 10.000 Einzel-Insert gemacht werden (d.h. Aufruf der Dao-Methode save() und dann der HibernateTemplate-Methode save()).

Gibt es eine Möglichkeit das performanter zu gestalten?

Gruß,
Ole


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 27, 2008 8:18 am 
Beginner
Beginner

Joined: Fri Nov 14, 2008 7:11 am
Posts: 31
push


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.