-->
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: Data Type of the POJO class for mapping sql LONG data type
PostPosted: Fri Sep 22, 2006 7:06 am 
Newbie

Joined: Thu Sep 21, 2006 4:54 am
Posts: 2
Location: India

I'm trying to map an SQL LONG data type with my POJO class. Currently i'm usinga a String variable which is able to store files with less size but when it comes to large files, while trying to save the entity, i get an exception that String class cannot accept large values

Hibernate version: 2.0

Mapping documents:
<property name="certRawData">
<column name="CERT_RAWDATA" sql-type="LONG" />
</property>






Name and version of the database you are using: Oracle 9i


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.