Pure Danger Tech


navigation
home

Derby metadata bug (?)

24 Jan 2006

I’ve been working with the embedded Java database, Derby lately, but I’m having a problem reading the DatabaseMetaData from a read-only database in a zip file with Derby in embedded mode. I ran an importer against it which basically just harvests info from DatabaseMetaData and got an error on several methods like this one. The method in question here is DatabaseMetaData.getTableTypes(). The same thing seems to happen on other methods I’ve tried as well (getCatalogs, getProcedures, etc). Seems silly that these methods don’t work in this mode. I logged this on the Derby JIRA.

Program:

`I’ve been working with the embedded Java database, Derby lately, but I’m having a problem reading the DatabaseMetaData from a read-only database in a zip file with Derby in embedded mode. I ran an importer against it which basically just harvests info from DatabaseMetaData and got an error on several methods like this one. The method in question here is DatabaseMetaData.getTableTypes(). The same thing seems to happen on other methods I’ve tried as well (getCatalogs, getProcedures, etc). Seems silly that these methods don’t work in this mode. I logged this on the Derby JIRA.

Program:

`

and I get this error:

``I’ve been working with the embedded Java database, Derby lately, but I’m having a problem reading the DatabaseMetaData from a read-only database in a zip file with Derby in embedded mode. I ran an importer against it which basically just harvests info from DatabaseMetaData and got an error on several methods like this one. The method in question here is DatabaseMetaData.getTableTypes(). The same thing seems to happen on other methods I’ve tried as well (getCatalogs, getProcedures, etc). Seems silly that these methods don’t work in this mode. I logged this on the Derby JIRA.

Program:

`I’ve been working with the embedded Java database, Derby lately, but I’m having a problem reading the DatabaseMetaData from a read-only database in a zip file with Derby in embedded mode. I ran an importer against it which basically just harvests info from DatabaseMetaData and got an error on several methods like this one. The method in question here is DatabaseMetaData.getTableTypes(). The same thing seems to happen on other methods I’ve tried as well (getCatalogs, getProcedures, etc). Seems silly that these methods don’t work in this mode. I logged this on the Derby JIRA.

Program:

`

and I get this error:

``