Hi, thanks for your answer Giuseppe,

I tried Dozer when I did not succeed in Gilead. But now I resolved the
problem, I prefer use Gilead which allows me to use an existing code
without duplicating data.
If my model changes, I will not have to modify the DTO according to
the modifications : only use Hibernate Tools to generate the new
domain.

Regards.

On 11 mar, 14:49, Giuseppe La Scaleia <[email protected]> wrote:
> Hi Oliver i suggest you to use Apache Dozer with Hibernate , that allows you
> to create objects as a mirror of your model bean.
> For Information
>  http://dozer.sourceforge.net/
>
> Regards Giuseppe
> 2010/
> 3/11 Olivier <[email protected]>
>
> > Hello,
>
> > I finally solved the problem here :
>
> >https://sourceforge.net/projects/gilead/forums/forum/868076/topic/358...
>
> > Regards.
>
> > On 9 mar, 10:54, Olivier <[email protected]> wrote:
> > > Hello,
>
> > > I am trying to integrate gilead in my GWT - Hibernate application. I
> > > followed this article to set up my project :
> >http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib....
>
> > > But at the compilation time I have the following error :
>
> > > [INFO] Compiling module fr.csie.Application
> > > [INFO]    Validating newly compiled units
> > > [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
> > > net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
> > > annotations/AnnotationsHelper.java'
> > > [INFO]          [ERROR] Line 3: The import java.beans cannot be
> > > resolved
> > > [INFO]          [ERROR] Line 4: The import java.beans cannot be
> > > resolved
> > > [INFO]          [ERROR] Line 5: The import java.beans cannot be
> > > resolved
> > > [INFO]          [ERROR] Line 6: The import java.beans cannot be
> > > resolved
> > > [INFO]          [ERROR] Line 7: The import java.lang.reflect cannot be
> > > resolved
> > > [INFO]          [ERROR] Line 213: Field cannot be resolved to a type
> > > [INFO]          [ERROR] Line 214: Field cannot be resolved to a type
> > > [INFO]          [ERROR] Line 248: BeanInfo cannot be resolved to a
> > > type
> > > [INFO]          [ERROR] Line 248: Introspector cannot be resolved
> > > [INFO]          [ERROR] Line 249: PropertyDescriptor cannot be
> > > resolved to a type
> > > [INFO]          [ERROR] Line 252: PropertyDescriptor cannot be
> > > resolved to a type
> > > [INFO]          [ERROR] Line 275: IntrospectionException cannot be
> > > resolved to a type
> > > [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
> > > net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
> > > pojo/gwt/LightEntity.java'
> > > [INFO]          [ERROR] Line 104: The return type is incompatible with
> > > ILightEntity.getProxyInformation(String)
> > > [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
> > > net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
> > > pojo/java5/legacy/LightEntity.java'
> > > [INFO]          [ERROR] Line 105: The return type is incompatible with
> > > ILightEntity.getProxyInformation(String)
> > > [INFO]    Finding entry point classes
> > > [INFO]       [ERROR] Unable to find type 'fr.csie.client.Application'
> > > [INFO]          [ERROR] Hint: Previous compiler errors may have made
> > > this type unavailable
> > > [INFO]          [ERROR] Hint: Check the inheritance chain from your
> > > module; it may not be inheriting a required module or a module may not
> > > be adding its source path entries properly
> > > [INFO]
> > > ------------------------------------------------------------------------
>
> > > I am using Maven2 and here are my dependencies for using Gilead :
>
> > >                 <dependency>
> > >                         <groupId>net.sf.gilead</groupId>
> > >                         <artifactId>adapter-core</artifactId>
> > >                         <version>1.2.3</version>
> > >                 </dependency>
> > >                 <dependency>
> > >                         <groupId>net.sf.gilead</groupId>
> > >                         <artifactId>gilead4gwt</artifactId>
> > >                         <version>1.3.0</version>
> > >                         <type>jar</type>
> > >                 </dependency>
> > >                 <dependency>
> > >                         <groupId>net.sf.gilead</groupId>
> > >                         <artifactId>gilead-hibernate</artifactId>
> > >                         <type>jar</type>
> > >                         <version>1.3.0</version>
> > >                 </dependency>
> > >                 <dependency>
> > >                         <groupId>net.sf.gilead</groupId>
> > >                         <artifactId>hibernate-util</artifactId>
> > >                         <type>jar</type>
> > >                         <version>1.2.3</version>
> > >                 </dependency>
>
> > > Could anybody help me to understand why I get that error please ?
> > > Thank you very much !
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to