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

bounty_hunter
1112
accept rate: 0%

closed 09 Feb '16, 08:13

Mark%20Culp's gravatar image

Mark Culp
23.2k9132272

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
23.2k9132272
accept rate: 40%

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×2

question asked: 09 Feb '16, 07:45

question was seen: 263 times

last updated: 09 Feb '16, 08:14