[jboss-user] [EJB/JBoss] - How to make JBoss convert null values to 0's while fetching

ch.muralimohan@gmail.com do-not-reply at jboss.com
Mon Jun 18 21:30:45 EDT 2007



We are using JBoss and XDoclet in our project. While getting data from using entity bean, if a DB column has null value, the abstract get method is throwing NullPointerException. Instead, is there a way to tell JBoss through XDoclet tags or XML files, to convert null value to 0 while getting data from numeric columns in the database table?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055435#4055435

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055435



More information about the jboss-user mailing list