Hi Jim/all
I have solved my problem
I have used c3p0 and its basic configuration, to do its work for me.
To use c3p0, I have configured my hibernate.cfg.xml file,
hibernate.properties file, Tomcat Context.xml file and add the
c3p0.jar file to my CLASSPATH that can be downloaded either from
http://sourceforge.net/projects/c3p0 or it also comes along with
Hibernate distribution.
The documentation comes along with the bundle of c3p0 and the
hibernate documentation helped me a lot to place all things in place:
Regards
Raul
> You have to explicitly throw any exceptions in all service methods.
>
> Jimhttp://www.gwtorm.comFor GWT ORMhttp://
code.google.com/p/dreamsource-orm/downloads/list
> > At present I am trying to integrate GWTHibernateand MySQL in
> > Tomcat5. I am usingHibernateto access my database in a servlet as
>
> > public class DBConnectionImpl extends RemoteServiceServlet implements
> > DBConnection {
> > private Session session;
>
> > public DBConnectionImpl() {
> > try {
> > session = HibernateUtil.getSessionFactory().openSession();
> > } catch (Exception ex) {
> > ex.printStackTrace();
> > }
> > }
>
> > }
>
> > I have configured all the necessaryHibernaterequirements like
> > I am new to both GWT andHibernate... :-)
>
> > Thanks in advance
> > Raul