Error(X,X): class xx.oracle.apps.fnd.emp.schema.server.XXEmpSearchEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) of class oracle.apps.fnd.framework.server.OAEntityImpl

By | March 30, 2015

As per Oracle Applications standards all tables should have WHO columns. So, OAF expects all Entity Objects to include WHO columns as attributes, following are the list of WHO column attributes which OAF expects:

  1. LastUpdateLogin
  2. LastUpdatedBy
  3. LastUpdateDate
  4. CreationDate
  5. CreatedBy

Reason

oracle.apps.fnd.framework.server.OAEntityImpl is a abstract class, and has a method declared as setLastUpdateLogin(oracle.jbo.domain.Number) in class.

Now, any class (xx.oracle.apps.fnd.emp.schema.server.XXEmpSearchEOImpl) extending OAEntityImpl class must either provide a definition to its methods (provide the implementation logic), or must itself be declared abstract.

If your entity object does not include the standard WHO attributes, simply provide a no-op implementation for the standard WHO attribute setter methods.

Solution

Either you need to add WHO Columns to your custom table and select them in EO
or
If you don’t want to add WHO Columns, then just declare the setter methods of WHO column attributes with no logic in your EOImpl as shown below:

public void setLastUpdateLogin( oracle.jbo.domain.Number n ) {}
 
public void setLastUpdatedBy( oracle.jbo.domain.Number n ) {}
 
public void setLastUpdateDate( oracle.jbo.domain.Date n ) {}
 
public void setCreationDate( oracle.jbo.domain.Date n ) {}
 
public void setCreatedBy( oracle.jbo.domain.Number n ) {}
WOW! Did you like this post? We'll send more interesting posts like Error(X,X): class xx.oracle.apps.fnd.emp.schema.server.XXEmpSearchEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) of class oracle.apps.fnd.framework.server.OAEntityImpl to you!
Enter your Email Address: