Object-Relational Bridge : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

Object-Relational Bridge
There are quite a number of tools designed to let you bridge the gap between PODs (Persistent Object Databases) POD (Persistent Object Database) and SQL (Standard Query Language). They are often called OR tools.

In most cases code generators take the database schema (con.getMetaData()) and create corresponding java classes, for example one data class and one manager class per table.

Some OR tools (TopLink, Cocobase, etc) create both java classes and database schema from single xml master file.

Chris Smith says that iBATIS involves a lot more SQL work than Hibernate and leaves you to solve more of your own problems, but it requires a lot less conceptual understanding. iBATIS basically seems to be about mapping a ResultSet to an object and nothing else. Hibernate is more concerned with the hard problems: caching and connection pooling; representing relationships between entities in a very flexible and customizable way, etc. As a result, iBATIS appears to be mostly about avoiding the effort of writing repetitive glue code from JDBC (Java Data Base Connectivity), while Hibernate is about abstracting away from JDBC and treating data according to the object model instead.


This page is posted
on the web at:

http://mindprod.com/jgloss/objectrelationalbridge.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\objectrelationalbridge.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[18.119.19.205]
You are visitor number