-->
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.  [ 1 post ] 
Author Message
 Post subject: Dialect.getSequenceNextValString()/use default schema issue
PostPosted: Tue Oct 23, 2012 10:13 am 
Newbie

Joined: Tue Jun 07, 2005 3:38 am
Posts: 3
Location: Timisoara Romania
Hello,

I have a DB with multiple schemas, each having its own sequence (same name in every schema) and I'm getting the sql to select the next value with Dialect.getSequenceNextValString(). My configuration does specify a certain schema name to be used by default, with the property "hibernate.default_schema", but this is ignored by the actual dialect implementation when creating the sequence value selection sql.

Of course, I can lookup my self the default schema name configured, and append it to the sequence name I pass in to the Dialect, I'm just wondering if this is just the way to do it, or there is another way? or, sometime in the near future, the dialects will take into consideration the default schema configured as well?

I'm using hibernate 3.6.8.

thx in advance.


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

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.