-->
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: Is Decode function supported in hsqldb in memory database?
PostPosted: Fri Feb 20, 2009 3:10 pm 
Newbie

Joined: Thu Jan 15, 2009 3:55 pm
Posts: 12
Code:
Is Decode function supported in hsqldb in memory database?

I was trying to run Junit test on hsqldb. While selecting the record from database using JDBC query (which contains DECODE function), is giving error.

So, is there any way to tell hibernate to use the sql functions like decode, rpad, case etc. while using hsqldb?

Please suggest?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2009 5:59 am 
Regular
Regular

Joined: Fri Jan 30, 2009 10:10 am
Posts: 74
Location: London
Decode looks like an Oracle specific function, so the in memory database that you are using in your unit tests won't be supporting it.


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.