org.hibernate.MappingException: No Dialect mapping for JDBC type: 1111
----------------------------------------------------------------------
Key: EJB-298
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-298
Project: Hibernate Entity Manager
Issue Type: Improvement
Components: EntityManager
Environment: JBoss 4.2.0GA, MySQL
Reporter: Nicholas Albion
I'm working with Spatial SQL types and I suspect this has something to do with my
problem, but I'm going to have to figure it out the hard way as Hibernate's
exception does not provide very useful feedback.
Stacktrace:
#20:26:45,448 ERROR [SchemaUpdate] could not complete schema update
#org.hibernate.MappingException: No Dialect mapping for JDBC type: 1111
# 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:290)
# at org.hibernate.mapping.Column.getSqlType(Column.java:182)
# at org.hibernate.mapping.Table.sqlAlterStrings(Table.java:289)
# at
org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration.java:966)
# at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:140)
# at
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:314)
# at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
# at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
# at
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
# at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
# at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira