Hi,
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)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944539#3944539
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944539
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user