org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update

错误提示:

15:18:51,976  INFO Version:37 - Hibernate Commons Annotations 3.2.0.Final

15:18:51,976  INFO Environment:603 - Hibernate 3.6.10.Final
15:18:51,976  INFO Environment:636 - hibernate.properties not found
15:18:51,976  INFO Environment:814 - Bytecode provider name : javassist
15:18:51,991  INFO Environment:695 - using JDK 1.4 java.sql.Timestamp handling
15:18:52,022  INFO Configuration:2156 - configuring from resource: jbpm.hibernate.cfg.xml
15:18:52,038  INFO Configuration:2175 - Configuration resource: jbpm.hibernate.cfg.xml
15:18:52,069  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:52,085  INFO Configuration:789 - Reading mappings from resource : jbpm.repository.hbm.xml
15:18:52,116  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:52,147  INFO Configuration:789 - Reading mappings from resource : jbpm.execution.hbm.xml
15:18:52,147  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:52,163  INFO Configuration:789 - Reading mappings from resource : jbpm.history.hbm.xml
15:18:52,163  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:52,179  INFO Configuration:789 - Reading mappings from resource : jbpm.task.hbm.xml
15:18:52,194  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:52,194  INFO Configuration:789 - Reading mappings from resource : jbpm.identity.hbm.xml
15:18:52,194  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:52,210  INFO Configuration:2297 - Configured SessionFactory: null
15:18:52,241  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.repository.DeploymentImpl -> JBPM4_DEPLOYMENT
15:18:52,272  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.repository.DeploymentProperty -> JBPM4_DEPLOYPROP
15:18:52,272  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.id.PropertyImpl -> JBPM4_PROPERTY
15:18:52,272  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.model.ExecutionImpl -> JBPM4_EXECUTION
15:18:52,304  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.type.Variable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.BlobVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.DateVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.DoubleVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateLongVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateStringVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.LongVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.NullVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.StringVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.TextVariable -> JBPM4_VARIABLE
15:18:52,304  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.lob.Lob -> JBPM4_LOB
15:18:52,304  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.job.JobImpl -> JBPM4_JOB
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.MessageImpl -> JBPM4_JOB
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteActivityMessage -> JBPM4_JOB
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteEventListenerMessage -> JBPM4_JOB
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.CommandMessage -> JBPM4_JOB
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.TimerImpl -> JBPM4_JOB
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.StartProcessTimer -> JBPM4_JOB
15:18:52,319  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl -> JBPM4_HIST_PROCINST
15:18:52,319  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl -> JBPM4_HIST_ACTINST
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryAutomaticInstanceImpl -> JBPM4_HIST_ACTINST
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryDecisionInstanceImpl -> JBPM4_HIST_ACTINST
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskInstanceImpl -> JBPM4_HIST_ACTINST
15:18:52,319  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryTaskImpl -> JBPM4_HIST_TASK
15:18:52,319  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryVariableImpl -> JBPM4_HIST_VAR
15:18:52,319  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryDetailImpl -> JBPM4_HIST_DETAIL
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryCommentImpl -> JBPM4_HIST_DETAIL
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceMigrationImpl -> JBPM4_HIST_DETAIL
15:18:52,319  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryPriorityUpdateImpl -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskAssignmentImpl -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskDuedateUpdateImpl -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryVariableUpdateImpl -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.task.TaskImpl -> JBPM4_TASK
15:18:52,335  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.task.ParticipationImpl -> JBPM4_PARTICIPATION
15:18:52,335  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.task.SwimlaneImpl -> JBPM4_SWIMLANE
15:18:52,335  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.identity.impl.UserImpl -> JBPM4_ID_USER
15:18:52,335  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.identity.impl.MembershipImpl -> JBPM4_ID_MEMBERSHIP
15:18:52,335  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.identity.impl.GroupImpl -> JBPM4_ID_GROUP
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.resources -> JBPM4_LOB
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.objectProperties -> JBPM4_DEPLOYPROP
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.variables -> JBPM4_VARIABLE
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.systemVariables -> JBPM4_VARIABLE
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.executions -> JBPM4_EXECUTION
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.swimlanes -> JBPM4_SWIMLANE
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyActivityInstances -> JBPM4_HIST_ACTINST
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyVariables -> JBPM4_HIST_VAR
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.details -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl.details -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.details -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.historyVariables -> JBPM4_HIST_VAR
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.subTasks -> JBPM4_HIST_TASK
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryVariableImpl.details -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryCommentImpl.replies -> JBPM4_HIST_DETAIL
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.participations -> JBPM4_PARTICIPATION
15:18:52,335  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.variables -> JBPM4_VARIABLE
15:18:52,351  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.subTasks -> JBPM4_TASK
15:18:52,351  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.SwimlaneImpl.participations -> JBPM4_PARTICIPATION
15:18:52,351  INFO Configuration:1676 - Hibernate Validator not found: ignoring
15:18:52,351  INFO HibernateSearchEventListenerRegister:75 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
15:18:52,366  INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!)
15:18:52,366  INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 20
15:18:52,366  INFO DriverManagerConnectionProvider:68 - autocommit mode: false
15:18:52,366  INFO DriverManagerConnectionProvider:103 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql:///jbpm20150401
15:18:52,366  INFO DriverManagerConnectionProvider:109 - connection properties: {user=root, password=****}
15:18:52,538  INFO Dialect:136 - Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
15:18:52,538  INFO JdbcSupportLoader:79 - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
15:18:52,538  INFO SettingsFactory:126 - Database ->
       name : MySQL
    version : 5.0.87-community-nt
      major : 5
      minor : 0
