问答详情
源自:1-5 生成实体类的对象关系映射文件

报错怎么啊

七月 07, 2016 9:09:54 下午 org.hibernate.annotations.common.Version <clinit>

INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}

七月 07, 2016 9:09:54 下午 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.2.4.Final}

七月 07, 2016 9:09:54 下午 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

七月 07, 2016 9:09:54 下午 org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

七月 07, 2016 9:09:55 下午 org.hibernate.cfg.Configuration configure

INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml

七月 07, 2016 9:09:55 下午 org.hibernate.cfg.Configuration getConfigurationInputStream

INFO: HHH000040: Configuration resource: /hibernate.cfg.xml

七月 07, 2016 9:09:55 下午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: entity/Users.hbm.xml

七月 07, 2016 9:09:55 下午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: entity/Students.hbm.xml

七月 07, 2016 9:09:55 下午 org.hibernate.cfg.Configuration doConfigure

INFO: HHH000041: Configured SessionFactory: null

七月 07, 2016 9:09:55 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)

七月 07, 2016 9:09:55 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000115: Hibernate connection pool size: 20

七月 07, 2016 9:09:55 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000006: Autocommit mode: false

七月 07, 2016 9:09:55 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql:///test?useUnicode=true&characterEncoding=UTF-8]

七月 07, 2016 9:09:55 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000046: Connection properties: {user=root, password=****}

七月 07, 2016 9:09:56 下午 org.hibernate.dialect.Dialect <init>

INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect

七月 07, 2016 9:09:56 下午 org.hibernate.engine.jdbc.internal.LobCreatorBuilder useContextualLobCreation

INFO: HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4

七月 07, 2016 9:09:56 下午 org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService

INFO: HHH000399: Using default transaction strategy (direct JDBC transactions)

七月 07, 2016 9:09:56 下午 org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>

INFO: HHH000397: Using ASTQueryTranslatorFactory

七月 07, 2016 9:09:56 下午 org.hibernate.validator.util.Version <clinit>

信息: Hibernate Validator bean-validator-3.0-JBoss-4.0.2


提问者:qq_黑色契约_0 2016-07-07 21:54

个回答

  • qq_黑色契约_0
    2016-07-07 22:12:24

    找到了 <generator class="assigned"/><!-- 手工赋值 -->    assigned单词写错了