-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: javax.servlet.ServletException: could not insert:
PostPosted: Sun Sep 07, 2008 1:08 am 
Newbie

Joined: Sun Aug 31, 2008 12:01 am
Posts: 3
Location: Los Angeles
Hi!

I'm having this error when I ran the hibernate sample Event class:

javax.servlet.ServletException: could not insert: [myservlet.Event]

Can anybody help me on this...


Nelson


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 7:53 pm 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Do you have any more information on the error? Is the database up? Does the system work when you're not using a Servlet?

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 11:01 pm 
Newbie

Joined: Sun Aug 31, 2008 12:01 am
Posts: 3
Location: Los Angeles
Hi!

the whole message is this:

javax.servlet.ServletException: could not insert: [myservlet.Event]
myservlet.EventManagerServlet.doGet(EventManagerServlet.java:59)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Yes my database is running and I'm using MySql 5.0.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 11:03 pm 
Newbie

Joined: Sun Aug 31, 2008 12:01 am
Posts: 3
Location: Los Angeles
And yes the system is running without the servlet.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.