Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2007, 12:14 PM
Member
 
Join Date: Apr 2007
Location: Singapore
Posts: 30
yuchuang is on a distinguished road
Send a message via MSN to yuchuang
Hibernate Error
org.hibernate.MappingException: Unknown entity: java.util.ArrayList

I got the above error when i click an image button, the image button is supposed to delete the record from the DB. I would like to know what is this error. I can't seem to solve it.

Thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-08-2007, 05:29 PM
Member
 
Join Date: Apr 2007
Location: Indiana
Posts: 84
pegitha is on a distinguished road
Send a message via Skype™ to pegitha
Can you put the application into debug, step thru it and then zone in on the exact code that is causing the error and post more information here? Apparently you do not have something mapped correctly in your hbm.xml file.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-15-2007, 12:24 PM
Member
 
Join Date: Apr 2007
Location: Singapore
Posts: 30
yuchuang is on a distinguished road
Send a message via MSN to yuchuang
I encounter another error. Following is the error.
java.lang.NullPointerException
org.apache.struts.config.FormBeanConfig.createActi onForm(FormBeanConfig.java:286)
org.apache.struts.config.FormBeanConfig.createActi onForm(FormBeanConfig.java:350)
org.apache.struts.chain.commands.CreateActionForm. execute(CreateActionForm.java:89)
org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:48)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:304)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:190)
org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:280)
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1858)
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:446)
javax.servlet.http.HttpServlet.service(HttpServlet .java:689)
javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
org.netbeans.modules.web.monitor.server.MonitorFil ter.doFilter(MonitorFilter.java:368)

I'm using Struts and Hibernate. I want to retrieve data from the DB and display it out but i got this error above. I don't understand where the null came from.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hibernate, help me Nick15 Database 2 06-05-2008 05:39 PM
Hibernate error Marty Database 4 06-04-2008 07:03 AM
org.hibernate.ejb.Version <clinit> INFO: Hibernate EntityManager 3.2.0.CR1 Heather Database 2 06-30-2007 05:01 PM
error in JBoss with hibernate, EJB3 and postgres Nick15 Eclipse 3 05-14-2007 07:10 PM
Hibernate Shuru Database 2 05-09-2007 07:39 PM


All times are GMT +3. The time now is 03:15 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org