Nhib.pdf. mappingexception: No persister

Source: Internet
Author: User
1 nhibagia. Data. unittests. usertests. Create:
2 nhib.pdf. mappingexception: No persister for: nhibagia. Data. Models. User
3 In the position of nhib.pdf. impl. sessionfactoryimpl. getentitypersister (string entityname)
4
5 D: \ CSHARP \ NH \ nhib.pdf \ SRC \ nhib.pdf \ impl \ sessionfactoryimpl. CS: Row 470
6. In the position of nhib.pdf. impl. sessionimpl. getentitypersister (string entityname, object OBJ)
7
8 d: \ CSHARP \ NH \ nhib.pdf \ SRC \ nhib.pdf \ impl \ sessionimpl. CS: row number 2814
9 In nhib.pdf. event. Default. abstractsaveeventlistener. savewithgeneratedid (Object
10
11 entity, string entityname, object anything, ieventsource source, Boolean
12
13 requiresimmediateidaccess) Location
14
15 d: \ CSHARP \ NH \ nhibloud \ SRC \ nhibloud \ event \ Default \ logs actsaveeventlistener. CS: row number
16
17 107
18 In
19
20 nhibener. event. Default. defaultsaveorupdateeventlistener. savewithgeneratedorrequestedid
21
22 (saveorupdateevent event) Location
23
24 D: \ CSHARP \ NH \ nhibloud \ SRC \ nhibloud \ event \ Default \ defaultsaveorupdateeventlistener. CS
25
26: Row 162
27 in nhib.pdf. event. Default. defaultsaveeventlistener. savewithgeneratedorrequestedid
28
29 (saveorupdateevent event) Location
30
31 D: \ CSHARP \ NH \ nhibener \ SRC \ nhibener \ event \ Default \ defaultsaveeventlistener. CS: Row 29
32 In nhib.pdf. event. Default. defaultsaveorupdateeventlistener. entityistransient
33
34 (saveorupdateevent event) Location
35
36 D: \ CSHARP \ NH \ nhibloud \ SRC \ nhibloud \ event \ Default \ defaultsaveorupdateeventlistener. CS
37
38: Row 148
39 in nhib.pdf. event. Default. defaultsaveeventlistener. performsaveorupdate
40
41 (saveorupdateevent event) Location
42
43 D: \ CSHARP \ NH \ nhibener \ SRC \ nhibener \ event \ Default \ defaultsaveeventlistener. CS: row number 21
44 in nhib.pdf. event. Default. defaultsaveorupdateeventlistener. onsaveorupdate
45
46 (saveorupdateevent event) Location
47
48 D: \ CSHARP \ NH \ nhibener \ SRC \ nhibener \ event \ Default \ defaultsaveorupdateeventlistener. CS
49
50: row number 53
51 in the position of nhib.pdf. impl. sessionimpl. firesave (saveorupdateevent)
52
53 d: \ CSHARP \ NH \ nhib.pdf \ SRC \ nhib.pdf \ impl \ sessionimpl. CS: row number 2698
54 in the position of nhib.pdf. impl. sessionimpl. Save (Object OBJ)
55
56 D: \ CSHARP \ NH \ nhibloud \ SRC \ nhibloud \ impl \ sessionimpl. CS: row number 473
57 in the position of nhibagia. Data. Base. managerbase '2. Save (T entity)
58
59 F: \ learning \ nhibagia. Data \ nhibagia. Data \ base \ managerbase. CS: Row 131
60 in the position of nhibagia. Data. unittests. usertests. Create ()
61
62 F: \ learning \ nhibagia. Data \ nhibagia. Data \ unittests \ usertests. generated. CS: Row 54

Solution: Modify the attributes of the ***. HBM. xml file and change the generated operation to an embedded resource.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.