How to recognize hibernate exception on the client side

2009-02-13 Thread Dessorry
Hi my app has a service that write record in a database, how can i recognize hibernate exception such as record already wrote on the db or not-null field with null value.. If i watch the throwable arg of onfailure methpod of async callback i see that different hibernate exception have the sam exep

Layout

2009-02-10 Thread Dessorry
Hi, I'm trying to give to my gwt application a two column layout, i the left column i would put my menu i.e. a list of hyperlink; in the right column i would put the body of the page I've added to the rootpanel an horizontalpanel and i've added to the horizontalpanel two verticalpanel but i've som

Serializatin problem: attributes null

2009-01-21 Thread Dessorry
Hi i've some class as below: interface A B implements A implements Serializable with attributes b1 and b2 C extends B implments Serializable On the serve i do: A a=new C() i set the attributes b1 and b2 and i try to send it to the client. but in the client i riceive a C class that have b1 and b2

How to integrate Hibernate and GWT

2008-12-03 Thread Dessorry
Hi, I'm trying to build my first GWT application; i would read data from a database and display it on a simple gwt page. I create in Eclipse my Web Dynamic Project. I put my POJO class in mypackage.server and the class with entrypoint in mypackage.client. I create a new GWT Remote Service with Ecl

Re: hibernate4gwt

2008-12-03 Thread Dessorry
> > Regards > Bruno > > On 2 déc, 10:43,Dessorry<[EMAIL PROTECTED]> wrote: > > > Hi, i'm creating my first gwt application. > > I would display in my page an interrogation to my database. > > I've download hibernate4gwt library and i've inclu

hibernate4gwt

2008-12-02 Thread Dessorry
Hi, i'm creating my first gwt application. I would display in my page an interrogation to my database. I've download hibernate4gwt library and i've included it in my project. I created HelloGWT.gwt.xml in mypackage folder with this code: [code]