[ 
http://jira.xwiki.org/jira/browse/XWIKI-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vincent Massol closed XWIKI-2009.
---------------------------------

    Fix Version/s: 1.3 M1
       Resolution: Fixed

Fixed by upgrading to Hibernate 3.2.5ga.

Since this is a potentially breaking change it's has been committed for Core 
1.3 only and not in the 1.2 branch.

Thus 1.2 users should manually remove the current hibernate-3.1.3.jar file and 
replace it with this one: 
http://repo1.maven.org/maven2/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar

Re the other issue Marek had regarding the insert NULL, I don't know what the 
problem is and I cannot reproduce it. I suggest to open a new issue if it 
happens again.

> Error occurs during Oracle database initialization
> --------------------------------------------------
>
>                 Key: XWIKI-2009
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2009
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Storage
>    Affects Versions: 1.2 RC3
>         Environment: Xwiki: xwiki-enterprise-web-1.2-rc-3.war
> DB: Oracle Express 10g
> JDBC driver: Oracle JDBC Driver version - "10.2.0.1.0XE"
> OS: Windows XP
>            Reporter: marek knaze
>         Assigned To: Vincent Massol
>            Priority: Critical
>             Fix For: 1.3 M1
>
>         Attachments: xwiki.log
>
>
> Oracle error occurs during first time initialization. 
> Failed updating schema while executing query "create sequence 
> xwiki.hibernate_sequence" 
> java.sql.SQLException: ORA-00955: name is already used by an existing object
>       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:743)
>       at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
>       at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
>       at 
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
>       at 
> oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1615)
>       at 
> oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1580)
>       at 
> org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
>       at 
> org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
>       at 
> com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:410)
> please, see attached log file for more details.
> Steps to reproduce:
> 1)create brand new db schema (xwiki)
> 2)copy xwiki-enterprise-web-1.2-rc-3.war into tomcat container
> 3)edit hibernate.cfg.xml (uncomment Oracle DB connection)
> 4)go to http://localhost:8080/xwiki web page
> 5) see xwiki.log file for more error details

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to