delegator.create Issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

delegator.create Issue

vivek.mi
Hi All,

Facing a strange issue in my application. Wrote some customized code

GenericValue storeValidAuthData = delegator.makeValue("ValidData");
           
            try {
           
            storeValidAuthData.set("applicantName", appname);
                storeValidAuthData.set("aadharNo", uidno);
                delegator.create(storeValidAuthData);
            }
            catch (GenericEntityException e) {
            e.printStackTrace();
            }

It is not storing data in the database and neither throwing any error.

If i change create to store it gives exception.

Thanks All,

Rgards,
Vivek
Vivek Mishra