db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NLA Systems Ltd <...@keyworld.net>
Subject MetaData problem
Date Wed, 11 Oct 2006 13:59:15 GMT
Hello all

This is my first post to this list.

I am connecting to a Derby database in embedded mode among other databases.
I have the code below to get all the columns of a table. This code works 
fine with all my other databases but not with Derby. It seems that the 
getColumns() method is returning an empty resultset. I hope someone can 
give me a hint on why this is happening. Thanks a lot!



DatabaseMetaData dbmd=dbConn.dbConnection.getMetaData();
ResultSet rs=dbmd.getColumns(null,null,"myTable", null);

while (rs.next()) {
		.......                      				
                     }
                 }

I am using release 10.1.2.0

Regards
Noel

Mime
View raw message