Free Essay

Research Paper

In: English and Literature

Submitted By gagay12345
Words 1436
Pages 6
Hibernate ORM (Hibernate in short) is an object-relational mapping framework for the Java language, providing aframework for mapping an object-oriented domain model to a traditional relational database. Hibernate solves object-relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions.
Hibernate is free software that is distributed under the GNU Lesser General Public License 2.1.
Hibernate's primary feature is mapping from Java classes to database tables (and from Java data types to SQL data types). Hibernate also provides data query and retrieval facilities. It generates SQL calls and relieves the developer from manual result set handling and object conversion. Applications using Hibernate are portable to supported SQL databases with little performance overhead[citation needed].
Contents
[hide] * 1 Mapping * 2 Hibernate Query Language (HQL) * 3 Persistence * 4 Integration * 5 Entities and components * 6 History * 7 Application programming interface * 7.1 org.hibernate.SessionFactory interface * 7.2 org.hibernate.Session interface * 8 Software components * 9 See also * 10 References * 11 Bibliography * 12 External links * 12.1 Further reading
-------------------------------------------------
Mapping[edit]
Mapping Java classes to database tables is accomplished through the configuration of an XML file or by using Java Annotations. When using an XML file, Hibernate can generate skeleton source code for the persistence classes. This is unnecessary when annotations are used. Hibernate can use the XML file or the annotations to maintain the database schema.
Facilities to arrange one-to-many and many-to-many relationships between classes are provided. In addition to managing associations between objects, Hibernate can also manage reflexive associations where an object has a one-to-many relationship with other instances of its own type.
Hibernate supports the mapping of custom value types. This makes the following scenarios possible: * Overriding the default SQL type that Hibernate chooses when mapping a column to a property. * Mapping Java Enum to columns as if they were regular properties. * Mapping a single property to multiple columns.
Definition: Objects in a front-end application follow OOP principles, while objects in the back-end follow database normalization principles, resulting in different representation requirements. This problem is called "object-relational impedance mismatch". Mapping is a way of resolving the impedance mismatch problem.
Mapping tells the ORM tool which java class object to store in which database table.
-------------------------------------------------
Hibernate Query Language (HQL)[edit]
Hibernate provides an SQL inspired language called Hibernate Query Language (HQL) which allows SQL-like queries to be written against Hibernate's data objects.Criteria Queries are provided as an object-oriented alternative to HQL. Criteria Query is used to modify the objects and provide the restriction for the objects.
-------------------------------------------------
Persistence[edit]
Hibernate provides transparent persistence for Plain Old Java Objects (POJOs). The only strict requirement for a persistent class is a no-argument constructor, not necessarily public. Proper behavior in some applications also requires special attention to the equals() and hashCode() methods.[2]
Collections of data objects are typically stored in Java collection objects such as Set and List. Java generics, introduced in Java 5, are supported. Hibernate can be configured to lazy load associated collections. Lazy loading is the default as of Hibernate 3.
Related objects can be configured to cascade operations from one to the other. For example, a parent Album object can be configured to cascade its save and/or delete operation to its child Track objects. This can reduce development time and ensure referential integrity. A dirty checking feature avoids unnecessary database write actions by performing SQL updates only on the modified fields of persistent objects.
-------------------------------------------------
Integration[edit]
Hibernate can be used both in standalone Java applications and in Java EE applications using servlets, EJB session beans, and JBI service components. It can also be included as a feature in other programming languages. For example, Adobe integrated Hibernate into version 9 of ColdFusion (which runs on J2EE app servers) with an abstraction layer of new functions and syntax added into CFML.
-------------------------------------------------
Entities and components[edit]
In Hibernate jargon, an entity is a stand-alone object in Hibernate's persistent mechanism which can be manipulated independently of other objects. In contrast, acomponent is subordinate to an entity and can be manipulated only with respect to that entity. For example, an Album object may represent an entity but the Tracks object associated with the Album objects would represent a component of the Album entity if it is assumed that Tracks can only be saved or retrieved from the database through the Album object. Unlike J2EE, it can switch databases.
-------------------------------------------------
History[edit]
Hibernate was started in 2001 by Gavin King with colleagues from Cirrus Technologies as an alternative to using EJB2-style entity beans. Its original goal was to offer better persistence capabilities than offered by EJB2 by simplifying the complexities and supplementing missing features.
In early 2003, the Hibernate development team began Hibernate2 releases, which offered many significant improvements over the first release.
JBoss, Inc. (now part of Red Hat) later hired the lead Hibernate developers in order to further its development.
In 2005, Hibernate version 3.0 was released. Key features included a new Interceptor/Callback architecture, user defined filters, and JDK 5.0 Annotations (Java'smetadata feature). As of 2010, Hibernate 3 (version 3.5.0 and up) was a certified implementation of the Java Persistence API 2.0 specification via a wrapper for the Core module which provides conformity with the JSR 317 standard.[3]
In Dec 2011, Hibernate Core 4.0.0 Final was released. This includes new features such as multi-tenancy support, introduction of ServiceRegistry (a major change in how Hibernate builds and manages "services"), better Session opening from SessionFactory, improved integration via org.hibernate.integrator.spi.Integrator and auto discovery, internationalization support and message codes in logging, and a clearer split between API, SPI and implementation classes.[4]
In Dec 2012, Hibernate ORM 4.1.9 Final was released.[5]
In March 2013, Hibernate ORM 4.2 Final was released.[6]
In Dec 2013, Hibernate ORM 4.3.0 Final was released.[7] It features Java Persistence API 2.1.[8]
In 2012, development was started on Hibernate 5 but it is not realised yet. It will feature redesigned metamodel (Complete replacement for the current org.hibernate.mapping code), Query parser (Improved query parser based on Antlr 3/4), Multi-tenancy improvements (Discriminator-based multi-tenancy), Follow-on fetches (Two-phase loading via LoadPlans/EntityGraphs) and OSGi improvements (Support dynamic runtimes, multiple tenancy, multiple persistenceunits, and more)[9]
-------------------------------------------------
Application programming interface[edit]
The Hibernate API is provided in the Java package org.hibernate. org.hibernate.SessionFactory interface[edit] org.hibernate.Session interface[edit]
Represents a Hibernate session, i.e., the main point of the manipulation performed on the database entities. The latter activities include (among the other things) managing the persistence state (transient, persisted, detached[clarification needed]) of the objects, fetching the persisted ones from the database and the management of the transaction demarcation[clarification needed].
A session is intended to last as long as the logical transaction on the database. Due to the latter feature, Session implementations are not expected to be thread safe nor to be used by multiple clients.
-------------------------------------------------
Software components[edit]
The Hibernate software includes the following components:[10] * Hibernate ORM (known as Hibernate Core before release 4.1[11]) – the base software for an object-relational mapping solution for Java environments[12] * Hibernate Annotations (merged into Hibernate Core/ORM since version 3.6[13]) – metadata that governs the transformation of data between the object-oriented model and the relational database model according to the JSR 317 Java Persistence API (JPA 2)[14] * Hibernate EntityManager – together with Hibernate Annotations, a wrapper that implements a JSR 317 Java Persistence API (JPA 2) persistence solution on top of Hibernate Core[15] * Hibernate Envers – auditing and versioning of persistent classes[16] * Hibernate OGM (Object/Grid Mapper) – an extension to store data in a NoSQL store[17] * Hibernate Shards – horizontal partitioning for multiple relational databases[18] * While Hibernate Shards is not compatible with 4.x releases of Hibernate Core, some of the Shards capability was integrated into Core in the 4.0 release * Hibernate Search – integrates the full text library functionality from Apache Lucene in the Hibernate and JPA model[19] * Hibernate Tools – a set of tools implemented as a suite of Eclipse plugins and Ant tasks included in JBoss Developer Studio[20] * Hibernate Validator – the reference implementation of JSR 303 Bean Validation[21] * Hibernate Metamodel Generator – an annotation processor that creates JSR 317 Java Persistence API (JPA 2) static metamodel classes using the JSR 269Pluggable Annotation Processing API[22] * NHibernate – an object-relational mapping solution for the .NET Framework[23]

Similar Documents

Premium Essay

Research Paper

...English 102— Research Paper Requirements and General Guidelines Dr. B. Bryant Office phone—671-6358 Office—Bldg. 1, room 119 E/ office 19 Research Paper due—May 2nd (Fri) 3:00 pm in my office It must contain copies of your research. 1. Your final paper needs to be 5-8 pages (not including “Works Consulted page”) in MLA format. NO PAPER UNDER 5 PAGES WILL BE ACCEPTED!!! 2. In your research folder—a folder that does not allow your research materials to fall out—you must have the following items: • Research Paper—11/25 • Rough Draft • Research proposal/outline due 4/24 for class time • COPIES OF YOUR RESEARCH! • Your paper must be sent to on safe assignment PLEASE NOTE: NO PAPER WILL BE ACCEPTED WITHOUT COPIES OF YOUR RESEACH! The paper will receive an F. 3. Research Materials—Included on your “Works Consulted” page, you must have at least 5 professional journal articles or books. You can have more; the research really depends on your topic. Also the research papers I gave you count as a source and Loot. 4. The journal articles can come from the internet, but make sure the article is a professional article with a thesis/research, not a general informational page. All internet articles must be cited as an internet source. You can use the museum websites and YouTube. 5....

Words: 628 - Pages: 3

Premium Essay

Research Paper

...Lesson Guide The Research Process In writing a research paper, you will use the skills you have already learned, such as summary, analysis, and synthesis. You will go beyond the readings in the text, however, to add breadth and depth to your paper. Depending on your topic, you might use library research for traditional sources, online research for Internet sources, field research, or a combination of the three. Each topic chapter provides a list of Research Activities at the end. These suggestions will guide you to source material outside the textbook and provide ideas for research papers. Additionally, make use of the topic chapter links provided on this Companion Website to find more readings on each subject. What follows is a list of the steps you will take in planning and writing a paper. Remember that writing is a recursive process; you will not necessarily follow these steps in this order, and you may find yourself backtracking and looping. Find a Subject. If a subject is not assigned to you, decide what subject you are going to research and write about. Your text provides you with a wealth of ideas to start with. Use it as a springboard for discovering ideas. Develop a Research Question. Formulate an important question that you would like to answer through your research. This helps you narrow and focus your topic. The answer to the research question will become your thesis statement. Conduct Preliminary Research....

Words: 917 - Pages: 4

Free Essay

Paper Research

...here will come a time in most students' careers when they are assigned a research paper. Such an assignment often creates a great deal of unneeded anxiety in the student, which may result in procrastination and a feeling of confusion and inadequacy. This anxiety frequently stems from the fact that many students are unfamiliar and inexperienced with this genre of writing. Never fear—inexperience and unfamiliarity are situations you can change through practice! Writing a research paper is an essential aspect of academics and should not be avoided on account of one's anxiety. In fact, the process of writing a research paper can be one of the more rewarding experiences one may encounter in academics. What is more, many students will continue to do research throughout their careers, which is one of the reasons this topic is so important. Becoming an experienced researcher and writer in any field or discipline takes a great deal of practice. There are few individuals for whom this process comes naturally. Remember, even the most seasoned academic veterans have had to learn how to write a research paper at some point in their career. Therefore, with diligence, organization, practice, a willingness to learn (and to make mistakes!), and, perhaps most important of all, patience, a student will find that she can achieve great things through her research and writing....

Words: 345 - Pages: 2

Free Essay

Research Paper

...Writing a Research Paper in Literary Studies1 The most important aspect to bear in mind is that you are writing a research paper and not an essay! This means that you are arguing a thesis with reference to secondary literature – it is essential that you conduct relevant research and that you integrate your findings into your paper. Things to keep in mind: • Your paper should have a well-defined topic and a precisely formulated argument. • Your approach should be recognizably systematic. • Your argument should remain relevant and clear-cut, consistent and coherent throughout. • Your secondary material should be discussed critically and documented accurately. • Writing is a process; you should constantly revisit and revise. DON’T FORGET TO PRINT, SIGN AND ATTACH THE “PLAGIATSHINWEIS”! First steps Many students neglect the preliminary work of the writing process, but if you give it sufficient attention the actual writing of your paper will be faster and more organized than if you just start writing. The most important thing is to be systematic in your approach. 1. Finding a topic Perhaps the most difficult part of any research paper is finding an adequate topic, formulating a title and making a coherent argument. Once you have decided on a topic or a title, which in literary studies will most likely involve a certain text, rephrase it as a question to guide your research. You should also think about the methodology you intend to apply to your analysis....

Words: 3119 - Pages: 13

Premium Essay

Research Paper

...Rockwood School District Research Paper Guide Revised 2008 Table of Contents What is a Research Paper?...................................................................................................................

Words: 3304 - Pages: 14

Premium Essay

Research Paper About a Research Paper

...Research Paper about a Research Paper Name place Professor 05/22/11 Research Paper about a Research Paper Research is a way to formulate questions and ideas used to solve a give problem using of all sorts of sources to collect information that would generate a solution. Research in the simplest form could be presented as; my computer keeps rebooting. The research focus could involve looking threw the internet to find web help that addresses the same issue or finding a business that specialize in computer repair by doing a query for computer repair from online in your area or looking threw the phone book. In this instance, someone has prepared both sources with the intention to help find the answer from documented information (Booth, Colomb & Williams, 2008). Over centuries information and been collected in libraries all the information desired. The information age yielding the internet that contains information collected by others for others to answer questions and develop new questions, and find answers. Research papers are also used as a primary form of learning that begins in elementary school and used all threw college and beyond. Carriers have been built for the purpose of conducting research and writing research papers by teachers, scientists, writers, historians, lawyers, engineers – list is goes on....

Words: 1673 - Pages: 7

Premium Essay

Research Paper

...Business Research Ethics Lilia Tenorio RES/351 University of Phoenix May 15, 2014 Albert Smothers Business Research Paper: Synopsis of the Enterprise Resource Planning (ERP) System Enterprise Resource Planning (ERP) System is a software system that supports and automates the business processes by providing timely and accurate enterprise-wide information for decision making (Vemuri & Palvia, 2006). This paper is based on the research article, "Improvement in Operational Efficiency Due to ERP Systems Implementation: Truth or Myth?" by the authors Vijay K. Vemuri and Shailendra C. Palvia, which will discuss the purpose of the ERP system along with explaining some of the problems under investigation, and by identifying the parties involved that conducted the investigation, and describing the methods and variables used in researching the ERP system. Although, a system such as, the ERP system is very much needed within a business, however, is the system efficient enough to be cost effective. By researching the ERP system, the idea will be whether the investment towards the system is worth having. "Good research generates dependable data that are derived by professionally conducted practices and that can be used reliably for decision making" (Cooper & Schindler, 2006, p.22)....

Words: 953 - Pages: 4

Premium Essay

Research Paper

...iii DEDICATION (NO REQUIRED FOR RESEARCH PAPER) (The dedication, as the name suggests is a personal dedication of one’s work. The section is OPTIONAL and should be double-spaced if included in the thesis/dissertation.) iv ACKNOWLEDGMENTS (NOT REQUIRED IN RESEARCH PAPER) I would like to thank Dr. Jones for his invaluable assistance and insights leading to the writing of this...

Words: 3580 - Pages: 15

Free Essay

Research Paper

...Research paper may refer to: * Academic paper (also called scholarly paper), which is published in academic journals and contains original research results or reviews existing results * Term paper, written by high school or college students * Thesis or dissertation, a document submitted in support of a candidature for a degree or professional qualification, presenting the author's research and findings A thesis or dissertation[1] is a document submitted in support of candidature for anacademic degree or professional qualification presenting the author's research and findings.[2] In some contexts, the word "thesis" or a cognate is used for part of abachelor's or master's course, while "dissertation" is normally applied to a doctorate, while in others, the reverse is true.[3] Dissertations and theses may be considered asgrey literature. The word dissertation can at times be used to describe a treatise without relation to obtaining an academic degree. The term thesis is also used to refer to the general claim of an essay or similar work. ------------------------------------------------- Etymology[edit] The term "thesis" comes from the Greek θέσις, meaning "something put forth", and refers to an intellectual proposition....

Words: 1243 - Pages: 5

Premium Essay

Research Paper

...Research Article: IMPACT OF INTEREST RATE ON INVESTMENT Farhan Nawaz UNIVERSITY OF GUJRAT, PAKISTAN E-mail: 10050920-086@uog.edu.pk Waqas Akram UNIVERSITY OF GUJRAT, PAKISTAN E-mail: 10050920-084@uog.edu.pk Abstract: The main aim of this study is to investigate “the impact of interest rate on investment” in an economy. For this purpose three main variables are selected which are Interest rate, Income level and Investment. Two variables are independent (Interest rate and Income level) and One variable is dependent (Investment). The hypothesis of this study is that the Investment has a negative association with interest rate and Investment has positive relationship with income. Interest rate has negative effect on investment and investment has a positive relation with the income level. We use questionnaire for finding our results and questionnaire are filled by different students of business studies. We find that there is a Negative relation between the interest rate and investment. If our finding matches with economic theory and others researchers finding than policy makers can make better policies for the economy. Impact of interest rate on Investment Introduction: An interest rate is the rate at which interest is paid by borrowers for the use of money that they borrow from a lender. Interest rate is the cost of borrowing money. When interest rate increases the overall investment is reduces....

Words: 1679 - Pages: 7

Premium Essay

Research Paper

...In the paper, I will discuss this question based on some previous finding. Next, I will use IFRS 9 as a specific case for my conclusion. Finally, I will give my opinion on the effect of mandatory IFRS adoption on earning management. Key Words: Accounting Standard, earning management, IFRS, Financial Instrument, bank, impairment of asset, IAS39, IFRS 9 I. The effect of mandatory IFRS adoption on earning management 1.1 In 2012, Yi Lin Chua, Chee Seng Cheong. And Graeme Gould publish a article named “The Impact of Mandatory IFRS Adoption on Accounting Quality: Evidence form Australis. This article examines the impact of IFRS on accounting quality by focusing on threes perspectives: (1) earning management, (2) timely loss recognition, and (3) value relevance. In my paper, I will focus on earning management. First, the author talk about the reason he choose Australia. Because Australia is one of the first countries located outside of the EU that has mandated IFRS and is also the first non-EU adopting country that had fully prohibited an early adopting of IFRS prior to the 2005 mandate. After that, the article propose the three research hypotheses: HI: Earnings management has changed following the mandatory adoption of IFRS in Australia. H2: Timely loss recognition has changed following the mandatory adoption of IFRS in Australia. H3: The degree of association between accounting data and...

Words: 2776 - Pages: 12

Premium Essay

Research Paper

...(1n_masood@gmail.com),(2ss_sjm6@yahoo.com)(3a007pk@yahoo.com) Abstract – This Paper aims to apply Lean Manufacturing Tool to the Distribution Center of a Milk Industry in Pakistan. A survey to the Distribution Warehouse was made to identify different activities involved in the distribution process. A Process activity Map was Applied to further divided in to four main categories to indentify the effectiveness and efficiency of the whole process. Milk Industry is one of those industries which have its importance all over the world including Pakistan. The results indicate that there is a lot of room for improvement and expansion in the process. There is consistent increase in the need of milk in Pakistan with the Companies to benefit a lot from this region. The Findings suggested in this paper can help the milk manufacturers to effectively satisfy the customers and decrease the overall cost of production. Keywords – Lean Manufacturing, Process Activity Map, Distribution Warehouse of Milk Industry, Pakistan I. INTRODUCTION Milk industry is one of those industries which has its presence all around the world and are known to have a mass target market. Milk is of great importance as it is an everyday necessity for almost every individual of any age group, income group and gender. The most widely acknowledged and reliable source of milk is tetra pack....

Words: 1635 - Pages: 7

Premium Essay

Research Paper

...Organizing a Research Paper Introduction A research paper is a combination and ultimate result of an involved procedure that entails source evaluation, critical thinking, planning and composition. No matter its objectives, any research paper must attain some common goals. As such, organizing a research paper requires a systematic approach that will enable the researcher to accomplish the intended objectives of the research. Apart from addressing the needs of the assignment, a research paper should have a clear purpose, thesis and discussing the quantity as well as quality of sources. In order to gain experience in research writing, an individual must be familiar with the whole process involved in organizing a research paper. There are two types of research paper namely; * Argumentative research * Analytical research Although each type has its own specified format, they bear seven similarities when it comes to their organization; a. Collect printed sources and evaluate them Assemble materials such as scholarly articles, state documents and other useful sources with regard to the research question. Skim through them to get hint on their importance. One can also evaluate online materials since most of them have useful although random information. b. Choose a method for keeping notes You should keep notes on different index cards and ensure to indicate the title or author as this will enable you to recheck the information obtained from the source material. c....

Words: 378 - Pages: 2

Free Essay

Research Paper

...Because one of the major course objectives is to write about what you believe in (as you find your writing voice), you will be allowed to choose your own topic for this persuasive research paper, so long as it is not a topic you have written about already for another class (remember: your intellectual and personal integrity should be important to you, so research something new to you, which is most of the “fun” of research). I must also approve your topic before you begin writing your paper. In order for me to approve your topic, you must have at least four reliable, strong sources in your hand that you have read, highlighted, and taken notes on. Conducting Good Research Many high school students do not know how to conduct strong, valid research—perhaps because we now live in the world of Google, which...

Words: 1960 - Pages: 8

Premium Essay

Research Paper

...Reason For Research: Cheating is a primordial inclination in man. I feel like everyone honestly if given the opportunity to cheat and to get away with it can do it and will. So i wanted to test that and really see peoples morality when it came to issues like this. Sampling/Data: You will state your rationale for choosing the method chosen —explain how you are going to “do” the observation or interview or Survey. I will be visiting the campus of...

Words: 1160 - Pages: 5