-->
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: how to persist an image to MSSql using hibernate.urgent!!!
PostPosted: Mon May 02, 2005 8:11 am 
Beginner
Beginner

Joined: Thu Feb 24, 2005 8:27 am
Posts: 21
i want to store images in database.when i select the data type of column to be image and generate its hibernate mapping using hibernate date types the .hbm.xml file shows its type as serializable and when i generate the mapping using java data types it shows its type as string.i tried to persist with both the types but i always get classcastexception.please help me out


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.