Download hibernate4gwt. It is the predecessor of Gilead. There are samples
there on how to use Spring + JPA.
Try the samples, understand how it works, and then move to Gilead. It is
just a matter of changing a few definitions.


If you cant find it, mail me and I will send you the samples.

Alex


On Tue, Sep 8, 2009 at 11:17 PM, Thomas Holmes <thomas.j.hol...@gmail.com>wrote:

>
> Would you have some sample code that I could see ... or a link to
> some.
>
> I'm going to continue looking through my book, and use their example
> that uses the Command Pattern.
>
> I am getting tons of errors because my DAO's and POJO's are in another
> package, so I was working with GWT Modules to try and make that work.
> I finally gave that up and tried to move that code closer to the
> Client directory ... and there a still a ton of errors.
>
> The most bothersome was in my UserDaoImpl where I have a
> "getHibernateTemplate" method, and it says that the source code isn't
> there.
>
> So ... it is driving me crazy ...
>
> Thanks!
>                            Tom
>
> On Sep 8, 4:04 pm, David Durham <david.durham...@gmail.com> wrote:
> > > After research in this group, and on Google in general, I have found
> > > that I should look at Gilead.
> > > So, I downloaded the latest jars and the latest sample (using GWT 1.6)
> > > and sure enough, AGAIN, the sample uses hibernate.cfg.xml and
> > > Object.hbm.xml files ....
> >
> > I was able to make GWT and Hiberate (JPA annotations) work without
> > Gilead.  I just used the underlying beanlib replicators to undo the
> > cglib or javassist stuff before serializing to client.
> >
> > -Dave
> >
>

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

Reply via email to