-->
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.  [ 7 posts ] 
Author Message
 Post subject: HibernateSessionFactory :: Error Creating SessionFactory
PostPosted: Tue Mar 03, 2009 8:11 am 
Newbie

Joined: Tue Mar 03, 2009 6:43 am
Posts: 4
Location: Kolkata
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

[b]Hibernate version: 3.2.2.GA [/b]

[b]Mapping documents: [/b]

[b]Code between sessionFactory.openSession() and session.close():
[code] [quote]
<session-factory name="HibernateSesionFactory">
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.password">fin1</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@172.31.1.4:1521:isfms</property>
<property name="hibernate.connection.username">fin1</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property name="show.query">true</property>
<mapping resource="com/cmcltd/itms/security/beans/MmGenUser.hbm.xml"/>
<mapping resource="com/cmcltd/itms/security/beans/MdGenRole.hbm.xml"/>


<mapping resource="com/cmcltd/itms/admin/beans/MmGenMenu.hbm.xml"/>

<mapping resource="com/cmcltd/itms/admin/beans/MmGenSubsystem.hbm.xml"/>
<mapping resource="com/cmcltd/itms/admin/beans/MdGenActivity.hbm.xml"/>
<mapping resource="com/cmcltd/itms/admin/beans/MdGenModule.hbm.xml"/>
<mapping resource="com/cmcltd/itms/admin/beans/MdGenUserRole.hbm.xml"/>
<mapping resource="com/cmcltd/itms/admin/beans/MdGenRoleActivity.hbm.xml"/>
<mapping resource="com/cmcltd/itms/admin/beans/MdGenActivityUrl.hbm.xml"/>


<mapping resource="com/cmcltd/itms/accoundhead/beans/MmGenDemandNumber.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MmGenMajorhead.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MdGenSubmajorhead.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MdGenMinorhead.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MmGenHoaLevel4.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MmGenHoaLevel5.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MdGenHoaLevel6.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MmGenPlanstatus.hbm.xml"/>
<mapping resource="com/cmcltd/itms/accoundhead/beans/MmGenHoa.hbm.xml"/>

<mapping resource="com/cmcltd/itms/master/payment/beans/MmGenRejection.hbm.xml"/>
<mapping resource="com/cmcltd/itms/master/payment/beans/MmGenBillType.hbm.xml"/>
<mapping resource="com/cmcltd/itms/master/payment/beans/MdGenBillType.hbm.xml"/>
<mapping resource="com/cmcltd/itms/master/payment/beans/MmPayBytransferHead.hbm.xml"/>

<mapping resource="com/cmcltd/itms/master/general/beans/MmGenCo.hbm.xml"/>
<mapping resource="com/cmcltd/itms/master/general/beans/MmGenDdo.hbm.xml"/>
<mapping resource="com/cmcltd/itms/master/general/beans/MmGenDepartment.hbm.xml"/>
</session-factory>[/quote]
[/code][/b]

[b]Full stack trace of any exception that occurs: [quote]
17:27:57,515 INFO Configuration:1460 - configuring from resource: /resources/hibernate.cfg.xml
17:27:57,515 INFO Configuration:1437 - Configuration resource: /resources/hibernate.cfg.xml
17:27:57,515 INFO Configuration:586 - Reading mappings from resource : com/cmcltd/itms/security/beans/MmGenUser.hbm.xml
17:27:57,531 INFO Mappings:161 - duplicate import: com.cmcltd.itms.security.beans.MmGenUser->com.cmcltd.itms.security.beans.MmGenUser
17:27:57,531 INFO Mappings:161 - duplicate import: com.cmcltd.itms.security.beans.MmGenUser->MmGenUser
17:27:57,531 INFO HbmBinder:322 - Mapping class: com.cmcltd.itms.security.beans.MmGenUser -> MM_GEN_USER
HibernateSessionFactory :: Error Creating SessionFactory
org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/cmcltd/itms/security/beans/MmGenUser.hbm.xml
at org.hibernate.cfg.Configuration.addResource(Configuration.java:602)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1462)
at com.cmcltd.itms.HibernateSessionFactory.rebuildSessionFactory(HibernateSessionFactory.java:61)
at com.cmcltd.itms.HibernateSessionFactory.getSession(HibernateSessionFactory.java:45)
at com.cmcltd.itms.security.LoginInitializedAction.execute(LoginInitializedAction.java:50)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:54)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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:595)
Caused by: org.hibernate.DuplicateMappingException: Duplicate class/entity mapping com.cmcltd.itms.security.beans.MmGenUser
at org.hibernate.cfg.Mappings.addClass(Mappings.java:141)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:167)
at org.hibernate.cfg.Configuration.add(Configuration.java:702)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:537)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:599)
... 43 more
17:27:57,531 WARN RequestProcessor:516 - Unhandled Exception thrown: class java.lang.NullPointerException
17:27:57,546 ERROR [action]:704 - Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at com.cmcltd.itms.security.LoginInitializedAction.execute(LoginInitializedAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:54)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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:595)
17:27:57,562 ERROR [jsp]:253 - Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at com.cmcltd.itms.security.LoginInitializedAction.execute(LoginInitializedAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:54)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
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:595)
[/b][/quote]

