i did, but the error comes event without, do you have any advice for me how i
can implement redirect in this listener?
Evgheni
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-
e ?
> The response shouldn't be committed so early in the request cycle.
>
>
>
> On Sat, Aug 10, 2013 at 8:02 PM, Evgheni Emelianov wrote:
>
>> Hi, i habe a question about redirects in AbstractRequestCycleListener, i
>> have functionality in onBeginRequest(R
Hi, i habe a question about redirects in AbstractRequestCycleListener, i have
functionality in onBeginRequest(RequestCycle cycle) hich checks wether the
requested page should be showed or not, if its not the case then user should be
redirected/forwarded to my custom exception page, but as i see
bject will be saved once the transaction commits.
> beginTX()
> dbObject.setXXX();
> dbObject.setYYY();
> commitTX()
>
> If dbObject is "detached" you will have to call
> entityManager.merge(dbObject) before committing the transaction.
>
>
>
> 2013/
you are right but if you trying to get the entity after detach, you get the
cashed version of this object, also you don't have the changes in the database,
even if you merge, but if you refresh your entity you get a new updated object
with all changes that were made, and the changes will be writ
Try first to refresh your entity with entitymanagerObject.refresh(), and use
the return object for an update and then merge()
Am 14.06.2013 um 10:14 schrieb Sven Meier :
> It depends whether your working with detached or manages entities. Are you
> using OSIV?
>
> Sven
>
> On 06/14/2013 12:22
Hi there, i am looking for a got way to get rid of my LazyLoadException in my
Project, I'm using javaee 6 with hibernate 4.1.1 and wicketstuff-javaee-inject
and don't know which is the best way to solve it? some good links or examples
would help.
Evgheni
---