15:18:52,538  INFO SettingsFactory:132 - Driver ->
       name : MySQL-AB JDBC Driver
    version : mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )
      major : 5
      minor : 0
15:18:52,538  INFO TransactionFactoryFactory:62 - Using default transaction strategy (direct JDBC transactions)
15:18:52,538  INFO TransactionManagerLookupFactory:83 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
15:18:52,538  INFO SettingsFactory:179 - Automatic flush during beforeCompletion(): disabled
15:18:52,538  INFO SettingsFactory:183 - Automatic session close at end of transaction: disabled
15:18:52,538  INFO SettingsFactory:190 - JDBC batch size: 15
15:18:52,538  INFO SettingsFactory:193 - JDBC batch updates for versioned data: disabled
15:18:52,538  INFO SettingsFactory:198 - Scrollable result sets: enabled
15:18:52,538  INFO SettingsFactory:206 - JDBC3 getGeneratedKeys(): enabled
15:18:52,538  INFO SettingsFactory:214 - Connection release mode: auto
15:18:52,538  INFO SettingsFactory:238 - Maximum outer join fetch depth: 2
15:18:52,538  INFO SettingsFactory:241 - Default batch fetch size: 1
15:18:52,538  INFO SettingsFactory:245 - Generate SQL with comments: disabled
15:18:52,538  INFO SettingsFactory:249 - Order SQL updates by primary key: disabled
15:18:52,538  INFO SettingsFactory:253 - Order SQL inserts for batching: disabled
15:18:52,538  INFO SettingsFactory:431 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
15:18:52,538  INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
15:18:52,538  INFO SettingsFactory:261 - Query language substitutions: {}
15:18:52,538  INFO SettingsFactory:266 - JPA-QL strict compliance: disabled
15:18:52,538  INFO SettingsFactory:271 - Second-level cache: enabled
15:18:52,538  INFO SettingsFactory:275 - Query cache: disabled
15:18:52,538  INFO SettingsFactory:406 - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
15:18:52,538  INFO SettingsFactory:285 - Optimize cache for minimal puts: disabled
15:18:52,538  INFO SettingsFactory:294 - Structured second-level cache entries: disabled
15:18:52,554  INFO SettingsFactory:314 - Echoing all SQL to stdout
15:18:52,554  INFO SettingsFactory:323 - Statistics: disabled
15:18:52,554  INFO SettingsFactory:327 - Deleted entity synthetic identifier rollback: disabled
15:18:52,554  INFO SettingsFactory:343 - Default entity-mode: pojo
15:18:52,554  INFO SettingsFactory:347 - Named query checking : enabled
15:18:52,554  INFO SettingsFactory:351 - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
15:18:52,554  INFO SessionFactoryImpl:202 - building session factory
15:18:52,569  INFO BasicTypeRegistry:150 - Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@1c3e9ba
15:18:52,569  INFO BasicTypeRegistry:150 - Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@125d61e
15:18:52,573  INFO BasicTypeRegistry:150 - Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@10c6cfc
15:18:52,573  INFO BasicTypeRegistry:150 - Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@c72243
15:18:52,573  INFO BasicTypeRegistry:150 - Type registration [clob] overrides previous : org.hibernate.type.ClobType@19a8416
15:18:52,574  INFO BasicTypeRegistry:150 - Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@19a8416
15:18:52,574  INFO BasicTypeRegistry:150 - Type registration [blob] overrides previous : org.hibernate.type.BlobType@155d3a3
15:18:52,574  INFO BasicTypeRegistry:150 - Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@155d3a3
15:18:52,574  INFO BasicTypeRegistry:150 - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@1b994de
15:18:52,981  INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
15:18:52,981  INFO SchemaUpdate:155 - Running hbm2ddl schema update
15:18:52,981  INFO SchemaUpdate:167 - fetching database metadata
15:18:52,981  INFO SchemaUpdate:179 - updating schema
15:18:52,996  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_deployment
15:18:52,996  INFO TableMetadata:66 - columns: [dbid_, timestamp_, state_, name_]
15:18:52,996  INFO TableMetadata:68 - foreign keys: []
15:18:52,996  INFO TableMetadata:69 - indexes: [primary]
15:18:52,996  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_deployprop
15:18:52,996  INFO TableMetadata:66 - columns: [key_, objname_, dbid_, deployment_, longval_, stringval_]
15:18:52,996  INFO TableMetadata:68 - foreign keys: [fk_deplprop_depl]
15:18:52,996  INFO TableMetadata:69 - indexes: [fk_deplprop_depl, primary, idx_deplprop_depl]
15:18:53,012  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_execution
15:18:53,012  INFO TableMetadata:66 - columns: [parent_, dbid_, subprocinst_, procdefid_, hisactinst_, parent_idx_, superexec_, hasvars_, name_, class_, priority_, key_, activityname_, dbversion_, instance_, susphiststate_, id_, state_]
15:18:53,012  INFO TableMetadata:68 - foreign keys: [fk_exec_instance, fk_exec_subpi, fk_exec_superexec, fk_exec_parent]
15:18:53,012  INFO TableMetadata:69 - indexes: [fk_exec_instance, idx_exec_superexec, fk_exec_subpi, fk_exec_superexec, fk_exec_parent, primary, idx_exec_instance, id_, idx_exec_subpi, idx_exec_parent]
15:18:53,028  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_actinst
15:18:53,028  INFO TableMetadata:66 - columns: [transition_, type_, dbid_, hproci_, activity_name_, htask_, class_, nextidx_, duration_, dbversion_, start_, execution_, end_]
15:18:53,028  INFO TableMetadata:68 - foreign keys: [fk_hti_htask, fk_hacti_hproci]
15:18:53,028  INFO TableMetadata:69 - indexes: [idx_hti_htask, primary, fk_hti_htask, fk_hacti_hproci, idx_hacti_hproci]
15:18:53,028  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_detail
15:18:53,028  INFO TableMetadata:66 - columns: [new_str_, parent_, dbid_, hproci_, hvar_, userid_, hprociidx_, old_int_, time_, parent_idx_, old_time_, htask_, class_, old_str_, htaskidx_, hactiidx_, hvaridx_, new_time_, dbversion_, hacti_, new_int_, message_]
15:18:53,028  INFO TableMetadata:68 - foreign keys: [fk_hdetail_hacti, fk_hdetail_hvar, fk_hdetail_htask, fk_hdetail_hproci]
15:18:53,028  INFO TableMetadata:69 - indexes: [idx_hdet_hvar, fk_hdetail_hacti, idx_hdet_htask, fk_hdetail_hvar, fk_hdetail_htask, fk_hdetail_hproci, primary, idx_hdet_hacti, idx_hdet_hproci]
15:18:53,043  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_procinst
15:18:53,043  INFO TableMetadata:66 - columns: [key_, dbid_, nextidx_, procdefid_, duration_, endactivity_, dbversion_, start_, id_, state_, end_]
15:18:53,043  INFO TableMetadata:68 - foreign keys: []
15:18:53,043  INFO TableMetadata:69 - indexes: [primary]
15:18:53,059  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_task
15:18:53,059  INFO TableMetadata:66 - columns: [dbid_, nextidx_, duration_, dbversion_, supertask_, state_, execution_, end_, create_, priority_, assignee_, outcome_]
15:18:53,059  INFO TableMetadata:68 - foreign keys: [fk_hsupert_sub]
15:18:53,059  INFO TableMetadata:69 - indexes: [fk_hsupert_sub, primary, idx_hsupert_sub]
15:18:53,059  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_var
15:18:53,059  INFO TableMetadata:66 - columns: [varname_, dbid_, hproci_, dbversion_, procinstid_, htask_, value_, executionid_]
15:18:53,059  INFO TableMetadata:68 - foreign keys: [fk_hvar_hproci, fk_hvar_htask]
15:18:53,059  INFO TableMetadata:69 - indexes: [fk_hvar_hproci, idx_hvar_htask, fk_hvar_htask, primary, idx_hvar_hproci]
15:18:53,059  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_id_group
15:18:53,059  INFO TableMetadata:66 - columns: [type_, parent_, dbid_, dbversion_, id_, name_]
15:18:53,059  INFO TableMetadata:68 - foreign keys: [fk_group_parent]
15:18:53,059  INFO TableMetadata:69 - indexes: [fk_group_parent, primary, idx_group_parent]
15:18:53,075  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_id_membership
15:18:53,075  INFO TableMetadata:66 - columns: [dbid_, user_, dbversion_, group_, name_]
15:18:53,075  INFO TableMetadata:68 - foreign keys: [fk_mem_user, fk_mem_group]
15:18:53,075  INFO TableMetadata:69 - indexes: [idx_mem_group, fk_mem_user, primary, fk_mem_group, idx_mem_user]
15:18:53,075  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_id_user
15:18:53,075  INFO TableMetadata:66 - columns: [dbid_, familyname_, givenname_, dbversion_, businessemail_, id_, password_]
15:18:53,075  INFO TableMetadata:68 - foreign keys: []
15:18:53,075  INFO TableMetadata:69 - indexes: [primary]
15:18:53,090  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_job
15:18:53,090  INFO TableMetadata:66 - columns: [dbid_, cfg_, lockowner_, duedate_, class_, lockexptime_, signal_, retries_, repeat_, processinstance_, dbversion_, event_, state_, exception_, execution_, isexclusive_]
15:18:53,090  INFO TableMetadata:68 - foreign keys: [fk_job_cfg]
15:18:53,090  INFO TableMetadata:69 - indexes: [idx_job_cfg, idx_jobduedate, idx_jobretries, idx_joblockexp, primary, idx_job_prinst, fk_job_cfg, idx_job_exe]
15:18:53,090  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_lob
15:18:53,090  INFO TableMetadata:66 - columns: [dbid_, dbversion_, deployment_, blob_value_, name_]
15:18:53,090  INFO TableMetadata:68 - foreign keys: [fk_lob_deployment]
15:18:53,090  INFO TableMetadata:69 - indexes: [primary, fk_lob_deployment, idx_lob_deployment]
15:18:53,106  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_participation
15:18:53,106  INFO TableMetadata:66 - columns: [task_, type_, dbid_, groupid_, userid_, swimlane_, dbversion_]
15:18:53,106  INFO TableMetadata:68 - foreign keys: [fk_part_swimlane, fk_part_task]
15:18:53,106  INFO TableMetadata:69 - indexes: [fk_part_swimlane, primary, idx_part_task, fk_part_task]
15:18:53,106  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_property
15:18:53,106  INFO TableMetadata:66 - columns: [key_, version_, value_]
15:18:53,106  INFO TableMetadata:68 - foreign keys: []
15:18:53,106  INFO TableMetadata:69 - indexes: [primary]
15:18:53,121  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_swimlane
15:18:53,121  INFO TableMetadata:66 - columns: [dbid_, dbversion_, execution_, name_, assignee_]
15:18:53,121  INFO TableMetadata:68 - foreign keys: [fk_swimlane_exec]
15:18:53,121  INFO TableMetadata:69 - indexes: [primary, fk_swimlane_exec, idx_swimlane_exec]
15:18:53,121  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_task
15:18:53,121  INFO TableMetadata:66 - columns: [progress_, dbid_, procinst_, activity_name_, execution_id_, form_, hasvars_, signalling_, name_, duedate_, class_, priority_, taskdefname_, swimlane_, dbversion_, supertask_, susphiststate_, state_, execution_, create_, descr_, assignee_]
15:18:53,121  INFO TableMetadata:68 - foreign keys: [fk_task_swiml, fk_task_supertask]
15:18:53,121  INFO TableMetadata:69 - indexes: [fk_task_swiml, idx_task_supertask, primary, fk_task_supertask]
15:18:53,137  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_variable
15:18:53,137  INFO TableMetadata:66 - columns: [exesys_, converter_, lob_, double_value_, text_value_, dbid_, classname_, date_value_, class_, key_, task_, long_value_, dbversion_, hist_, execution_, string_value_]
15:18:53,137  INFO TableMetadata:68 - foreign keys: [fk_var_task, fk_var_lob, fk_var_exesys, fk_var_execution]
15:18:53,137  INFO TableMetadata:69 - indexes: [idx_var_execution, idx_var_task, fk_var_task, primary, idx_var_lob, fk_var_lob, fk_var_exesys, idx_var_exesys, fk_var_execution]
15:18:53,137  INFO SchemaUpdate:217 - schema update complete
15:18:53,293  INFO SessionFactoryImpl:927 - closing
15:18:53,293  INFO DriverManagerConnectionProvider:170 - cleaning up connection pool: jdbc:mysql:///jbpm20150401
15:18:53,418  INFO Configuration:2156 - configuring from resource: jbpm.hibernate.cfg.xml
15:18:53,418  INFO Configuration:2175 - Configuration resource: jbpm.hibernate.cfg.xml
15:18:53,434  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:53,434  INFO Configuration:789 - Reading mappings from resource : jbpm.repository.hbm.xml
15:18:53,434  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:53,434  INFO Configuration:789 - Reading mappings from resource : jbpm.execution.hbm.xml
15:18:53,434  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:53,450  INFO Configuration:789 - Reading mappings from resource : jbpm.history.hbm.xml
15:18:53,450  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:53,465  INFO Configuration:789 - Reading mappings from resource : jbpm.task.hbm.xml
15:18:53,465  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:53,496  INFO DriverManagerConnectionProvider:170 - cleaning up connection pool: jdbc:mysql:///jbpm20150401
15:18:53,512  INFO Configuration:789 - Reading mappings from resource : jbpm.identity.hbm.xml
15:18:53,512  WARN DTDEntityResolver:73 - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
15:18:53,512  INFO Configuration:2297 - Configured SessionFactory: null
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.repository.DeploymentImpl -> JBPM4_DEPLOYMENT
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.repository.DeploymentProperty -> JBPM4_DEPLOYPROP
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.id.PropertyImpl -> JBPM4_PROPERTY
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.model.ExecutionImpl -> JBPM4_EXECUTION
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.type.Variable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.BlobVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.DateVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.DoubleVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateLongVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.HibernateStringVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.LongVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.NullVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.StringVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.type.variable.TextVariable -> JBPM4_VARIABLE
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.lob.Lob -> JBPM4_LOB
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.job.JobImpl -> JBPM4_JOB
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.MessageImpl -> JBPM4_JOB
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteActivityMessage -> JBPM4_JOB
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.model.op.ExecuteEventListenerMessage -> JBPM4_JOB
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.CommandMessage -> JBPM4_JOB
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.TimerImpl -> JBPM4_JOB
15:18:53,512  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.job.StartProcessTimer -> JBPM4_JOB
15:18:53,512  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl -> JBPM4_HIST_PROCINST
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl -> JBPM4_HIST_ACTINST
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryAutomaticInstanceImpl -> JBPM4_HIST_ACTINST
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryDecisionInstanceImpl -> JBPM4_HIST_ACTINST
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskInstanceImpl -> JBPM4_HIST_ACTINST
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryTaskImpl -> JBPM4_HIST_TASK
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryVariableImpl -> JBPM4_HIST_VAR
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.history.model.HistoryDetailImpl -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryCommentImpl -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceMigrationImpl -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryPriorityUpdateImpl -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskAssignmentImpl -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryTaskDuedateUpdateImpl -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:886 - Mapping subclass: org.jbpm.pvm.internal.history.model.HistoryVariableUpdateImpl -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.task.TaskImpl -> JBPM4_TASK
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.task.ParticipationImpl -> JBPM4_PARTICIPATION
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.task.SwimlaneImpl -> JBPM4_SWIMLANE
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.identity.impl.UserImpl -> JBPM4_ID_USER
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.identity.impl.MembershipImpl -> JBPM4_ID_MEMBERSHIP
15:18:53,528  INFO HbmBinder:353 - Mapping class: org.jbpm.pvm.internal.identity.impl.GroupImpl -> JBPM4_ID_GROUP
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.resources -> JBPM4_LOB
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.repository.DeploymentImpl.objectProperties -> JBPM4_DEPLOYPROP
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.variables -> JBPM4_VARIABLE
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.systemVariables -> JBPM4_VARIABLE
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.executions -> JBPM4_EXECUTION
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.model.ExecutionImpl.swimlanes -> JBPM4_SWIMLANE
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyActivityInstances -> JBPM4_HIST_ACTINST
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.historyVariables -> JBPM4_HIST_VAR
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryProcessInstanceImpl.details -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryActivityInstanceImpl.details -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.details -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.historyVariables -> JBPM4_HIST_VAR
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryTaskImpl.subTasks -> JBPM4_HIST_TASK
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryVariableImpl.details -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.history.model.HistoryCommentImpl.replies -> JBPM4_HIST_DETAIL
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.participations -> JBPM4_PARTICIPATION
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.variables -> JBPM4_VARIABLE
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.TaskImpl.subTasks -> JBPM4_TASK
15:18:53,528  INFO HbmBinder:2508 - Mapping collection: org.jbpm.pvm.internal.task.SwimlaneImpl.participations -> JBPM4_PARTICIPATION
15:18:53,528  INFO Configuration:1676 - Hibernate Validator not found: ignoring
15:18:53,528  INFO HibernateSearchEventListenerRegister:75 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
15:18:53,543  INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!)
15:18:53,543  INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 20
15:18:53,543  INFO DriverManagerConnectionProvider:68 - autocommit mode: false
15:18:53,543  INFO DriverManagerConnectionProvider:103 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql:///jbpm20150401
15:18:53,543  INFO DriverManagerConnectionProvider:109 - connection properties: {user=root, password=****}
15:18:53,543  INFO Dialect:136 - Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
15:18:53,543  INFO JdbcSupportLoader:79 - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
15:18:53,543  INFO SettingsFactory:126 - Database ->
       name : MySQL
    version : 5.0.87-community-nt
      major : 5
      minor : 0
