Need help to fix HHH-1570
by Julien HENRY
Hi Hibernate dev team,
I am working on a patch to fix HHH-1570. The patch is highly inspired from the
old patch attached to the JIRA issue with a few modifications. After applying my
patch the test case (see patch HHH-1570-it.patch attached to the issue) runs
fine but there is a regression on another test: FumTest.testKeyManyToOne()
Here is the error on the test:
testKeyManyToOne(org.hibernate.test.legacy.FumTest) Time elapsed: 0.61 sec <<<
ERROR!
org.hibernate.NonUniqueObjectException: a different object with the same
identifier value was already associated with the session:
[org.hibernate.test.legacy.Middle#org.hibernate.test.legacy.MiddleKey@57def1]
at
org.hibernate.engine.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:637)
at
org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:120)
at
org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:73)
at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:955)
at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:933)
at org.hibernate.test.legacy.FumTest.testKeyManyToOne(FumTest.java:677)
Can someone review my patch (attached) and help me to fix the regression as I
don't understand the error.
Thanks
Julien
14 years, 5 months
HHH 3.6 beta-2 docs: numbered steps
by Paul Benedict
I was browsing the latest docs. Congrats to everyone merging the annotation
documentation!
When it comes to the number/bulleted steps, I believe images for beyond "12"
do not exist; yet the largest step I saw was around 17. I don't know how you
guys get those images -- free from the web or from your graphic artists or
otherwise. This is just an FYI in case no one noticed you need more
(probably up to number 20). Resolving this would help polish the
documentation's look.
Paul
14 years, 5 months
dropping cglib support
by Steve Ebersole
I propose that the time has come to drop cglib support. Over the past
few months we have run into a number of bugs in cglib for which we have
sent Chris et al patches. However, none of them have been applied. I
think the bigger indication is that I just don't even get replies any
more. For whatever reasons I think they are just no longer interested
in or no longer have the time for developing cglib.
So I think we should focus on javassist support.
We should also consider dropping support/integraton of other "dead"
projects:
* swarmcache
* oscache - is oscache still deveoloped? anyone still use it via the
hibernate intg?
caching-wise that would leave support for ehcache, infinispan and
jbosscache all 3 of which i know are still actively developed and are
very active in terms of hibernate integration work.
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org
14 years, 5 months
[HSEARCH] Error building trunk
by Gustavo Fernandes
Hello, I came across a problem when building the integration-test module:
[ERROR] BUILD ERROR
...
Reason: POM 'org.jboss.jbossas:jboss-as-component-matrix' not found in repository: Unable to download the artifact from any repository
---
It's because of the dependency org.jboss.jbossts:jbossjta:4.11.0.Final which in turn depends on org.jboss.jbossas:jboss-as-component-matrix using scope "import".
Any known work arounds for this bug [1] ?
[1] http://jira.codehaus.org/browse/MNG-3537
Thanks,
Gustavo
14 years, 5 months