Wednesday, 5 December 2012

JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:

In Controller

java.sql.Date ashipdate;

//In PFR
 String ActualShipDate = pageContext.getParameter("ActualShippedDate");
  OADBTransaction txn = am.getOADBTransaction();
    if(ActualShipDate!=null)
         {
           java.sql.Date javaSqlDate = txn.getOANLSServices().stringToDate(ActualShipDate);
           ashipdate = javaSqlDate;
         }

No comments: