-->
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.  [ 1 post ] 
Author Message
 Post subject: No tuplizer found for entity-mode [MAP]
PostPosted: Wed Aug 31, 2005 3:34 am 
Newbie

Joined: Thu Aug 18, 2005 1:46 am
Posts: 4
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

[b]Hibernate version:[/b]

Hibernate 3.0

[b]Mapping documents:[/b]

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.srit.pacs.hibernate.CountryMaster" table="country_master">
<id name="id" type="int">
<column name="pk"/>
<generator class="increment"/>
</id>
<property name="countryName" column="country_name" type="string" not-null="true" />
<property name="description" column="description" type="string" />
</class>
</hibernate-mapping>


[b]Code between sessionFactory.openSession() and session.close():[/b]

[b]Full stack trace of any exception that occurs:[/b]

org.hibernate.HibernateException: No tuplizer found for entity-mode [MAP]
at org.hibernate.tuple.TuplizerLookup.getTuplizer(TuplizerLookup.java:142)
at org.hibernate.tuple.EntityMetamodel.getTuplizer(EntityMetamodel.java:87)
at org.hibernate.persister.entity.BasicEntityPersister.getTuplizer(BasicEntityPersister.java:2628)
at org.hibernate.persister.entity.BasicEntityPersister.getIdentifier(BasicEntityPersister.java:2947)
at com.salmonllc.hibernate.HibernateDataStore.buildCriteriaStringForRow(HibernateDataStore.java:271)
at com.salmonllc.jsp.JspDetailFormDisplayBox.doEdit(JspDetailFormDisplayBox.java:978)
at com.salmonllc.jsp.JspDetailFormDisplayBox.tryEdit(JspDetailFormDisplayBox.java:850)
at com.salmonllc.jsp.JspListFormDisplayBox.doEdit(JspListFormDisplayBox.java:670)
at com.salmonllc.jsp.JspListFormDisplayBox.submitPerformed(JspListFormDisplayBox.java:605)
at com.salmonllc.html.HtmlLink.executeEvent(HtmlLink.java:140)
at com.salmonllc.jsp.JspContainer.executeEvent(JspContainer.java:105)
at com.salmonllc.jsp.JspContainer.executeEvent(JspContainer.java:105)
at com.salmonllc.jsp.JspDataTable.executeEvent(JspDataTable.java:260)
at com.salmonllc.jsp.JspContainer.executeEvent(JspContainer.java:105)
at com.salmonllc.jsp.JspContainer.executeEvent(JspContainer.java:105)
at com.salmonllc.jsp.JspContainer.executeEvent(JspContainer.java:105)
at com.salmonllc.jsp.JspForm.executeEvent(JspForm.java:290)
at com.salmonllc.html.HtmlContainer.executeEvent(HtmlContainer.java:79)
at com.salmonllc.html.HtmlPage.processParms(HtmlPage.java:1355)
at com.salmonllc.jsp.JspController.doPost(JspController.java:737)
at com.salmonllc.jsp.tags.PageTag.doStartTag(PageTag.java:227)
at org.apache.jsp.Jsp.CountryMaster_jsp._jspx_meth_jade_page_0(org.apache.jsp.Jsp.CountryMaster_jsp:96)
at org.apache.jsp.Jsp.CountryMaster_jsp._jspService(org.apache.jsp.Jsp.CountryMaster_jsp:53)
at com.salmonllc.jsp.JspServlet.service(JspServlet.java:332)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
}
[b]Name and version of the database you are using:[/b]

MySql 4.0.18-standard

[b]The generated SQL (show_sql=true):[/b]

Hibernate: select distinct countrymas0_.pk as pk, countrymas0_.country_name as country2_0_, countrymas0_.description as descript3_0_ from country_master countrymas0_

[b]Debug level Hibernate log excerpt:[/b]


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

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.