-->
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.  [ 10 posts ] 
Author Message
 Post subject: How to export/import data using hibernate tools?
PostPosted: Thu Sep 07, 2006 4:21 am 
Newbie

Joined: Mon Sep 04, 2006 9:57 am
Posts: 10
Is is possible to import / export data using hibernate tools?


Top
 Profile  
 
 Post subject: Re: How to export/import data using hibernate tools?
PostPosted: Thu Sep 07, 2006 4:48 am 
Beginner
Beginner

Joined: Thu Nov 25, 2004 7:07 am
Posts: 43
Location: Germany
BoBaH32 wrote:
Is is possible to import / export data using hibernate tools?


I think this is not the business of Hibernate tools. If you use Oracle you have export/import tools delivered with your db. Or you can use TOAD or any other DB tool to create import/export data.

_________________
You'll never get a second chance to make a first impression!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 07, 2006 4:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
it is possible (we have all the technical parts for it) but not implemented.

what kind of import/export where you thinking about ?


note: <hql> allows you to run arbitrary queries and get it dumped to disc.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 07, 2006 4:29 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
btw. i also agree that it is/should not be a primary goal for the tooling....but some type of export at least would inteersting.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 08, 2006 9:45 am 
Newbie

Joined: Mon Sep 04, 2006 9:57 am
Posts: 10
max wrote:
it is possible (we have all the technical parts for it) but not implemented.

what kind of import/export where you thinking about ?


I have to imort all tables data from PostgreSql and export it to MaxDB


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 09, 2006 4:10 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
ok then I would something more low level like the raw import/export features of the db's (if they have that) and/or some jdbc db-copy utils.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 11, 2006 2:56 am 
Newbie

Joined: Mon Sep 04, 2006 9:57 am
Posts: 10
max wrote:
ok then I would something more low level like the raw import/export features of the db's (if they have that) and/or some jdbc db-copy utils.

Can you advice me something?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 11, 2006 3:37 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
just google for it.... i don't have any preferences except i normally look into the docs of the related dbs to find their optimized import/export functionallity and try and pair them up.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: One good tool I know
PostPosted: Mon Sep 11, 2006 4:26 am 
Beginner
Beginner

Joined: Mon Nov 22, 2004 11:21 am
Posts: 42
Have a look at Aqua Data Studio. They have a free personal/educational use licence and support many different databases. I was able to extract an Oracle-Database and create it as Firebird-Database (including structure!) with very low effort: http://www.aquafold.com/licensing.html

Please note: this is only a pointer. I'm not involved with the company Aquafold in any kind. There may be other and better tools in the web.

_________________
Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 13, 2006 7:58 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
dbUnit can be applied to do this sort of thing as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 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.