asarco Posted July 26, 2006 Share Posted July 26, 2006 I have a simple query wich returns some TIMESTAMP fields. However, the returned type is oracle.sql.TIMESTAMP instead of java.sql.timestamp, so obviously Jasperreports complains with a ClassCastException. Does anybody knows how to solve this problem? Thanks,Alex. Link to comment Share on other sites More sharing options...
teodord Posted July 26, 2006 Share Posted July 26, 2006 Hi, Have you tried to declare the field as java.lang.Object and then cast it when using it in expressions? I hope this helps.Teodor 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