Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-18




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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.