2001 JI Open Discussion Posted August 14, 2006 Share Posted August 14, 2006 By: Mihai Gheorghiu - tanethq null field in ResultSet 2002-02-19 10:29How does JR treat nulls in ResultSets? Thank you all. By: Teodor Danciu - teodord RE: null field in ResultSet 2002-02-20 09:27 Hi, There is only one thing users should know about when working with expressions: If JasperReports encounters a NullPointerException when evaluating an expression, it ignores this exception and the entire expression will evaluate to null. Any other caught exceptions, are wrapped in a JRException and throw up the call stack. To avoid displaying the "null" text in the text fields, there is a flag called "isBlankWhenNull" in the "textField" element. Null fields in the ResultSet are not treated differently. You should consider handling null values in fields to avoid any problems. Thanks, 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