I came across situation where ADF BC Entity Object History colum will not work using hisotory column ,if we do create operation programmaticaly. So i overided preparefordml method in EOImpl.java file for update operation and create method for create operation as below to achieve the same behaviour as History Column , but programmticaly.
First we need to create a method that will return login id of person , so
we can use it during createuser and updateuser operation.
This method will be called when create method of row is called.
ie: ViewObject vo= this.findViewObject("viewVO");
viewVO row = vo.createRow(); -- this will call create() method belo.
I overrided this method for update operation.