-->
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: How Can I Use a StringClobType in NHibernate?
PostPosted: Mon Jan 09, 2006 3:18 am 
Newbie

Joined: Wed Dec 07, 2005 9:43 pm
Posts: 4
How Can I Use a StringClobType in NHibernate?

Who Can Give me an example ?

My problem is that I don't know how to initialize the StringClobType.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 09, 2006 7:36 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
You don't use it in your program, just specify it in the mapping file for CLOB fields as <property name="MyStringProperty" type="StringClob" />. It only does anything useful on SQL Server 2000, for other databases it works the same as String.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 09, 2006 9:30 pm 
Newbie

Joined: Wed Dec 07, 2005 9:43 pm
Posts: 4
Thank you very much.

After I used Oracle 10G 's client to access Oracle 9i, everything works fine!

I think is an Oracle 9i driver's bug.


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.