`
wangyanlong0107
  • 浏览: 499743 次
  • 性别: Icon_minigender_1
  • 来自: 沈阳
社区版块
存档分类
最新评论

【转】An association from the table * refers to an unmapped class: *

 
阅读更多

解决方法:
class路径没写正确。
有三个地方需要注意
1、<hibernate-mapping package="">
2、<class name="com.model.RoleInfo">
3、<set name="userInfos" table="ROLEOFUSER" inverse="false">
            <key column="ROLEID">
            </key>
            <many-to-many column="USERID" class="com.model.UserInfo" />
        </set>
        
        
        建议:最好写在第一个地方,这样下面就可以不用写很长的包名了

分享到:
评论

相关推荐

    VisualFoxPro6.0中文版命令手册.pdf

    - **REST:** Refers to all records from the current record to the end of the table. - **FIELDS 字段名列表:** Specifies the fields (columns) on which the command operates. - **FOR 条件:** Executes the ...

    Unreal Engine 4.X By Example

    - **Creating the Character’s Camera**: Setting up a camera to follow the character. - **Game Modes and How to Make Them**: Defining the rules of the game. - **Creating and Receiving Input Events**: ...

    Packt.Mastering.Csharp.and.NET.Programming

    - **State**: Refers to the current condition or status of an object, which can be changed by methods and stored in fields. - **Program State**: The overall state of a program, including all objects'...

    C PROGRAMMING TUTORIAL

    - **Lvalue:** An expression that refers to a memory location and can appear on the left-hand side of an assignment. - **Rvalue:** An expression representing a value that can appear on the right-hand ...

    汽车英语单词英语学习者,汽车从业者,智能驾驶入门.txt

    - **例句**:In manufacturing, tolerance refers to the allowable variation in dimensions or performance of a part. #### 10. Inertial Navigation - **名词**:惯性导航 - **例句**:Inertial navigation ...

    AWS certified solutions architect associate exam sample

    - **Option C**: Creating an Identity and Access Management (IAM) User for CloudFront and granting access to the objects in your S3 bucket to that IAM User is not the correct approach as IAM users ...

    CSharp英语

    In C#, `Sign` typically refers to the `Math.Sign` method, which returns an integer that indicates the sign of a number. ```csharp using System; class Program { static void Main() { double num = -...

    VCAP5-DCD Study outline

    However, based on the context, we can infer that this refers to the specific functions or capabilities that a system or component must have to meet the defined business and technical requirements....

    解决docker报错The push refers to a repository_docker load

    解决docker报错The push refers to a repository

    CSharp 3.0 With the .NET Framework 3.5 Unleashed(english)

    - **Implicit Implementation**: Implicit implementation occurs when a class implements an interface method without specifying the interface name. - **Explicit Implementation**: Explicit implementation ...

    Bitter Java

    - **Protective Barrier:** In the context of software development, this likely refers to measures or strategies designed to shield systems from external threats such as security breaches or data ...

    Cobol常见面试题

    - **Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the array:** 下标指的是数组的出现位置,而索引是从数组开始处的位移(以字节计)。...

    Syngree Press:Managing Catastrophic Loss of Sensitive Data A Guide for IT and Security Professionals(Mar 2008).pdf

    - **Definition:** Sensitive data refers to information that is confidential or proprietary in nature, which, if disclosed, could result in legal, financial, or reputational harm to an individual or ...

    RF Microelectronics 2nd

    "RF Microelectronics 2nd" refers to the second edition of the book "RF Microelectronics" authored by Behzad Razavi. This textbook is a comprehensive guide on radio frequency (RF) microelectronics, ...

    iMON & iMEDIAN HD User's Guide(ENG)

    Overall, the iMON & iMEDIAN HD User's Guide provides a comprehensive guide to using these powerful media tools effectively, covering everything from basic setup to advanced customization. Whether you ...

    ILI9331AN_V0.2.pdf

    Based on the given information from "ILI9331AN_V0.2.pdf," we can extract several key points related to the ILI9331 a-Si TFT LCD single chip driver, which supports a resolution of 240RGBx320 and 262K ...

    PCB术语中英文对照

    - *PCB Design*: Refers to the process of laying out and routing a PCB. 3. **元器件**: 电子设备中的基本构成单元。 - *Component*: Basic building block in electronic devices. 4. **封装**: 元件或芯片...

    PIC16F639PIC12F635_PIC16F636_639_Data_Sheet

    - **DC to 20 MHz Oscillator/Clock Input:** The MCUs can operate over a wide range of clock frequencies, from direct current (DC) up to 20 MHz. - **200 ns Instruction Cycle:** This fast instruction ...

    Introduction to Python Programming and Developing GUI Applications with PyQT

    The given document refers to PyQt4, which was the version of PyQt that was current at the time of publication in 2012. PyQt4 includes several modules, each providing different functionalities: - **...

    重庆大学操作系统试卷

    - **题目**: The degree of multiprogramming refers to the number of processes in memory. - **解析**: 正确。多道程序度是指内存中同时存在的进程数量。 3. **非抢占式调度算法** - **题目**: Which of the ...

Global site tag (gtag.js) - Google Analytics