db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Stewart <andy.stew...@erudine.com>
Subject Exception getting columns from table
Date Fri, 11 May 2007 10:01:35 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Arial">Hi can anyone help?<br>
<br>
We were using derby 10.1 but have since upgraded to 10.2. Any databases
created against version 10.1 work fine in our app against version 10.2.
of derby. However when we try and connect to a database that has been
created in 10.2 we get the following exception. Does anyone know why
this is and what the solution is?<br>
<br>
Cheers,<br>
Andy<br>
<br>
Caused by: java.sql.SQLException: Container was opened in read-only
mode.<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.&lt;init&gt;(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedPreparedStatement20.&lt;init&gt;(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedPreparedStatement30.&lt;init&gt;(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedConnection.prepareMetaDataStatement(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.prepareSPS(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQueryUsingSystemTables(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQuery(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getPreparedQuery(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.doGetCols(Unknown
Source)<br>
&nbsp;&nbsp; &nbsp;at
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getColumns(Unknown
Source)</font></font>
</body>
</html>


Mime
View raw message