zoukankan      html  css  js  c++  java
  • hibernate注解的包

    hibernate实体类的注解Entity和Table、Id、Column、GeneratedValue引入的是javax.persistence.Entity;和javax.persistence.Table等;而不是org.hibernate.annotations.Entity;和org.hibernate.annotations.Table等;导入的包是ejb3-persistence.jar;GenericGenerator引入的是org.hibernate.annotations.GenericGenerator,导入的包是hibernate-annotations.jar

    Hibernate JPA依赖的JAR包:
      1、Hibernate核心包(8个文件)
      hibernate-distribution-3.3.1.GA
      hibernate3.jar
      libytecodecglibhibernate-cglib-repack-2.1_3..jar
      lib equired*.jar
      2、Hibernate注解包(3个文件)
      hibernate-annotations-3.4.0.GA
      hibernate-annotations.jar
      libejb3-persistence.jar
      hibernate-commons-annotations.jar
      3、Hibernate针对JPA的实现包(3个文件)
      hibernate-entitymanager-3.4.0.GA
      hibernate-entitymanager.jar
      lib estlog4j.jar
      slf4j-log4j12.jar

  • 相关阅读:
    添加日志文件
    C库函数对文件的操作
    getpass的使用
    C语言实现 冒泡排序 选择排序 希尔排序
    批量Ping执行Bash脚本
    Script
    echo
    Centos7 pxe
    Rsync 参数
    Ip HostName查询
  • 原文地址:https://www.cnblogs.com/cyy-13/p/7405207.html
Copyright © 2011-2022 走看看