23 April 2014

Insert queries direct from AM (AppModule) - ADF

I am using this because my App Module couldn't do the getDBTransaction().commit();
that's weird... all previous steps was running fine. but it stops on the commit line.

the case was like this...
(if somebody read this and know the cure.. please enlighten me)

I was doing Master-Detail transaction.
but this time i use another view object with transient fields as a table reference.

when doing the master part, was fine. but when i want to commit the detail part. i couldn't do it.



This is the reason that i take a work around and using direct query from App Module.
Thanks to http://jneelmani.blogspot.com/2009/11/adf-insert-using-storeprocedure.html for providing a way clearly. This way, solved the problem.


phew...

No comments:

Post a Comment

Twiit.. Twiit... Gulp