views:

50

answers:

0

Hello everyone,

I have an strange issue here.

I´ve got a JSF page which calls a webservice, in that call a Load entity is created. After that from the page I insert some Files, Load has a relation 1--> N with the files. After that I call the webservice to create a timer for making a few task with those services.

If I do that way JPA gets the Load entity withour problem but it does not navigate to the files (the list is returned as null). BUT, if I call the webservice directly (not from the page) to begin the process with the files or to create the timer it works.

If I watch if the files are inserted before the call to the timer I can see them, I suppose we do not have a dirty reading issue.

I am using JSF, the webserivces are EJB and all runs under weblogic 10.3, the database is an Oracle and I use a winXP.

After three days I am out of ideas, I just want a bit of light.

Can you help me?

Thanks in advance.