How to Learn Hibernate

Introduction to Hibernate easier, I have not dare to claim that good. Hibernate watch my first pass when the document was very difficult, but it is not difficult to grasp because Hibernate and find it hard to document because the Hibernate persistence layer design are all the experience and best practices. Hibernate documentation is accurate, the vast majority of the contents of all speakers at the design of object persistence layer, Hibernate rather than simply use, the use of Java doc search enough. Study so Hibernate, mainly in the study of the persistence layer design mode, if you have read the Hibernate documentation, and also throughout the day will only talk about those questions Hibernate configuration, Hibernate questions call the categories, I do not think that the people have not really entry can be regarded as a study of white.

Those of my Hibernate configuration are not particularly skilled, Writing each hbm, must control a little bit of inspection documents; type parameter does not remember to call, write code to Java doc for future reference at any time. Hibernate but I study at the time that the concentration of all efforts to understand the operation of Hibernate principle, to focus on the persistence layer should be designed to have grasped the principles and techniques, these are only my most important things. Is no exaggeration to say that after studying Hibernate, I also enhance JDBC programming a big slice, not to mention for the persistence layer of J2EE architecture framework for the design, basically in the chest are very clear, even if the API for the future not Hibernate, and switch to JDO, Castor what, according to these experiences with like.

Hibernate is not studying at Hibernat Learn how to configure, how to use tools to generate hbm file, if you focus on here is basically equivalent to the study of white Hibernate. Hibernate is the essence of the object of unparalleled persistence layer smart design, the persistence layer design experience because you do not have Hibernate will not lose out, studying my own Hibernate, has obviously felt the design capacity of the persistence layer has long been a lot of experience, These experiences not only can be used even in Java, the use of at. net up as well. Learn Hibernate configuration so I am just easy to see, and know when to go there on the line search, and a pile of my instrument to generate complex simply can not see, so Count down master Hibernate configuration , you can use Hibernate Writing JDBC procedures to replace, but to spend 3 days would be sufficient. I think 3 days is not for you the luxury of studying the cost of it.

Why am I so stressed that the object of study Hibernate persistence layer design it? Watch it you think are the ideal life of a programmer to do it? Or want directions to a higher development? To do from a purely technical point of view, career development are of the highest point "system architect", Bill Gates is not also known as Microsoft's chief systems architect ? ? System Architect jobs you need is the ability to study and comprehend, if you can not study the design of Hibernate experience be applied to other places, then you are a failure to do are not eligible for System Architect.
JDO or whether, Hibernate or, TopLink, or, CocoBase or the Castor, or what Torque, OJB, software and configuration can vary, but essentially ORM, are object of the JDBC-lasting layer package But staying so , if you study and master the complete Hibernate spent a month's time, then you re-OJB study time should not be more than one weeks, because you have put the object persistence layer design clear in the chest, and you only need to familiarize yourself with the API and configure OJB it, As for how to use OJB persistence layer for the development of you already familiar with.

So when you have two or more of the ORM, you should be able to use the ORM in any of the restrictions on software designed to fit your project to the persistence layer, this is the standard of System Architect. Jin Yong's novels to use an analogy for example, learn Zhang Wuji Chi sword , the sword is only intended to remember, do not mind Jianzhao This is really a master , and the low hand can only go on Jianzhao study , rather than to understand the sword strokes behind the sword behind Italy, life is so low hand, can never really learn to Taijijian. Master So the second week top demo to see Tai Chi sword , a completely different movements on the other things that are, in fact, essentially the same. Hibernate is also studying the cart before the horse not to go study a variety of a variety of tools, the focus of its master object persistence layer design.
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of How to Learn Hibernate

  • Software development sunflower Baodian [reprint]

    Master the ability to reuse code very familiar with the new API's fast. This is because, he once used a lot of the API, have a lot of reusable code. He knows what is available and what is deficient. He has been using Qt, also used by gtk +, also ...

  • Object-oriented design principles 11

    What is object-oriented design? Contains what? The benefits of it are what? Required to pay what you do? In today's age, ask these questions seem to be foolish, because this year almost every software developer knows how to use some sort of objec ...

  • Choose Hibernate or iBATIS has its reasons

    Hibernate features: Hibernate powerful database has nothing to do with good, O / R mapping ability, and if you are very proficient in Hibernate, but also for Hibernate to conduct an appropriate package, then your project will be the entire persistenc ...

  • org.hibernate.MappingException: Unknown entity error

    Today, a new table, with a good mapping file, pojo, as well as the dao service Finally, insert the records, reported org.hibernate.MappingException: Unknown entity error. Initially suspected to be of no property and table field names correspond to do ...

  • hibernate parabolic mistake: null in entry

    Ssh in a project, I encountered such a parabolic mistake: auth.model.AuthUser is a model category. And I tried to write the sql Success. Subsequently, I see, and should be a key requirement for non-empty result, I accidentally omitted. Seriously comp ...

  • spring + hibernate + oracle9i to read and write CLOB

    Database-driven update classes12-9i.jar Hibernate modify the configuration of the following code <bean/> <bean Lazy-init="true"> <property name="nativeJdbcExtractor"> <ref local="nativejdbcExtractor" ...

  • What is the appfuse

    First, Appfuse brief introduction Matt Raible are Appfuse developed a guiding entry-level J2EE framework, how to integrate its popular Spring, Hibernate, ibatis, struts, Xdcolet, junit, etc. give the basic framework of the model, the latest version 1 ...

  • Nan-Jing 5: When IBatis.Hibernate mixed affairs, pay attention to your SQL

    [Problem] Now, in the development of the so-called multi-storey JavaEE applications, data persistence layer is always essential, and "Automatic" of ORM - Hibernate, and "all-manual-type" of SqlMap - IBatis, equivalent data are Per ...

  • Hibernate.cfg.xml configuration file (including the primary key generation strategy Introduction)

    Hibernate.cfg.xml configuration file: <? xml version = "1.0" encoding = "utf-8"?> <! DOCTYPE hibernate-configuration PUBLIC "- / / Hibernate / Hibernate Configuration DTD / / EN" "hibernate-configuration-2.0.dtd

  • hibernate to use the principle of

    The use of hibernate, implementation of data persistence. Has the following several processes. One configuration database connection information. Hibernate.config 2 configuration mapping. 3 use: the use of the process are the following steps: 3.1: Ge ...

Leave a Reply

Recent
Recent Entries
Tag Cloud
Random Entries