15:18:53,543  INFO SettingsFactory:132 - Driver ->
       name : MySQL-AB JDBC Driver
    version : mysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )
      major : 5
      minor : 0
15:18:53,543  INFO TransactionFactoryFactory:62 - Using default transaction strategy (direct JDBC transactions)
15:18:53,543  INFO TransactionManagerLookupFactory:83 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
15:18:53,543  INFO SettingsFactory:179 - Automatic flush during beforeCompletion(): disabled
15:18:53,543  INFO SettingsFactory:183 - Automatic session close at end of transaction: disabled
15:18:53,543  INFO SettingsFactory:190 - JDBC batch size: 15
15:18:53,543  INFO SettingsFactory:193 - JDBC batch updates for versioned data: disabled
15:18:53,543  INFO SettingsFactory:198 - Scrollable result sets: enabled
15:18:53,543  INFO SettingsFactory:206 - JDBC3 getGeneratedKeys(): enabled
15:18:53,543  INFO SettingsFactory:214 - Connection release mode: auto
15:18:53,543  INFO SettingsFactory:238 - Maximum outer join fetch depth: 2
15:18:53,543  INFO SettingsFactory:241 - Default batch fetch size: 1
15:18:53,543  INFO SettingsFactory:245 - Generate SQL with comments: disabled
15:18:53,543  INFO SettingsFactory:249 - Order SQL updates by primary key: disabled
15:18:53,543  INFO SettingsFactory:253 - Order SQL inserts for batching: disabled
15:18:53,543  INFO SettingsFactory:431 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
15:18:53,543  INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
15:18:53,543  INFO SettingsFactory:261 - Query language substitutions: {}
15:18:53,543  INFO SettingsFactory:266 - JPA-QL strict compliance: disabled
15:18:53,543  INFO SettingsFactory:271 - Second-level cache: enabled
15:18:53,543  INFO SettingsFactory:275 - Query cache: disabled
15:18:53,543  INFO SettingsFactory:406 - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
15:18:53,543  INFO SettingsFactory:285 - Optimize cache for minimal puts: disabled
15:18:53,543  INFO SettingsFactory:294 - Structured second-level cache entries: disabled
15:18:53,543  INFO SettingsFactory:314 - Echoing all SQL to stdout
15:18:53,543  INFO SettingsFactory:323 - Statistics: disabled
15:18:53,543  INFO SettingsFactory:327 - Deleted entity synthetic identifier rollback: disabled
15:18:53,543  INFO SettingsFactory:343 - Default entity-mode: pojo
15:18:53,543  INFO SettingsFactory:347 - Named query checking : enabled
15:18:53,543  INFO SettingsFactory:351 - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
15:18:53,543  INFO SessionFactoryImpl:202 - building session factory
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@1c3e9ba
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@125d61e
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@10c6cfc
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@c72243
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [clob] overrides previous : org.hibernate.type.ClobType@19a8416
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@19a8416
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [blob] overrides previous : org.hibernate.type.BlobType@155d3a3
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@155d3a3
15:18:53,559  INFO BasicTypeRegistry:150 - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@1b994de
15:18:53,668  INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
15:18:53,668  INFO SchemaUpdate:155 - Running hbm2ddl schema update
15:18:53,669  INFO SchemaUpdate:167 - fetching database metadata
15:18:53,671  INFO SchemaUpdate:179 - updating schema
15:18:53,671  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_deployment
15:18:53,671  INFO TableMetadata:66 - columns: [dbid_, timestamp_, state_, name_]
15:18:53,671  INFO TableMetadata:68 - foreign keys: []
15:18:53,671  INFO TableMetadata:69 - indexes: [primary]
15:18:53,671  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_deployprop
15:18:53,671  INFO TableMetadata:66 - columns: [key_, objname_, dbid_, deployment_, longval_, stringval_]
15:18:53,671  INFO TableMetadata:68 - foreign keys: [fk_deplprop_depl]
15:18:53,671  INFO TableMetadata:69 - indexes: [fk_deplprop_depl, primary, idx_deplprop_depl]
15:18:53,686  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_execution
15:18:53,686  INFO TableMetadata:66 - columns: [parent_, dbid_, subprocinst_, procdefid_, hisactinst_, parent_idx_, superexec_, hasvars_, name_, class_, priority_, key_, activityname_, dbversion_, instance_, susphiststate_, id_, state_]
15:18:53,686  INFO TableMetadata:68 - foreign keys: [fk_exec_instance, fk_exec_subpi, fk_exec_superexec, fk_exec_parent]
15:18:53,686  INFO TableMetadata:69 - indexes: [fk_exec_instance, idx_exec_superexec, fk_exec_subpi, fk_exec_superexec, fk_exec_parent, primary, idx_exec_instance, id_, idx_exec_subpi, idx_exec_parent]
15:18:53,686  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_actinst
15:18:53,686  INFO TableMetadata:66 - columns: [transition_, type_, dbid_, hproci_, activity_name_, htask_, class_, nextidx_, duration_, dbversion_, start_, execution_, end_]
15:18:53,686  INFO TableMetadata:68 - foreign keys: [fk_hti_htask, fk_hacti_hproci]
15:18:53,686  INFO TableMetadata:69 - indexes: [idx_hti_htask, primary, fk_hti_htask, fk_hacti_hproci, idx_hacti_hproci]
15:18:53,702  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_detail
15:18:53,702  INFO TableMetadata:66 - columns: [new_str_, parent_, dbid_, hproci_, hvar_, userid_, hprociidx_, old_int_, time_, parent_idx_, old_time_, htask_, class_, old_str_, htaskidx_, hactiidx_, hvaridx_, new_time_, dbversion_, hacti_, new_int_, message_]
15:18:53,702  INFO TableMetadata:68 - foreign keys: [fk_hdetail_hacti, fk_hdetail_hvar, fk_hdetail_htask, fk_hdetail_hproci]
15:18:53,702  INFO TableMetadata:69 - indexes: [idx_hdet_hvar, fk_hdetail_hacti, idx_hdet_htask, fk_hdetail_hvar, fk_hdetail_htask, fk_hdetail_hproci, primary, idx_hdet_hacti, idx_hdet_hproci]
15:18:53,702  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_procinst
15:18:53,717  INFO TableMetadata:66 - columns: [key_, dbid_, nextidx_, procdefid_, duration_, endactivity_, dbversion_, start_, id_, state_, end_]
15:18:53,717  INFO TableMetadata:68 - foreign keys: []
15:18:53,717  INFO TableMetadata:69 - indexes: [primary]
15:18:53,717  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_task
15:18:53,717  INFO TableMetadata:66 - columns: [dbid_, nextidx_, duration_, dbversion_, supertask_, state_, execution_, end_, create_, priority_, assignee_, outcome_]
15:18:53,717  INFO TableMetadata:68 - foreign keys: [fk_hsupert_sub]
15:18:53,717  INFO TableMetadata:69 - indexes: [fk_hsupert_sub, primary, idx_hsupert_sub]
15:18:53,717  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_hist_var
15:18:53,717  INFO TableMetadata:66 - columns: [varname_, dbid_, hproci_, dbversion_, procinstid_, htask_, value_, executionid_]
15:18:53,717  INFO TableMetadata:68 - foreign keys: [fk_hvar_hproci, fk_hvar_htask]
15:18:53,733  INFO TableMetadata:69 - indexes: [fk_hvar_hproci, idx_hvar_htask, fk_hvar_htask, primary, idx_hvar_hproci]
15:18:53,733  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_id_group
15:18:53,733  INFO TableMetadata:66 - columns: [type_, parent_, dbid_, dbversion_, id_, name_]
15:18:53,733  INFO TableMetadata:68 - foreign keys: [fk_group_parent]
15:18:53,733  INFO TableMetadata:69 - indexes: [fk_group_parent, primary, idx_group_parent]
15:18:53,733  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_id_membership
15:18:53,733  INFO TableMetadata:66 - columns: [dbid_, user_, dbversion_, group_, name_]
15:18:53,733  INFO TableMetadata:68 - foreign keys: [fk_mem_user, fk_mem_group]
15:18:53,733  INFO TableMetadata:69 - indexes: [idx_mem_group, fk_mem_user, primary, fk_mem_group, idx_mem_user]
15:18:53,749  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_id_user
15:18:53,749  INFO TableMetadata:66 - columns: [dbid_, familyname_, givenname_, dbversion_, businessemail_, id_, password_]
15:18:53,749  INFO TableMetadata:68 - foreign keys: []
15:18:53,749  INFO TableMetadata:69 - indexes: [primary]
15:18:53,749  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_job
15:18:53,749  INFO TableMetadata:66 - columns: [dbid_, cfg_, lockowner_, duedate_, class_, lockexptime_, signal_, retries_, repeat_, processinstance_, dbversion_, event_, state_, exception_, execution_, isexclusive_]
15:18:53,749  INFO TableMetadata:68 - foreign keys: [fk_job_cfg]
15:18:53,749  INFO TableMetadata:69 - indexes: [idx_job_cfg, idx_jobduedate, idx_jobretries, idx_joblockexp, primary, idx_job_prinst, fk_job_cfg, idx_job_exe]
15:18:53,764  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_lob
15:18:53,764  INFO TableMetadata:66 - columns: [dbid_, dbversion_, deployment_, blob_value_, name_]
15:18:53,764  INFO TableMetadata:68 - foreign keys: [fk_lob_deployment]
15:18:53,764  INFO TableMetadata:69 - indexes: [primary, fk_lob_deployment, idx_lob_deployment]
15:18:53,764  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_participation
15:18:53,764  INFO TableMetadata:66 - columns: [task_, type_, dbid_, groupid_, userid_, swimlane_, dbversion_]
15:18:53,764  INFO TableMetadata:68 - foreign keys: [fk_part_swimlane, fk_part_task]
15:18:53,764  INFO TableMetadata:69 - indexes: [fk_part_swimlane, primary, idx_part_task, fk_part_task]
15:18:53,764  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_property
15:18:53,764  INFO TableMetadata:66 - columns: [key_, version_, value_]
15:18:53,764  INFO TableMetadata:68 - foreign keys: []
15:18:53,764  INFO TableMetadata:69 - indexes: [primary]
15:18:53,780  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_swimlane
15:18:53,780  INFO TableMetadata:66 - columns: [dbid_, dbversion_, execution_, name_, assignee_]
15:18:53,780  INFO TableMetadata:68 - foreign keys: [fk_swimlane_exec]
15:18:53,780  INFO TableMetadata:69 - indexes: [primary, fk_swimlane_exec, idx_swimlane_exec]
15:18:53,780  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_task
15:18:53,780  INFO TableMetadata:66 - columns: [progress_, dbid_, procinst_, activity_name_, execution_id_, form_, hasvars_, signalling_, name_, duedate_, class_, priority_, taskdefname_, swimlane_, dbversion_, supertask_, susphiststate_, state_, execution_, create_, descr_, assignee_]
15:18:53,780  INFO TableMetadata:68 - foreign keys: [fk_task_swiml, fk_task_supertask]
15:18:53,780  INFO TableMetadata:69 - indexes: [fk_task_swiml, idx_task_supertask, primary, fk_task_supertask]
15:18:53,796  INFO TableMetadata:65 - table found: jbpm20150401.jbpm4_variable
15:18:53,796  INFO TableMetadata:66 - columns: [exesys_, converter_, lob_, double_value_, text_value_, dbid_, classname_, date_value_, class_, key_, task_, long_value_, dbversion_, hist_, execution_, string_value_]
15:18:53,796  INFO TableMetadata:68 - foreign keys: [fk_var_task, fk_var_lob, fk_var_exesys, fk_var_execution]
15:18:53,796  INFO TableMetadata:69 - indexes: [idx_var_execution, idx_var_task, fk_var_task, primary, idx_var_lob, fk_var_lob, fk_var_exesys, idx_var_exesys, fk_var_execution]
15:18:53,796  INFO SchemaUpdate:217 - schema update complete
Hibernate: 
    select
        propertyim0_.KEY_ as KEY1_62_,
        propertyim0_.VERSION_ as VERSION2_62_,
        propertyim0_.VALUE_ as VALUE3_62_ 
    from
        JBPM4_PROPERTY propertyim0_ limit ?
