You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 32 Members of 4186 |
| Forum: Seam Users |
23. Apr 2008, 09:25 CET | Link |
Hi, Can anybody help me and tell why still I get this? I don't know in which cases this is thrown. Each time when this happen my em clear db entities.
2008-04-22 21:44:09,050 WARN [org.hibernate.engine.loading.LoadContexts] fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@79eafff0<rs=org.postgresql.jdbc3.Jdbc3ResultSet@95e2493>
We also get these a lot after our upgrade to seam 2.1.0.GA.
Unfortunately it does not help upgrading the hiberate.jar to the latest version either (I did this since there are indications in the HHH-Jira that this printout is a bug which has been fixed in later versions).
Actually I was wrong. This message (which we also got alot of recently) has nothing to do with Seam 2.1.0.GA as I suggested above. You see, at the same time as I changed seam versions I also made a minor change to one of our annotations.
I made a collection EAGER as this:
@OneToMany(mappedBy = "company", cascade = ALL, fetch = EAGER)This gave the warning in our logs.
If also adding
@Fetch(value = SELECT)... the error goes away. I doubt that this is a SEAM-bug. I would guess Hibernate.