-->
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: Error mapping Sybase column type: money
PostPosted: Wed Jun 11, 2008 4:06 pm 
Newbie

Joined: Wed Jun 11, 2008 3:11 pm
Posts: 2
Hi, I am trying to map a column in Sybase with type: money

I tried to use big-decimal, but got exception with column validation:

Quote:
Wrong column type: expected: Numeric(19,2)


How do you guys map this money type? Any existing data types I can use to map it? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 11, 2008 5:10 pm 
Beginner
Beginner

Joined: Tue Dec 12, 2006 6:43 am
Posts: 32
Location: London
Have you tried with float datatype.

_________________
Alan Mehio
London
UK


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 11, 2008 5:51 pm 
Newbie

Joined: Wed Jun 11, 2008 3:11 pm
Posts: 2
Yes. I tried float, double. Those gave me the same exception.


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.