----- "Traian Decebal" <[email protected]> wrote:

> Hi Nel,
> 
> You were right. The sql.propperties file had
> 
> org.nuxeo.ecm.sql.jena.databaseType=Derby
> 
> Maybe this should be changed when mvn package -Poracle runs ?

Yes, can you please create a new Jira issue for this?

> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
> java.sql.SQLException. message: Unsupported feature
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
> at
> oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:690)
> at
> oracle.jdbc.OracleDatabaseMetaData.getDatabaseMajorVersion(OracleDatabaseMetaData.java:4452)
> at
> org.nuxeo.ecm.directory.sql.SQLDirectory.buildDialect(SQLDirectory.java:300)
> ... 75 more
> 
> It seems there is an issue with the directory service.

The JDBC driver you are using does not provide an implementation for the 
getDatabaseMajorVersion() method. By googling a bit it seems to be a known 
problem of old oracle drivers. For instance have a look at the latest comment 
of this ticket:

  http://opensource.atlassian.com/projects/hibernate/browse/HHH-514

-- 
Olivier
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to