*/
public List<ObjectTreeNode> createChildren(ISession session, ObjectTreeNode parentNode)
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 = null;
ResultSet rs = null;
try
{
pstmt = conn.prepareStatement(SQL);
rs = pstmt.executeQuery();
while (rs.next())
{
// There is a reason that we don't want to use DatabaseObjectType.SESSION here. The "session"
// nodes that this expander is creating should not be confused with the SQuirreL session. These