- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
hibernate面试比较经常问道的(Hibernate interviews are more frequently asked)
hibernate面试比较经常问道的(Hibernate interviews are more frequently asked)
Whats the function of the 1.Hibernate framework?
Hibernate is a database access (persistence layer) framework, which simplifies the additions and deletions of databases.
The essence of the Hibernate framework is encapsulation of JDBC technology.
The original JDBC technology operation database has the following problems:
A. writes complex SQL statements
B. needs encoding to complete the mapping between the entity object and the database record
C. database migration is poor, for example, different database paging query is different
---------------------------------------
EJB: enterprise JavaBean requires EJB containers to use.
The EntityBean component of type EJB can be mapped to the database record.
Hibernate has been acquired by JBOSS, using it to implement EntityBean components
------------------------------------------
The advantages of the Hibernate framework are as follows:
A. simplifies complex SQL statements and is automatically generated by Hibernate
The b.Hibernate framework supports a wide variety of current mainstream database types,
When you are porting a database, you can access the code without modifying it.
C. can map database table records and entity objects.
2.Hibernate framework implementation principle
The Hibernate framework is implemented on the basis of ORM.
ORM:Object Relation Mapping object relation mapping.
Refers to mapping the objects in an application and the records in the relational data table. After that, the application can operate on the database as long as the objects are operated. When inserting, you can map object information to data tables; when you query, you can map data table records into objects.
ORM tools: Hibernate, iBATIS, JPA, and other technologies.
*3.Hibernate framework usage
1) Hibernate frame structure
A. entity classes (n)
An object used to encapsulate database records
B.hibernate.cfg.xml (hibernate.properties) (1)
The main configuration file defines
您可能关注的文档
- 100句肉麻的话(The 100 sentence of disgusting words).doc
- 100成语(100 idioms).doc
- 100部好看的校园喜剧片(可练习英文) 美国校园青春励志电影(100 good-looking campus comedy (can practice English) American campus youth inspirational film).doc
- 100句肉麻情话及其点评(100 words and sentences nauseating comments).doc
- 10个减肥雷招 吃着变瘦(10 weight loss Lei Zhao, eating thin).doc
- 10大标准测你是不是优质美女_养生堂_新浪博客(10 standard test you are not good _ honyaradoh _ beauty Sina blog).doc
- 10年高考常考化学方程式及其离子反应方程1(The chemistry equation and its ion reaction equation are often tested in the 10 year college entrance examination. 1).doc
- 10天攻克英语四六级词汇堡垒第2天(10 days to conquer English class 46, vocabulary fortress second days).doc
- 10种常见心理问题解答(Answers to 10 common psychological problems).doc
- 10道测试题可计算你是否有早衰(10 test questions can calculate whether you have premature senility).doc
- hr总监应做好的十件事(Ten things a HR director should do well).doc
- hr(人力资源).doc
- http头信息详解(HTTP header information detailed).doc
- hypersonic2 音色表 对应中文参照(编曲)(Hypersonic2 tone table corresponds to Chinese reference (arranger)).doc
- h语言文字(H language).doc
- idea快捷键(思想快捷键).doc
- ili9331芯片液晶屏初始化测试代码(1.46k)(Ili9331 chip LCD initialization test code (1.46k)).doc
- impi测试(Impi测试).doc
- ie(IE).doc
- index of 在网络搜索中的应用(Application of index of in network search).doc
文档评论(0)