[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2963) Drools JPA 5.x not compatible with Hibernate 3.6.x (Postgres 9.x - oid / bytea issue)

Krešimir Popović (JIRA) jira-events at lists.jboss.org
Tue Apr 19 03:27:34 EDT 2011


    [ https://issues.jboss.org/browse/JBRULES-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596424#comment-12596424 ] 

Krešimir Popović commented on JBRULES-2963:
-------------------------------------------

I have made it work! The solution is not to use Hibernate 3.6.0 because of bug HHH-4617 (http://http://opensource.atlassian.com/projects/hibernate/browse/HHH-4617). Hibernate 3.6.1 contains fix.

see forum for details: http://community.jboss.org/message/600522


> 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



More information about the jboss-jira mailing list