`
wangyanlong0107
  • 浏览: 480856 次
  • 性别: 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>
        
        
        建议:最好写在第一个地方,这样下面就可以不用写很长的包名了

分享到:
评论

相关推荐

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

    解决docker报错The push refers to a repository

    SSD7 选择题。Multiple-Choice

    (b) the name of the table, the names of the table's attributes, the data types of the table's attributes, the formats of the table's attributes, and the maximum number of rows that the table can have...

    Progress/OpenEdge语言手册

    However, if at run time the passed dynamic temp-table schema does not match the schema of the static temp-table parameter, the AVM raises an error.” The following sentence refers to run-time actions...

    鸢尾花数据

    where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are NOT linearly separable from each other. --- Predicted attribute: class of iris ...

    机器学习之Iris数据集

    (See Duda & Hart, for example.) The data set contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class is linearly separable from the other 2; the latter are...

    Docker push报错 :denied: requested access to the resource is denied

    在排除没有登录和网络的原因:我还是报的如下错误 原因镜像的名字没有按照...The push refers to repository [docker.io/langxuhao/my_redis] cd1b418d5a74: Pushed ddf2402ca3ea: Pushed 00352274272b: Pushed a0e3c

    An Imaginary Tale The Story Of I - Paul J Nahin

    At the very beginning of his book on i, the square root of minus one, Paul Nahin warns his readers: "An Imaginary Tale has a very strong historical component to it, but that does not mean it is a ...

    微软内部资料-SQL性能优化3

    holds an exclusive lock at the table level, and another transaction (T2) holds an exclusive lock at the row level, each of the transactions believe they have exclusive access to the resource....

    计算机网络第六版答案

    An ISP earns its money by charging each of the the ISPs that connect to the IXP a relatively small fee, which may depend on the amount of traffic sent to or received from the IXP. 15. Google's ...

    WINCC读写SQL数据库的例子

    本代码为文章:WINCC读写SQL数据库的例子【附wincc项目文件】的实例文件。

    单片机概述英文档(SCM Overview)

    Refers to an integrated single-chip at a chip on the integrity of computer systems. Even though most of his features at a small chip on, but it has a complete computer most of the necessary components...

    A Practical Introduction to Machine Learning Concepts for Actuaries

    A Practical Introduction to Machine Learning Concepts for Actuaries Alan Chalk, FIA, MSc, and Conan McMurtrie MSc Abstract Motivation. Supervised Learning - building predictive models based on past ...

    SQL The Ultimate Beginner's Guide to Learn SQL Programming

    The SQL language refers to nonprocedural languages - it only describes the necessary components (for example, tables) and the desired results, without specifying how these results should be ...

    Multisim MCU Module

    When this guide refers to a toolbar button, an image of the button appears in the left column. This guide uses the convention Menu/Item to indicate menu commands. For example, file/Open” means ...

    a project model for the FreeBSD Project.7z

    Often used more narrowly in reference to an external deliverable, which is a deliverable that is subject to approval by the project sponsor or customer” by [PMI, 2000]. Examples of outcomes are a ...

    Internet of Things A to Z pdf

    The Internet of Things refers to uniquely identifiable objects and their virtual representations in an Internet-like structure. Recently, there has been a rapid growth in research on IoT ...

    Turbo C++ 3.0[DISK]

    - C++ 2.1 support, including the new nested class specifications, and support of C++ 3.0 templates. - Support for pre-compiled headers for substantial time savings during subsequent recompiles. ...

    Turbo C++ 3.00[DISK]

    - C++ 2.1 support, including the new nested class specifications, and support of C++ 3.0 templates. - Support for pre-compiled headers for substantial time savings during subsequent recompiles. ...

    The Internet of Things with Swift for iOS

    The Internet of Things refers to the push to make applications and hardware devices, or “things,” “smart” by receiving or logging data from the Internet and other things. The goal of the Internet ...

    Universal-USB-Installer

    refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of...

Global site tag (gtag.js) - Google Analytics