tom_45 Posted December 12, 2018 Share Posted December 12, 2018 Hi, I'm having a hard time working out the correct syntax for a text variable that I want to convert to a date (because I want to compare it to the current date).While I'm toying around with the expression (simpledateformat), and changing value class name from java.util.date to/from java.lang.string, and running my report again in jasperstudio, it sometimes suddenly starts to work, and then fails again with the error "Error evaluating expression for source text: new SimpleDateFormat("yy-MM-dd").parse(new Date())Now my question: is it possible that some changes take some time to be effective, so that I am seeing the effects of a cached version or something?Or is everything I change in jasper studio always active the momentI change a parameter ?Just wondering because it's driving me nuts... Link to comment Share on other sites More sharing options...
hozawa Posted December 12, 2018 Share Posted December 12, 2018 It's probably not with Jaspersoft Studio but with the jdbc driver you're using or with the network to the data source that's caching. 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