Object/relational Mapping Mathematical relation opposite to object

Source: Internet
Author: User

Hibernate ORM is the de facto persistent storage engine of the object Relational mapping framework

Http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html

Object/relational Mapping

Working with both object-oriented software and relational Databases can be cumbersome and time consuming. Development costs was significantly higher due to a paradigm mismatch between how data was represented in objects versus re lational databases. Hibernate is a object/relational Mapping solution for Java environments. The term object/relational Mapping refers to the technique of Mapping data from an Object model representation to a Relati Onal Data Model representation (and visa versa).

"Object-oriented programming idea manipulating database"

Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data ty PES), but also provides data query and retrieval facilities. It can significantly reduce development time otherwise spent with manual data handling in SQL and JDBC. Hibernate ' s design goal is to relieve the developer from 95% of common data persistence-related programming tasks by Elimi Nating the need for manual, hand-crafted data processing using SQL and JDBC. However, unlike many other persistence solutions, Hibernate does isn't hide the power of SQL from your and guarantees that yo UR investment in relational technology and knowledge are as valid as always.

Hibernate May is the best solution for data-centric applications, only use Stored-procedures to implement the Busi Ness logic in the database, it's most useful with object-oriented domain models and business logic in the java-based Midd Le-tier. However, Hibernate can certainly help you to remove or encapsulate vendor-specific SQL code and would help with the common Task of result set translation from a tabular representation to a graph of objects.

zh.wikipedia.org/wiki/Object Relational Mappings

Object -related mappings ( English:Object Relational Mapping, simple ORM, or o/rm, or O/ R Mapping ), is a programming technique used to transform the material between different types of systems in the language of the programmed languages of the object. In effect, it actually creates a "virtual object repository" that can be used in the language of the process. Today there are many free and glitches ORM products, and some programmers are more inclined to build their own ORM tools.

"Mathematical-derived relationships are object-oriented."

The object direction is developed from the basics of software engineering (such as coupling, aggregation, and encapsulation), and the relational repositories are developed from mathematical theory, and there are obvious differences between the two sets of theories of theory. To understand this mismatch, the object-related mapping technique is born.

To be simple: The ORM is the same as the information. To the product, such as the ADO Framework on the lower side. The physical nature of the dlinq [Table] is even a medium of information.

Object-related mappings are successfully used in different objects to guide the persistence of the product, such as: Torque,ojb,hibernate,toplink,castor jdo,tjdo,active record,nhibernate,ado.net Entity Framework and so on.

Object/relational Mapping Mathematical relation opposite to object

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.