A new topic, 'Unknown Column Name', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=637.new#new

The text of the topic is shown below:

Hello,

i have a problem with liquibase and some sql-Exception:

Code:
2010-08-10 16:10:05 [DEBUG] NewPooledConnection - 
com.mchange.v2.c3p0.impl.newpooledconnect...@52080d handling a throwable.
java.sql.SQLException: Ungültiger Spaltenname[b] (unknown Column)[/b]
        at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
        at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
        at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
        at 
oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:3099)
        at 
oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:1854)
        at 
oracle.jdbc.driver.OracleResultSet.getBoolean(OracleResultSet.java:1571)
        at 
com.mchange.v2.c3p0.impl.NewProxyResultSet.getBoolean(NewProxyResultSet.java:2391)
        at 
liquibase.database.structure.SqlDatabaseSnapshot.readIndexes(SqlDatabaseSnapshot.java:446)
        at 
liquibase.database.structure.SqlDatabaseSnapshot.<init>(SqlDatabaseSnapshot.java:99)
        at 
liquibase.database.structure.OracleDatabaseSnapshot.<init>(OracleDatabaseSnapshot.java:34)
        at 
liquibase.database.OracleDatabase.createDatabaseSnapshot(OracleDatabase.java:242)
        at 
liquibase.preconditions.TableExistsPrecondition.check(TableExistsPrecondition.java:34)
        at 
liquibase.preconditions.AndPrecondition.check(AndPrecondition.java:21)
        at liquibase.ChangeSet.execute(ChangeSet.java:169)
        at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)


In the code, where the exception occurs there is a catch and try block around, 
which should realy catch that exception... but it's in the logfile anyway.

The code is in:

OracleDatabaseSnapshotGenerator.java line 258. (Liquibase 2.0 RC5)
Code:
     boolean nonUnique = true;
     try {
            nonUnique = rs.getBoolean("NON_UNIQUE");  <-- Exception comes, and 
the stacktrace is printed out...
        } catch (SQLException e) {
        //doesn't exist in all databases
     }


There is no big problem with it, because everthing works. But this Exception 
should not be displayed in any log-file!!!

Possible this isn't a liquibase-problem ?!
Any suggestions?

thanks

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to