[
https://issues.jboss.org/browse/JBRULES-2963?page=com.atlassian.jira.plug...
]
Krešimir Popović commented on JBRULES-2963:
-------------------------------------------
I forgot to mention that I use Postgres 9.x + JDBC4 Postgresql Driver, Version 9.0-801.
Drools JPA 5.x not compatible with Hibernate 3.6.x (Postgres 9.x -
oid / bytea issue)
-------------------------------------------------------------------------------------
Key: JBRULES-2963
URL:
https://issues.jboss.org/browse/JBRULES-2963
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: All
Affects Versions: 5.1.1.FINAL
Environment: Windows 7 SP1 (64 bit)
JBoss 6.0 Final (uses Hibernate 3.6.0 Final)
Drools 5.1.1 Final
JBPM 5.0 Final
Java 1.6 (64 bit)
Eclipse 3.5 Galileo
JBoss Tools 3.1
Notebook Acer, Intel Core Duo 2.1 GHz
4 Gb RAM DD3
500 Gb hard disk
Reporter: Krešimir Popović
Assignee: Mark Proctor
Labels: hibernate, jboss6
Hello,
it seams that
"drools-5.1.1-src.zip\drools-persistence-jpa\src\main\java\org\drools\persistence\processinstance\ProcessInstanceInfo.java"
and
"drools-5.1.1-src.zip\drools-persistence-jpa\src\main\java\org\drools\persistence\session\SessionInfo.java"
needs to be updated so that they can be compatible with Hibernate 3.6.x.
@Lob
@Type(type="org.hibernate.type.PrimitiveByteArrayBlobType") // I think this has
to be added
private byte[] rulesByteArray;
@Lob
@Type(type="org.hibernate.type.PrimitiveByteArrayBlobType") // I think this has
to be added
private byte[] processInstanceByteArray;
additional info:
http://community.jboss.org/thread/165574?tstart=0
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira