Servlet « Database « JPA Q&A

1. First Hibernate project where to place addAnnotatedClass()

Hello all I'm trying to build up my first Hibernate project for a Web app, but i'm having some issues Trying to find out where to place the method:

AnnotationConfiguration config = 

2. Servlet/PostgreSQL example from documentation Hibernate2.1.1

Beginner Joined: Tue Jan 06, 2004 4:51 pm Posts: 48 Hi, I've checked the FAQs and I couldn't find an answer, but I keep getting: Code: java.lang.ExceptionInInitializerError at net.sf.hibernate.examples.quickstart.CatInsert.processRequest( I am trying out the very first tutorial example in the reference documentation. It is basically copy and pasted (HibernateUtil is word for word), except for this servlet Line 59 is ...

3. hsqldb servlet with hibernate