Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Marcin Misiewicz
Thanks Juan, it works. That's what happen when you are using container managed transactions for the long time. I simply forgot about transactions. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to goog

Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Juan Pablo Gardella
I'm don't know appengine, but if you want update something you must do in a transaction scope. See Jpa transactions Juan 2011/3/31 Marcin Misiewicz > Hi Juan > > 1. I added @Basic annotation with fetch type eager and it works. Till now

Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Marcin Misiewicz
Hi Juan 1. I added @Basic annotation with fetch type eager and it works. Till now I was pretty sure that embedded object are always fetched and I thought that this problem is related to the appengine. 2. Here is my persistence.xml file. Do you suggest that I should use transactions to get it

Re: Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Juan Pablo Gardella
Hi, only relationate with JPA. 1) you can fix with lazy annotations . 2) Are you run in a transactional method? Juan 2011/3/31 Marcin Misiewicz > Hi > > i have a few problems wit

Few problems with creating/ updating entities with requestfactory and appengine

2011-03-31 Thread Marcin Misiewicz
Hi i have a few problems with updating/creating entities. My model is very simple : @Entity Company { some fields . @Embedded Address } @Embeddable Addres { . some fileds ... } Of course AddressProxy is subtype of the ValueProxy. I'm running my sample in devmode