Hibernate version: 3.2.5.ga
Name and version of the database you are using: Oracle8i (8.1.7)
Hi all, just downloaded the latest build (upgrading from 3.1.3) and have found a bit of a problem with the dialects for oracle, particularly 8i.
I have been using the OracleDialect which has always worked fine however the new version started giving me warnings as it is deprecated. The deprecation message reads "Use Oracle8iDialect instead" so I changed my dialect to this.
Now when I start up hibernate I get the following exception:
Code:
org.hibernate.MappingException: No Dialect mapping for JDBC type: 91
at org.hibernate.dialect.TypeNames.get(TypeNames.java:56)
at org.hibernate.dialect.TypeNames.get(TypeNames.java:81)
at org.hibernate.dialect.Dialect.getTypeName(Dialect.java:291)
at org.hibernate.mapping.Column.getSqlType(Column.java:182)
at org.hibernate.mapping.Table.sqlTemporaryTableCreateString(Table.java:347)
at org.hibernate.mapping.PersistentClass.prepareTemporaryTables(PersistentClass.java:742)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:210)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
I think JDBC type 91 is date.
Any suggestions? I've got tons of persistent objects so i don't want to post all of my hbm.xml's.