throws SQLException
{
final List<ObjectTreeNode> childNodes = new ArrayList<ObjectTreeNode>();
final ISQLConnection conn = session.getSQLConnection();
final SQLDatabaseMetaData md = session.getSQLConnection().getSQLMetaData();
final IDatabaseObjectInfo parentDbinfo = parentNode.getDatabaseObjectInfo();
final String schemaName = parentDbinfo.getSchemaName();
PreparedStatement pstmt = conn.prepareStatement(SQL);
try
{
ResultSet rs = pstmt.executeQuery();
while (rs.next())
{
IDatabaseObjectInfo doi = new DatabaseObjectInfo(null, schemaName,
rs.getString(1), DatabaseObjectType.USER, md);
childNodes.add(new ObjectTreeNode(session, doi));
}
}
finally