Dirty Checking
- Concept : understand dirty checking concept
- Implementation : understand mechanism in hibernate
- Behaviour : difference between properties and collection
Hibernate Components
This category contains questions regarding the setup of Hibernate (configuration files, mapping files, ...); usefulness and use of important methods for configuration.
- Configuration : understand the basic Configuration object methods (addClass(Class persistentClass), addFile(), ...) How to get a SessionFactory Object,
- SessionFactory Object : understand the basic methods ( openSession(), how to get entity metadatas, ...)
- Property files, hibernate.properties vs. hibernate.cfg.xml, explicit loading
- Dialects : Basic information found in a dialect, how to configure, how hibernate uses it.
Lifecycle States and Transition
Understand entities lifecycle (Transient, Persistent, Detached) and state transition.
- States : Reading code being able to define what is the state of an entity.
- Session APIs : Programmatic ways to check the state (Session API)
- State Transition Session APIs : Understand the Session APIs related to entity state (persist(), save(), evict(), ...)
- Understand Flushing mechanism
POJO Classes Structure and Simple mapping
What are the basic requirements for POJO classes and how to map them in .hbm.xml files
- Constructor requirements : access modifier allowed, Is constructor mandatory, are parameters allowed.
- equals() & hashCode() : Understand correct equals() & hashCode() implementations.
- getters() & setters() : Know how to implement getters and setters, are they mandatory, field/property access.
- Identifier property : Know how to map and implement id, composite id, generators, custom generators. Understand generator mechanism.
- Basic Mapping : How to define a particular SQL type for a column, how to map a class on multiple table, ...
- Attributes for the <class> element and their meaning
- Attributes for the <property> element and their meaning
Types
- Hibernate Types : difference between Entity and ValueType, know how to implement Component, Component Collections, ...
- Custom Types : How to implement UserType and CompositeUserType, understand the mechanism
- Understand the use of the org.hibernate.usertype.ParameterizedType interface.
分享到:
相关推荐
论本土资源与法治的矛盾冲突 - - --兼谈法治的渊源与理念.docx
道德之剑的熔铸 --也谈法官职业道德体系的构筑.docx
A finite-time convergent Zhang neural network and its application to real-time matrix square root finding
A finite-time recurrent neural network for solving online time-varying Sylvester matrix equation based on a new ...
SRPBoard 繁体升级包 V1.2.1 -> V2.0
算法初步课件 1.3 算法案例--进位制.ppt
Robust control for uncertain nonlinear system using isomorphism-based robust right coprime factorization
Robust L2-L∞ filtering for Markovian jump neutral systems with distributed delays
wxParse 解决解析不了  空格问题-附件资源
1.可以观察一元,二元函数图形和分形图形绘制 2.字符计算功能,支持各种灵活的表达方式 ...3.改进的Excel交换和输入错误异常
文件上传程序
∑-ΔA/D转换器是一种高精度的模数转换器,它和传统的A/D转换器不同,具有高分辨率、高集成度、造价低和使用方便的特点, 并且越来越广泛地使用在一些高精度仪器仪表和测量设备中。文章从信号的过采样、噪声...
3.可以删除已添加的新闻,修改新闻功能很快就能编好; 4.可以添加新闻标题链接到其他网页的新闻。 5.可编辑新闻; 6.可由自已的网站发布免费的新闻代码; 7.用户直接通过管理界面管理网站公告(DEMO at ...
Quantum private comparison with d-level single-particle states
An Improving Algorithm for Combined Input-Crosspoint-Queued Switches
数据通信与计算机网 第 3 章 数据链路层.ppt
ADMIN目录下的adduser.asp,轻松方便 五、如果你在使用本系统中有任何疑问及不明可以到 www.ye21.net提问,我会及时回答! 六、希望大家能够加入以下版权...