Some times you may need to connect to OIM DB inside the code, below is the sample code which helps you on the same..
private Connection
getOIMConnection() {
Connection oimConnection = null;
try {
oimConnection = Platform.getOperationalDS().getConnection();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return oimConnection;
}
No comments:
Post a Comment