-->
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: Blob problem
PostPosted: Mon Oct 30, 2006 6:53 pm 
Newbie

Joined: Wed May 17, 2006 1:44 pm
Posts: 6
Hi,
When i use HQl I am getting an error message stating that

Quote:
ORA-00932: inconsistent datatypes: expected - got BLOB


I looked into the URL and modified code Still I am getting the same error..

http://hansonchar.blogspot.com/2005/06/oracle-blob-mapped-to-byte-in.html

I am getting this errors when I use HQL.. Example query is

Code:
select disticnt a from A a left join fetch a.bs where a.id = ?


A and B are Entitys.. B contains Blob...


Does any body have any idea how to resolve the blob issue.

thanks
kASI[/url][/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 31, 2006 4:09 am 
Regular
Regular

Joined: Mon May 08, 2006 6:00 am
Posts: 53
Location: India
Could you post the mapping file content also ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 01, 2006 5:18 pm 
Newbie

Joined: Wed May 17, 2006 1:44 pm
Posts: 6
Hi,
its working now.. the problem is "I cant use Distinct or unique with BLOB coz oracle can not compare blobs."

Thanks for the Help
Kasi


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.