ktrinad Posted August 20, 2006 Share Posted August 20, 2006 By: lkaap - girishkm67 problems with changing database drivers 2004-11-29 21:02i 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now