I'm trying to update a lot of communities and collections that were set up prior to our HANDLE being assigned. So according to the "cookbook" I'm doing:
update-handle-prefix 123456789 10420 (10420 being the new HANDLE number)
After seeing how many items are being updated and selecting "yes," the all-too-familiar-by-now string of Java errors:
Have you taken a backup, and are you ready to continue? [y/n]: y
Updating handle table... 214 items updated
Updating metadatavalues table... Exception in thread "main" java.sql.SQLException: ORA-00911: invalid character
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:219)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:970)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3370)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3454)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:354)
at org.dspace.handle.UpdateHandlePrefix.main(UpdateHandlePrefix.java:97)
Is this YAOI (yet another Oracle incompatibility)? I'm tempted to go into the database and manually write some SQL commands to update the tables. Is that even an option? After the metadatavalues table is updated, what else has to be done?
_____________________________________
Tom McGee
Senior Digital Media Specialist
Seton Hall University
400 South Orange Ave., South Orange, NJ 07079
973.275.2992