IBM InfoSphere Master Data Management, Version 11.3The pureQuery® component is an IBM® data access layer implementation that is used by InfoSphere® MDM.
The pureQuery data access layer changes the way EObjs are added, updated and retrieved from the database. This changes the component level code for add, update and get. It also changes anywhere that the object is returned in the BObjQuery framework.
The EObj code is changed to include annotations which map the fields to columns in a database table.
@Table(name="XCONTACT")
public class EObjXContactextends EObjCommon{
@Id
@Column(name="CONTIDPK")
public LongContIdPK;
@Column(name="RISKSCORE")
public StringRisk_Score;
public void setPrimaryKey(ObjectaUniqueId){
//set primary key field here
this.setContIdPK((Long)aUniqueId);
}
public Object getPrimaryKey(){
//return Primary Key in string format
return this.getContIdPK();
}
protectedvoidbeforeAddEx(){
if(getStartDt()==null){
setStartDt(getCurrentTimestamp());
}
}