-->
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: Please help on default schema
PostPosted: Wed Nov 22, 2006 4:48 am 
Beginner
Beginner

Joined: Thu Jul 06, 2006 4:44 am
Posts: 31
Hello.

I have set the property default_schema and it seems to work for tables but it does not work with oracle sequences. looking at the sql output i see that the schema is not set on the sequnce query. Is there any way to solve this problem?

My mapping file:
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<class name="NHibernateTest.Transport.User,NHibernateTest" table="user">

<id name="UserId" column="ID_user" type="Int32" unsaved-value="0">
<generator class="native"><param name='sequence'>SQ_user</param></generator>

Configuration:
hibernate.default_schema = myschema


I'll appreciate any help.
Thanks

Markov


Top
 Profile  
 
 Post subject: This thread may help answer your question
PostPosted: Tue Apr 17, 2007 1:59 pm 
Newbie

Joined: Tue Apr 17, 2007 1:56 pm
Posts: 2
Location: Calgary
http://forum.hibernate.org/viewtopic.php?t=956277&start=0&postdays=0&postorder=asc&highlight=&sid=9616986d1e12239619edbda60753b29c


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.