Process deployment error
ajeetphadnis May 18, 2006 8:02 AMHi,
I am using jBPM 3.1, MySql 5, Hibernat 3.1. The environment runs fine and have run most of the example processes.
However, when I want to deploy the Pay Raise process I get this
Hibernat mapping exception. The typdef for StringMax is declared in a file : hibernate.queries.hbm.xml, even then I get this error.
I highly appreciate any help.
Thanks in advance
Ajeet
org.hibernate.MappingException: Could not determine type for: string_max, for columns: [org.hibernate.mapping.Column(MESSAGE_)]
at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:266)
at org.hibernate.mapping.Column.getSqlTypeCode(Column.java:137)
at org.hibernate.mapping.Column.getSqlType(Column.java:181)
at org.hibernate.mapping.Table.sqlCreateString(Table.java:349)
at org.hibernate.cfg.Configuration.generateSchemaCreationScript(Configuration.java:738)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:97)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:64)
at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSchemaExport(DbPersistenceServiceFactory.java:76)
at org.jbpm.persistence.db.DbPersistenceServiceFactory.createSchema(DbPersistenceServiceFactory.java:107)
at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:404)
at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:396)
at com.pay.pay_dbTest.setUp(pay_dbTest.java:67)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)