-->
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: Configuration.getTableMappings() private ??????
PostPosted: Tue Apr 27, 2004 5:04 am 
Newbie

Joined: Tue Apr 27, 2004 4:54 am
Posts: 10
Hi,

I'd like to write my own generateSchemaUpdateScript() method or expand the functionality of Configuration class in order to find out if the Mapping has changed and trace changing that must be done in Db schema.

I found that method getTableMappings() is private.

This method is exact what i need (i think), but it's private. I can not extend the configuration class or use it some how from other class. :(

Are there another way to get all tables, that are configured by mapping???


regards and thanks
Dmitri


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 27, 2004 5:38 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
This is exactly what SchemaUpdate does, why don't you use it?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 27, 2004 5:43 am 
Newbie

Joined: Tue Apr 27, 2004 4:54 am
Posts: 10
it does'nt do all what i need.

Something can not be done by simple "alter table .." script. I'd like the schemaupdate gives me hints what exactly was changed in schema. And i could then write my own DDL scripts to update schema and migrate data (that is more important for me).


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.