Hello,

I've created a few restlet apps now, and for some reason the last one gets 
garbled on a simple put of a simple class: 
-------Client.java
@Entity
public class Client implements Serializable 
{
    private static final long serialVersionUID = 1L;
    @Id Long id;
        String name = "";
        
        public Client()
        {
        }
        
        public Client(String name)
        {
                this.name = name;
        }
}
----------

I can do a couple of puts, but when I hit 6-7 puts it returns the 1002 Error 
and then that instance gets garbled in the database, because I get the same 
result when trying to get all the clients using this: 
---------
@Get
        public Vector<Client> getAllClients()
        {
}
---

I am using the maven version of GAE and GWT restlet of 2.0.0. 

As a sidenote, if I delete the instance that gets garbled the get works fine. 

Is this a known issue?

Temporary test for this is also avaliable online here: 
http://customerdb.frojd.se, first press the "new" button a couple of times, use 
"getall" to fetch the data. 

I like Restlet a lot, but this really stumps me :/

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2658781

Reply via email to