Jump to content
We've recently updated our Privacy Statement, available here ×

Data adapter: How to change from BigDecimal to Double?


Marcus W

Recommended Posts

hi

when I read database fields within the Dataset_and_Query_Dialog the numeric fields have got the BigDecimal data type. But I want them to be Double. Where can I change that? I use the ojdbc8-12 driver for Oracle 11/12. I use Jasperstudio 6.0 and Eclipse Luna.

greetz
Marcus

see also: https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v611/working-database-jdbc-connections

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Of course I know this possibility. But that's not the right answer to my question. :-)

I want the "Read fields" button (Dataset and Query Dialog) to produce the data type "Double". Now it produces "BigDecimal". There must be a conversion table somewhere. Or is it hard-coded in the Oracle driver?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...