Hibernate: 
    select
        propertyim0_.KEY_ as KEY1_62_0_,
        propertyim0_.VERSION_ as VERSION2_62_0_,
        propertyim0_.VALUE_ as VALUE3_62_0_ 
    from
        JBPM4_PROPERTY propertyim0_ 
    where
        propertyim0_.KEY_=?
15:18:53,848  INFO CheckDbCmd:50 - jBPM version info: library[4.4-SNAPSHOT], schema[null]
15:18:53,879  INFO Parser:50 - loading schema resource: jpdl-4.0.xsd
15:18:53,879  INFO Parser:50 - loading schema resource: jpdl-4.2.xsd
15:18:53,879  INFO Parser:50 - loading schema resource: jpdl-4.3.xsd
15:18:53,879  INFO Parser:50 - loading schema resource: jpdl-4.4.xsd
15:18:53,895  INFO Parser:50 - loading schema resource: BPMN20.xsd
15:18:53,895  INFO Parser:50 - loading schema resource: DiagramDefinition.xsd
15:18:53,895  INFO Parser:50 - loading schema resource: DiagramInterchange.xsd
15:18:53,895  INFO Parser:50 - loading schema resource: BpmnDi.xsd
Hibernate: 
    select
        this_.KEY_ as KEY1_62_0_,
        this_.VERSION_ as VERSION2_62_0_,
        this_.VALUE_ as VALUE3_62_0_ 
    from
        JBPM4_PROPERTY this_ 
    where
        this_.KEY_=?
