[jboss-user] [JBoss jBPM] - Re: BPEL Installation Question
jgreiner
do-not-reply at jboss.com
Mon Feb 12 12:16:54 EST 2007
Sweet seems like I am getting closer.
Well it ran for a while then failed with another exception. This is the same error I get when I run the ant create-schema from the examples directory.
| Feb 12, 2007 11:09:44 AM org.hibernate.tool.hbm2ddl.SchemaExport main
| SEVERE: Error creating schema
| org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
| 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:255)
| at org.hibernate.mapping.Column.getSqlType(Column.java:182)
| at org.hibernate.mapping.Table.sqlCreateString(Table.java:383)
| at org.hibernate.cfg.Configuration.generateSchemaCreationScript(Configuration.java:779)
| at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:94)
| at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:61)
| at org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:394)
| org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
| 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:255)
| at org.hibernate.mapping.Column.getSqlType(Column.java:182)
| at org.hibernate.mapping.Table.sqlCreateString(Table.java:383)
| at org.hibernate.cfg.Configuration.generateSchemaCreationScript(Configuration.java:779)
| at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:94)
| at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:61)
| at org.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:394)
|
|
Here is my hibernate.cfg.xml (at least the part that is important)
| <!-- SQL dialect -->
| <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
|
| <!-- JDBC connection properties (begin) ===
| <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
| <property name="hibernate.connection.url">jdbc:oracle:thin:@db01:1521:ods</property>
| <property name="hibernate.connection.username">jbpm</property>
| <property name="hibernate.connection.password">password</property>
| <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
| ==== JDBC connection properties (end) -->
|
| <!-- DataSource properties (begin) -->
| <property name="hibernate.connection.datasource">java:/JbpmBpelDS</property>
| <property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
| <!-- DataSource properties (end) -->
|
Thanks for all the help by the way.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015209#4015209
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015209
More information about the jboss-user
mailing list