I'm hoping someone can help explain why I am getting the following errors...
Code: Select all
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in resource loaded from byte array: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: blPU] Unable to build EntityManagerFactory
Caused by: javax.persistence.PersistenceException: [PersistenceUnit: blPU] Unable to build EntityManagerFactory
Caused by: org.hibernate.HibernateException: Wrong column type in senseCommerce.blc_address for column IS_ACTIVE. Found: bit, expected: boolean
Despite common-shared.properties stipulating the correct hibernate dialect for MySQL...
Code: Select all
blPU.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
...
blCMSStorage.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
...
blSecurePU.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
I am running MySQL 5.6.25.
Thanks & regards,
Chris.