Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1992

Binary storage using oracle as backend throws SQLException

XMLWordPrintable

      Upon adding a node and calling save() on the JcrSession the following exception is thrown:

      org.modeshape.jcr.value.binary.BinaryStoreException: java.sql.SQLException: Invalid operation for forward-only result set: first
          at org.modeshape.jcr.value.binary.Database.asString(Database.java:622)
          at org.modeshape.jcr.value.binary.DatabaseBinaryStore.getExtractedText(DatabaseBinaryStore.java:235)
          at org.modeshape.jcr.value.binary.AbstractBinaryStore.getText(AbstractBinaryStore.java:122)
          at org.modeshape.jcr.query.lucene.basic.BasicLuceneSchema.addDynamicField(BasicLuceneSchema.java:278)
          at org.modeshape.jcr.query.lucene.basic.BasicLuceneSchema.nodeInfo(BasicLuceneSchema.java:212)
          at org.modeshape.jcr.query.lucene.basic.BasicLuceneSchema.addToIndex(BasicLuceneSchema.java:406)
          at org.modeshape.jcr.JcrRepository$RepositoryMonitorFactory$2.recordAdd(JcrRepository.java:1875)
          at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:1088)
          at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:544)
          at org.modeshape.jcr.JcrSession.save(JcrSession.java:1022)
      

              hchiorean Horia Chiorean (Inactive)
              nl_jira Niels Lippke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: