class DataSourceProxy extends AbstractDataSourceProxy implements Resource {

    @Override
    public String getResourceId() {
        if (JdbcConstants.POSTGRESQL.equals(dbType)) {
            return getPGResourceId();
        } else if (JdbcConstants.ORACLE.equals(dbType) && userName != null) {
            return getDefaultResourceId() + "/" + userName;
        } else {
            return getDefaultResourceId();
        }
    }

    public  DataSourceProxy(DataSource targetDataSource);
    public  DataSourceProxy(DataSource targetDataSource, String resourceGroupId);

}