Hibernate: 
    update
        JBPM4_PROPERTY 
    set
        VERSION_=?,
        VALUE_=? 
    where
        KEY_=? 
        and VERSION_=?
Hibernate: 
    select
        lob_.DBID_,
        lob_.DBVERSION_ as DBVERSION2_65_,
        lob_.BLOB_VALUE_ as BLOB3_65_ 
    from
        JBPM4_LOB lob_ 
    where
        lob_.DBID_=?
Hibernate: 
    select
        lob_.DBID_,
        lob_.DBVERSION_ as DBVERSION2_65_,
        lob_.BLOB_VALUE_ as BLOB3_65_ 
    from
        JBPM4_LOB lob_ 
    where
        lob_.DBID_=?
Hibernate: 
    insert 
    into
        JBPM4_DEPLOYMENT
        (NAME_, TIMESTAMP_, STATE_, DBID_) 
    values
        (?, ?, ?, ?)
Hibernate: 
    insert 
    into
        JBPM4_LOB
        (DBVERSION_, BLOB_VALUE_, DBID_) 
    values
        (?, ?, ?)
Hibernate: 
    insert 
    into
        JBPM4_LOB
        (DBVERSION_, BLOB_VALUE_, DBID_) 
    values
        (?, ?, ?)
15:18:54,176  WARN JDBCExceptionReporter:233 - SQL Error: 1064, SQLState: 42000
15:18:54,176 ERROR JDBCExceptionReporter:234 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '³+\\ÛdTúÿ5NœQæûÿ̯<“ÿÉse¹o‰ZXy&°y¾ñ§o}ß
ûO¼ý£§?SYYÑÔÔ$\'J�¤BaÁQ|¿1ëÀé­No™' at line 1
15:18:54,176  INFO DefaultCommandService:54 - exception while executing command org.jbpm.pvm.internal.cmd.DeployCmd@1fb7565
org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2412)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2875)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:64)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1185)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1261)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:93)
at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:67)
at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:67)
at org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:157)
at org.jbpm.pvm.internal.repository.ProcessDeployer.checkKey(ProcessDeployer.java:133)
at org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:92)
at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46)
at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:62)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:90)
at cn.itcast.jbpm.a_quickstart.QuickStartTest.testDeploy(QuickStartTest.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.sql.BatchUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '³+\\ÛdTúÿ5NœQæûÿ̯<“ÿÉse¹o‰ZXy&°y¾ñ§o}ß
ûO¼ý£§?SYYÑÔÔ$\'J�¤BaÁQ|¿1ëÀé­No™' at line 1
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1269)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:955)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)

