Jump to content
JasperReports Library 7.0 is now available ×

problems with changing database drivers


ktrinad

Recommended Posts

By: lkaap - girishkm67

problems with changing database drivers

2004-11-29 21:02

i started working on jasper reports a few weeks back. its definitely a good alternative to oracle reports.

but there is one problem i recently faced....if the database driver is changed the report fails due to datatype mismatch.

The jtds driver returns a DOUBLE value for sql BIGINT, whereas the microsoft sql driver returns a LONG value for the same.

I found a work around by impementing a ResultSet data source, and returning the appropriate type no matter what the driver

returns.

 

Does anyone have a different solution?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...