Hibernate进阶之路——Mapping

目录

1.声明方式

  • 使用Java Persistence 2 annotations
  • 使用JPA 2 XML deployment descriptors
  • 使用hbm.xml

2.Entity 声明

2.1. xml风格

Advertisements

One thought on “Hibernate进阶之路——Mapping”

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s