... 56 more

解决方法:

jbpm.hibernate.cfg.xml文件:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
          "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql:///jbpm20150401</property>
<property name="hibernate.connection.username">root</property>
    <property name="hibernate.connection.password">mysqladmin</property>
    <property name="hibernate.hbm2ddl.auto">update</property>
    <property name="hibernate.format_sql">true</property>
    <property name="hibernate.show_sql">true</property>
    
    <mapping resource="jbpm.repository.hbm.xml" />
    <mapping resource="jbpm.execution.hbm.xml" />
    <mapping resource="jbpm.history.hbm.xml" />
    <mapping resource="jbpm.task.hbm.xml" />
    <mapping resource="jbpm.identity.hbm.xml" />
</session-factory>
</hibernate-configuration>

修改成:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
          "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql:///jbpm20150401?characterEncoding=utf8</property>
<property name="hibernate.connection.username">root</property>
    <property name="hibernate.connection.password">mysqladmin</property>
    <property name="hibernate.hbm2ddl.auto">update</property>
    <property name="hibernate.format_sql">true</property>
    <property name="hibernate.show_sql">true</property>
    
    <mapping resource="jbpm.repository.hbm.xml" />
    <mapping resource="jbpm.execution.hbm.xml" />
    <mapping resource="jbpm.history.hbm.xml" />
    <mapping resource="jbpm.task.hbm.xml" />
    <mapping resource="jbpm.identity.hbm.xml" />
</session-factory>
</hibernate-configuration>


相关知识:

此类问题的出现主要来自三个方面。
1、 SQL语句中存在语法错误或是传入的数据有误;
2、 数据库的配置不合法,或者说是配置有误。较容易出现的有数据表的映射文件(,hbm.xml文件)配置有误;Hibernate.cfg.xml文件配置有误;
3、 当前的数据库用户权限不足,不能操作数据库。以是以Oracle 数据库为例,这种情况下在错误提示中会显示java.sql.BatchUpdateException: ORA-01031: insufficient privileges这样的信息。


你可能感兴趣的:(jbpm)