Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Hi, I have a problem on my application. We just migrated our application from SAS 12.5.4 to Sybase Adaptive Server Enterprise 16. All works well from previous version, when I just identified a weird behavior. I still don't have clue why the problem appears.

We used java in our application to connect to the database using jconn4.jar. Here's a code snippet from my application. PreparedStatement ps =null; ... more code here// ps.setDouble(12,casualty.getRiskLiabAmt());

casualty.getRiskLiabAmt() has value 1.93. But when this is persisted to Database with column type MONEY the value got truncated to 1.

I need your help guys. Thanks in advance.

asked 09 Feb '16, 07:45

bounty_hunter's gravatar image

accept rate: 0%

closed 09 Feb '16, 08:13

Mark%20Culp's gravatar image

Mark Culp

The question has been closed for the following reason "Question is off-topic or not relevant" by Mark Culp 09 Feb '16, 08:13

SAP ASE (aka Adaptive Server Enterprise) is a completely separate database product, unrelated to SQL Anywhere. Questions about ASE should be asked on the appropriate SAP Community Forums, located on SAP SCN.

permanent link

answered 09 Feb '16, 08:13

Mark%20Culp's gravatar image

Mark Culp
accept rate: 41%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 09 Feb '16, 07:45

question was seen: 1,226 times

last updated: 09 Feb '16, 08:14