http://hibernate4gwt.sourceforge.net/faq.html
Will solve some headaches... Oskar On 5 sep, 01:43, Alline <[EMAIL PROTECTED]> wrote: > I am importing the Hibernate libraries to my classpath already. > The problem is that I am trying to use the GWT Designer and this > application doesn't let me import any external library inside my > client package. > :( > > On Sep 4, 2:24 pm, Folke <[EMAIL PROTECTED]> wrote: > > > If you want to keep yourannotationson your entity classes and your > > entity classes inside client packages you have to includeHibernatein > > your classpath. The GWT compiler needs to know about them. > > > You can either strip theannotationsand map your entities with an > > hbm.xml or you make an annotation-less copy of each entity class and > > use them as data transfer object (DTOs). > > > May I ask why it is a problem to includeHibernatein your classpath > > when compiling your GWT app? Theseannotationsdo not appear in the > > JavaScript. > > > On Sep 4, 10:06 pm, Alline <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > I am using GWT and I had to put my Model package inside the GWT client > > > package. > > > The problem is that I am usingHibernateAnnotationsto persist my > > > data, and theannotationsstays inside the Model Classes. > > > So, I am forced to importHibernatelibraries inside to my client > > > package. > > > I didn't like that... > > > > Do you have a suggestion for a way that I can work together with > > >hibernateannotations, MVC and GWT ?- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
