Help

Controls

PermLinkWikiLink

Built with Seam

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.

Forum: Seam Users Forum ListTopic List
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>

2 Replies:
05. Nov 2008, 09:15 CET | Link

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).

05. Nov 2008, 22:25 CET | Link

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.