0 Replies Latest reply on Dec 11, 2003 8:21 PM by zerobao

    EJB FindAll finder Error?

    zerobao

      hi all
      I Use Jbuilder9+jboss3.2.2
      Example
      finder FindAllEmployee select object(o) from employeeeb as o
      employeeeb is table include id,name,sex....
      error:Find failed: java.lang.NumberFormatException: For input string: "boy"

      2003-12-12 09:37:05,407 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding is null in ProxyFactoryFinder
      2003-12-12 09:37:05,407 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=findAllEmployees
      2003-12-12 09:37:05,407 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is TransactionImpl:XidImpl [FormatId=257, GlobalId=china//59, BranchQual=]
      2003-12-12 09:37:05,407 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for findAllEmployees
      2003-12-12 09:37:05,407 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx TransactionImpl:XidImpl [FormatId=257, GlobalId=china//59, BranchQual=]
      2003-12-12 09:37:05,407 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.plugins.EntityInstancePool@151d6cb#0#class com.longxin.webhr.ejb.EmployeeEBBean
      2003-12-12 09:37:05,407 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.EmployeeEB#findAllEmployees] Executing SQL: SELECT DISTINCT t0_o.EMPLOYEESEX FROM EMPLOYEEEB t0_o
      2003-12-12 09:37:05,407 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.EmployeeEB#findAllEmployees] Find failed
      java.lang.NumberFormatException: For input string: "boy"