[jboss-user] [EJB 3.0] - Re: caching onetomany relation

laszlo.fogas do-not-reply at jboss.com
Tue Sep 26 13:08:09 EDT 2006


Hi,

I did some crosspost sorry! You can find more info here:
http://forum.hibernate.org/viewtopic.php?t=965159

I checked the logs:
update an simple entity:

  | Time: 18:59:59  Priority: DEBUG  Thread: TP-Processor2  NDC: null Logger: org.hibernate.cache.TransactionalCache Location: org.apache.commons.logging.impl.Log4JLogger.debug(Log4JLogger.java:84) Message:
  | updating: xxx.model.Kedvencek#48
  | 

during collection update no cache log appears.


And I found an interesting forum topic here, where Gavin says that i want impossible thing: 

http://forum.hibernate.org/viewtopic.php?t=956952

What's your opinion about this?
Do i have to manually evict the collection after each update(in postupdate event or in interceptor?)

lazlo


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974288#3974288

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974288



More information about the jboss-user mailing list