[b]Name and version of the database you are using:
The database I am using is Oracle 10g . Server is Tomcat 6.0
[/b]

Problem is very confusing. THey r showing the problem is with table mmGenUser, whether I am working with the table MdGenActivityUrl. Wheneever I am trying to map this table, a duplicate entry problem is coming as the exeption. That error I cant solve.

Read this: http://hibernate.org/42.html

_________________
Raka Mookherjee
IT Engineer
Kolkata


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 03, 2009 9:01 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
Are you sure you don't map MmGenUser twice, once in MmGenUser.hbm.xml and once in another mapping document? Maybe you have made a copy-paste mistake when creating your mapping so that somewhere else MmGenUser is mapped?

_________________
-----------------
Need advanced help? http://www.viada.eu


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 1:02 am 
Newbie

Joined: Tue Mar 03, 2009 6:43 am
Posts: 4
Location: Kolkata
Not at all....... I have checked the file several times.... but I could not find any duplicate entry there.....
I am both puzled and confused...
[b]Here I am pasting the MdGenAcitvityUrl.hbm.xml file first[/b] :

[code]

<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Feb 20, 2009 12:01:52 PM by Hibernate Tools 3.2.2.GA -->
<hibernate-mapping>
<class name="com.cmcltd.itms.admin.beans.MdGenAcitvityUrl"
schema="FINANCE" table="MD_GEN_ACITVITY_URL">
<composite-id class="com.cmcltd.itms.admin.beans.MdGenAcitvityUrlId"
mapped="false" name="id" unsaved-value="undefined">
<key-property name="actSubSystemId" type="int">
<column name="ACT_SUB_SYSTEM_ID" precision="1" scale="0"/>
</key-property>
<key-property name="actModuleId" type="int">
<column name="ACT_MODULE_ID" precision="2" scale="0"/>
</key-property>
<key-property name="activityId" type="int">
<column name="ACTIVITY_ID" precision="4" scale="0"/>
</key-property>
<key-property name="mnuSubSystemId" type="int">
<column name="MNU_SUB_SYSTEM_ID" precision="1" scale="0"/>
</key-property>
<key-property name="mnuModuleId" type="int">
<column name="MNU_MODULE_ID" precision="2" scale="0"/>
</key-property>
<key-property name="menuId" type="int">
<column name="MENU_ID" precision="3" scale="0"/>
</key-property>
</composite-id>
<property generated="never" lazy="false" name="activeFlag" type="string">
<column length="1" name="ACTIVE_FLAG"/>
</property>
<property generated="never" lazy="false" name="userId" type="long">
<column name="USER_ID" not-null="true" precision="6" scale="0"/>
</property>
<property generated="never" lazy="false" name="createdTimestamp" type="timestamp">
<column length="7" name="CREATED_TIMESTAMP"/>
</property>
<property generated="never" lazy="false" name="modifiedTimestamp" type="timestamp">
<column length="7" name="MODIFIED_TIMESTAMP"/>
</property>
</class>
</hibernate-mapping>

[/code]


[b]and next the MmGenUser.hbm.xml file is here [/b]
[code]

