Re: Hibernate + GWT integration options

2009-02-04 Thread Sumit Chandel
Hi Karthik, Yet another approach to integrate GWT with Hibernate is to use intermediary DTOs (Data Transfer Objects). You'll find this solution mentioned in other threads on this forum relating to using Hibernate with GWT. As mentioned earlier, since Hibernate uses types like PersistentSet and

Re: Hibernate + GWT integration options

2009-02-02 Thread Addy
I have been using hibernate in a GWT project for a long time without any external library. There are only a few things you need to keep in mind and you wont have any trouble 1. Dont use Lazy loading. You should shut off lazy=false if using xml config 2. Hibernate convert sets to PersistentSet so

Re: Hibernate + GWT integration options

2009-02-01 Thread Arthur Kalmenson
Another alternative is to use Dozer to map beans onto themselves. We do this and it eliminates Hibernate specific set/list implementations. -- Arthur Kalmenson On Fri, Jan 30, 2009 at 12:50 PM, Karthik Karuppannan kkaruppan...@guident.com wrote: GWT is not able to serialize the PersistentSet

Hibernate + GWT integration options

2009-01-30 Thread Karthik Karuppannan
GWT is not able to serialize the PersistentSet in Hibernate POJO objects and throwing below errors. Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'org.hibernate.collection.PersistentSet' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not

Re: Hibernate + GWT integration options

2009-01-30 Thread Itamar Ravid
You might want to look into the 'Dynamic Proxy' or 'Stateful Server' configurations of Gilead. These modes do not impose any technical inheritance or interface implementation requirements on your POJOs. Regarding remote services, you'll want to look into GWT-SL - it allows exporting regular POJOs