thats right, store all changes that you make on an object in one transaction. if an exception is thrown, you can rollback your transaction
Type: Posts; User: emil1; Keyword(s):
thats right, store all changes that you make on an object in one transaction. if an exception is thrown, you can rollback your transaction
sure, its friday...dont change anything friday for developers :-)
did you try to apply another url pattern. like
<filter-mapping>
<filter-name>oemInViewFilter</filter-name>
<url-pattern>/controllers/*</url-pattern>
</filter-mapping>
and map your...
double post? :-)
Here...
use on your button tag immediate=true which skips amongst other things the validation...(if you are using jsf)
<h:commandButton immediate="true" ...../>
well you can use input and output objects on calling subflows..that should solve your problem...
http://static.springsource.org/spring-webflow/docs/2.0.x/reference/html/ch02s07.html
In MainFlow...
you would not use pessimstic locking, because this locks on database level and makes your application slow and unscaleable. if you use optimistic locking, you need to merge your objects, or throw an...
hm jpaFlowExecutionListener handles flows persistence. i think you should configure an extra interceptor.
If you are using Hibernate you can configure it like this.
...
well, try to use opensession in flow with annotating your webflow with <persistence-context/>. the session is kept open until the flow is finished. i would not recommend mixing opensession in view...
if you are using hibernate 4 then you are running out of connections, because it is a spring webflow related bug. maybe thats the cause of your problem. normally all connections are correctly...
basicly you can set
<!-- Configures the Spring Web Flow JSF integration -->
<faces:flow-builder-services id="flowBuilderServices" development="true" />
in your config. But i would not...
Well i got the solution right now. A bit searching in the forum -.- gave me one hint.
I created a class like:
public class LazyInvitationServiceModel extends LazyDataModel<EventInvitation>...
Hi there,
we have a middle sized business application and were running into some problems using the primefaces lazydatamodel. Everything is working fine so far, but we have one flow in which the...