manoj.p Posted August 19, 2015 Share Posted August 19, 2015 Hi,Iam generating a simple report in jasper studio and im using mysql database.I have a date field in mysql it is in Current_Timestamp.But during ETL process some fields are filled with (0000-00-00 00:00:00) when i run the report it will give "Unable to get value for field 'date' of class 'java.sql.Timestamp" error.Can anyone help me please??Thanks in advance. Link to comment Share on other sites More sharing options...
hozawa Posted August 19, 2015 Share Posted August 19, 2015 Fix your database table to default date to the current date/time. 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