Re: rpc serialization problem

2012-11-08 Thread Cleiton Cavassa
Cool! Benjamin hints worked for me. Thanks! Em terça-feira, 4 de agosto de 2009 23h52min57s UTC-3, mike escreveu: I have a simple one-to-many betwen two entities. The parent entity uses List to contain the child entities. I am able to persist these entities in the datastore without

Re: rpc serialization problem

2009-10-26 Thread Benjamin
I'm passed these problems now - a couple of things i learned when creating object and storing in data nucleus for later retrieval over an RPC call - Most importantly, if you are returning a complex object (like one with a list of another type of object) you need to return a copy, not the object

Re: rpc serialization problem

2009-10-08 Thread Dominik Steiner
Hi, I'm using JDO with App Engine and GWT and sending the domain objects with the JDO tags via RPC is working fine, so not sure if the problem is JPA? HTH Dominik On Oct 7, 3:48 am, Lubomir lubomir.zrne...@gmail.com wrote: Hi, I was experimenting with it a bit as well and it seems to me that

Re: rpc serialization problem

2009-10-08 Thread brancoch
The problem comes from instrumentation done by the ORM. Most of the ORM substitute the implementation of the List, Map or Set with their own implementation since they need to track invocation of method of the collection. I know that the latest GWT 2.0 code base is putting code in the RPC

Re: rpc serialization problem

2009-10-07 Thread Lubomir
Hi, I was experimenting with it a bit as well and it seems to me that even the most simple Entity bean cannot be passed through RPC call. I had a simple class: @Entity public class Tournament implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY)

Re: rpc serialization problem

2009-10-06 Thread Benjamin
I'm struggeling with this now - did you guys solve it? I have a simple client class that will be a parent in a simple parent-child relationship. If i add an ArrayList property to the parent class (i don't even have to decorate it as persistant) i get EVERE: [1254861190636000]

Re: rpc serialization problem

2009-10-06 Thread Sudeep S
Hey Benjamin, Since u are using Generics ensure that all the classes Service, ServiceAync and ServiceImpl use the same signature i.e ListSubCatagory . btw which version of gwt are u using. Also, you can the temp dir where u can find a rpc.log file with the list of all objects that are

Re: rpc serialization problem

2009-09-22 Thread Angel
i have the same problem On 5 ago, 04:52, mike m...@introspect.com wrote: I have a simple one-to-many betwen two entities.  The parent entity uses List to contain the child entities.  I am able to persist these entities in the datastore without problems. However, when reading a root entity

Re: rpc serialization problem

2009-09-03 Thread Chris Lowe
Are the List fields on your objects specified in terms of interfaces? GWT RPC needs to know as much about your objects at compile time, could you try using a concrete class instead - preferably ArrayList? It sounds like you're trying to serialize ORM objects directly, is that right? I don't

Re: rpc serialization problem

2009-09-02 Thread jvoro...@googlemail.com
Hallo, i have the same problem. List (GWT) can not be used in DataNuceleus. Can every one help pleas! THX On 5 Aug., 04:52, mike m...@introspect.com wrote: I have a simple one-to-many betwen two entities.  The parent entity uses List to contain the child entities.  I am able to persist these

rpc serialization problem

2009-08-04 Thread mike
I have a simple one-to-many betwen two entities. The parent entity uses List to contain the child entities. I am able to persist these entities in the datastore without problems. However, when reading a root entity at the server, I get: rpc.SerializationException: Type

RPC/Serialization problem with StockWatcher tutorial

2009-06-03 Thread james.o...@gmail.com
I'm going through the StockWatcher tutorial and I get to the RPC part (http://code.google.com/webtoolkit/tutorials/1.6/RPC.html). At the first test point I get this error message as expected ... [ERROR] Type 'com.google.gwt.sample.stockwatcher.client.StockPrice' was not serializable and has

Re: RPC/Serialization problem with StockWatcher tutorial

2009-06-03 Thread Isaac Truett
Your StockPrice doesn't have a no-arg constructor. On Wed, Jun 3, 2009 at 1:27 PM, james.o...@gmail.com james.o...@gmail.com wrote: I'm going through the StockWatcher tutorial and I get to the RPC part (http://code.google.com/webtoolkit/tutorials/1.6/RPC.html). At the first test point I

Re: RPC/Serialization problem with StockWatcher tutorial

2009-06-03 Thread James Orr
Thanks! I guess I missed that line earlier in the tutorial. On Wed, Jun 3, 2009 at 2:08 PM, Isaac Truett itru...@gmail.com wrote: Your StockPrice doesn't have a no-arg constructor. On Wed, Jun 3, 2009 at 1:27 PM, james.o...@gmail.com james.o...@gmail.com wrote: I'm going through the