Hibernate的组件问题

来源:3-5 [Hibernate单表操作] 组件属性

Night离

2017-01-12 13:29

组件有问题啊,用注解的,百度说Address没有主键,不知道怎么弄

2017-1-12 13:20:50 org.hibernate.annotations.common.Version <clinit>

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

2017-1-12 13:20:50 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.1.4.Final}

2017-1-12 13:20:50 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

2017-1-12 13:20:50 org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

2017-1-12 13:20:50 org.hibernate.cfg.Configuration configure

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

2017-1-12 13:20:50 org.hibernate.cfg.Configuration getConfigurationInputStream

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

2017-1-12 13:20:50 org.hibernate.cfg.Configuration doConfigure

INFO: HHH000041: Configured SessionFactory: null


写回答 关注

1回答

  • 梦之蓝天
    2017-01-12 18:22:18

    能不能把你源码贴出来看一下?好找有什么问题

Hibernate初探之单表映射

Java持久化框架Hibernate入门教程,掌握Hibernate基本概念

74810 学习 · 793 问题

查看课程

相似问题