-->
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.  [ 3 posts ] 
Author Message
 Post subject: Some words on the SchemaUpdate
PostPosted: Tue Dec 28, 2004 7:13 pm 
Beginner
Beginner

Joined: Wed Jan 21, 2004 10:52 pm
Posts: 27
Location: Santa Cruz do Sul - RS - Brazil
Hi,
SchemaUpdate is a very useful feature. However...
It has times I successfully used the schemaupdate in Posgres 7.3 and the SQL Server 2000 with Microsoft's driver.
However, for my surprise, today it does not function more (I did not forget the parameter "text" available from version 2.1.2).
The problem is caused by driver:

See my tests:

Hibernate 2.1.1, Postgres 7.3, driver pg73jdbc3.jar > schemaupdate work
Hibernate 2.1.7c, Postgres 7.4, driver pg74.215.jdbc3.jar > schemaupdate does not work
Hibernate 2.1.7c, MSSQL 2000, driver microsoft > schemaupdate work
Hibernate 2.1.7c, MSSQL 2000, driver jtds 0.9 > schemaupdate does not work
Hibernate 2.1.7c, Postgres 8rc1 (on Windows), driver pg80b1.308.jdbc3.jar > schemaupdate does not work

Well, I think that Postgres users have limitations :-(

_________________
Do you still create DTO factories? Oh, no!
Try DTOptimzier now!
https://dtoptimizer.dev.java.net/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 29, 2004 3:52 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Define "not work" ?

we haven't changed anything vital i schemaupdate for ages...it just rely on a jdbc driver that can tell enough about the current database structure.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 29, 2004 9:59 am 
Beginner
Beginner

Joined: Wed Jan 21, 2004 10:52 pm
Posts: 27
Location: Santa Cruz do Sul - RS - Brazil
Exactly.
I think that the problem not is with SchemaUpdateTool, but with the JDBC driver.
I am making more tests and then, that they will be ready, I publish it.
Quote:
Define "not work" ?

I think that because metadata is not retrevied (or is incorrect) by JDBC, the SchemaUpdate is unable to create a correct ddl script. The generated script is, always, a create's ddl.

_________________
Do you still create DTO factories? Oh, no!
Try DTOptimzier now!
https://dtoptimizer.dev.java.net/


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