[jboss-user] [JBoss Seam] - Re: Discussion: FlushModeType.NONE ?

2007-09-27 Thread [EMAIL PROTECTED]
Why not use FlushModeType.MANUAL and simply never call flush()? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089183#4089183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4089183

[jboss-user] [JBoss Seam] - Re: Discussion: FlushModeType.NONE ?

2007-09-27 Thread motte79
That is an option, yes. But this needs you to be sure that a flush is never called in your components ... Just to ensure that a flush will be ignored ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089195#4089195 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Discussion: FlushModeType.NONE ?

2007-09-27 Thread denis-karpov
FlushModeType.MANUAL does not help in every case. I have tired to struggle with flushing. The only sure way now is to evict objects from persistent context. Session session = (Session) getEntityManager().getDelegate(); | session.evict(obj); View the original post :

[jboss-user] [JBoss Seam] - Re: Discussion: FlushModeType.NONE ?

2007-09-27 Thread [EMAIL PROTECTED]
anonymous wrote : FlushModeType.MANUAL does not help in every case. And these cases are? I've been using it for 5 years and never had such a case. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089270#4089270 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Discussion: FlushModeType.NONE ?

2007-09-27 Thread fernando_jmt
org.jboss.seam.annotations.FlushModeType | @Begin(flushMode = FlushModeType.MANUAL) | public String myaction() { | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4089308#4089308 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Discussion: FlushModeType.NONE ? please help on defin

2007-09-27 Thread dreuzel
THere are 2 FlushModeTypes import org.hibernate.annotations.flushmodeType import javax.persistence.FlushmodeType i'm trying @begin(Flushmode=FlushmodeType.Manual both imports are bad expect second but manual not defined Please assist View the original post :

[jboss-user] [JBoss Seam] - Re: Discussion: FlushModeType.NONE ?

2007-09-27 Thread denis-karpov
Sorry that I didn't confirm my words. Right now I do not have sample. As I remember when I go through a decision with drools. Even in invalid case, when I simply return to the edit page, flushing occurs any way . decision name=validate | handler