zoukankan      html  css  js  c++  java
  • SSH出错--hibernate--org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [from User]

    String queryString = "from user  where u.userName= ? and u.userPassword  = ?";

    -----------------------------------------------------------

    改为:

    String queryString = "from User  where u.userName= ? and u.userPassword  = ?";

    我估计是因为:

     <mapping resource="com/meetcomet/entity/User.hbm.xml" />

  • 相关阅读:
    C
    B
    A
    F
    C
    H
    Fang Fang hdu 5455
    Fire Net hdu1045(DFS)
    Sudoku HDU 5547(DFS)
    UVA 10200 Prime Time (打表)
  • 原文地址:https://www.cnblogs.com/meetcomet/p/3449227.html
Copyright © 2011-2022 走看看