-->
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: mappingexception no persister for
PostPosted: Tue Aug 31, 2010 9:56 am 
Newbie

Joined: Tue Aug 31, 2010 9:47 am
Posts: 2
hello all.
i have it error
Image

Uploaded with ImageShack.us


Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" auto-import="true">
<class name="DocsContainer.documents, DocsContainer" lazy="false">
   <id name="id" access="field">
     <generator class="native" />
   </id>
   <property name="name" access="field" column="name"/>
   <property name="date" access="field" column="date"/>
   <property name="author" access="field" column="author"/>
   <property name="doclink" access="field" column="doclink"/>
</class>
</hibernate-mapping>


use table
Code:
CREATE TABLE documents(
    id int identity PRIMARY KEY,
    name nvarchar(50),
    date datetime,
author  nvarchar(50),
doclink nvarchar(50)
)


name BD- DocsContainer.
Code:
<class name="DocsContainer.documents, DocsContainer" lazy="false">

change on
Code:
<class name="WebApplication1.documents, WebApplication1" lazy="false">

are you may help?


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.