0 Replies Latest reply on Jun 18, 2007 9:30 PM by ch.muralimohan

    How to make JBoss convert null values to 0's while fetching

    ch.muralimohan



      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?