[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2687) org.hibernate.MappingException: No Dialect mapping for JDBC type: 1111
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Tue Jun 26 10:22:52 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27321 ]
Max Rydahl Andersen commented on HHH-2687:
------------------------------------------
moved since this issue is actually in hibernate coreøs schemaupdate code )Table.sqlAlterStrings should handle the exception and throw a more contextual exception)
> org.hibernate.MappingException: No Dialect mapping for JDBC type: 1111
> ----------------------------------------------------------------------
>
> Key: HHH-2687
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2687
> Project: Hibernate3
> Issue Type: Improvement
> Components: core
> Environment: JBoss 4.2.0GA, MySQL
> Reporter: Nicholas Albion
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list