<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Nov 18, 2008 4:49:02 PM by Hibernate Tools 3.2.2.GA -->
<hibernate-mapping>
<class name="com.cmcltd.itms.security.beans.MmGenUser" schema="FINANCE" table="MM_GEN_USER">
<id name="userId" type="java.lang.Integer">
<column name="USER_ID" precision="6" scale="0"/>
<generator class="assigned"/>
</id>
<property generated="never" lazy="false" name="userName" type="string">
<column length="100" name="USER_NAME" not-null="true"/>
</property>
<property generated="never" lazy="false" name="loginId" type="string">
<column length="12" name="LOGIN_ID" not-null="true"/>
</property>
<property generated="never" lazy="false" name="passwd" type="string">
<column length="50" name="PASSWD" not-null="true"/>
</property>
<property generated="never" lazy="false" name="subSystemId" type="integer">
<column name="SUB_SYSTEM_ID" not-null="true" precision="1" scale="0"/>
</property>
<property generated="never" lazy="false" name="departmentCode" type="string">
<column length="3" name="DEPARTMENT_CODE"/>
</property>
<property generated="never" lazy="false" name="parentTreasuryCode" type="string">
<column length="4" name="PARENT_TREASURY_CODE"/>
</property>
<property generated="never" lazy="false" name="treasuryCode" type="string">
<column length="4" name="TREASURY_CODE"/>
</property>
<property generated="never" lazy="false" name="coCode" type="string">
<column length="6" name="CO_CODE"/>
</property>
<property generated="never" lazy="false" name="ddoCode" type="string">
<column length="9" name="DDO_CODE"/>
</property>
<property generated="never" lazy="false" name="empCode" type="string">
<column length="10" name="EMP_CODE"/>
</property>
<property generated="never" lazy="false" name="userType" type="string">
<column length="1" name="USER_TYPE"/>
</property>
<property generated="never" lazy="false" name="defaultRole" type="integer">
<column name="DEFAULT_ROLE" not-null="true" precision="2" scale="0"/>
</property>
<property generated="never" lazy="false" name="activeFlag" type="string">
<column length="1" name="ACTIVE_FLAG" not-null="true"/>
</property>
<property generated="never" lazy="false" name="lastAccessedBy" type="integer">
<column name="LAST_ACCESSED_BY" precision="5" scale="0"/>
</property>
<property generated="never" lazy="false" name="lastLoginOn" type="timestamp">
<column length="7" name="LAST_LOGIN_ON"/>
</property>
<property generated="never" lazy="false" name="createdTimestamp" type="timestamp">
<column length="7" name="CREATED_TIMESTAMP" not-null="true"/>
</property>
<property generated="never" lazy="false" name="modifiedTimestamp" type="timestamp">
<column length="7" name="MODIFIED_TIMESTAMP" not-null="true"/>
</property>
</class>
</hibernate-mapping>

[/code]

Is there any problem here in these two xml files. Does they conflict anywhere??

PLEASE HELP ME...... I am stucked to this problem for quite a long time unnecessarily...

_________________
Raka Mookherjee
IT Engineer
Kolkata


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 4:09 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
Have you found this?
Maybe there is another hibernate.cfg.xml somewhere in your classpath?

_________________
-----------------
Need advanced help? http://www.viada.eu


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 4:17 am 
Newbie

Joined: Tue Mar 03, 2009 6:43 am
Posts: 4
Location: Kolkata
no sir...... this is the only one hibernate.cfg.xml file in my classpath . this is the only one I am using ..

_________________
Raka Mookherjee
IT Engineer
Kolkata


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 04, 2009 4:34 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
The link I posted states some other solutions. Did you try them?

_________________
-----------------
Need advanced help? http://www.viada.eu


Top
 Profile  
 
 Post subject: Got the solution
PostPosted: Wed Mar 04, 2009 6:33 am 
Newbie

Joined: Tue Mar 03, 2009 6:43 am
Posts: 4
Location: Kolkata
Hi all,

I have solved the problem -- :-)

But this was a silly mistake :

1. The table name MdGenActivityUrl was wrongly spelled. it was spelled like MdGenAcitvityUrl. SO mapping could not be found with this table. And the problem was coming .

Anyway, Sorry for disturbing all And thanks for ur all ur help & timings.

Hope to get help from all of u in future again..

Bye !

_________________
Raka Mookherjee
IT Engineer
Kolkata


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 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.