Hibernateibernate 33.0.0
Total Page:16
File Type:pdf, Size:1020Kb
)N3UPPORT1UALITY /RACLE "%! )"- HHibernateibernate 33.0.0 QUALITY THE NUMBER ONE SUPPORT FROM MARKET LEADER. Working with both object-oriented software and relational databases can THE SOURCE. be cumbersome and time consuming in today’s enterprise environments. Moreover, development costs are signifi cantly higher due to a paradigm mismatch between how data is represented in objects versus relational databases. Many software developers and architects estimate that up to 30% of their code is needed to deal with this infrastructure concern. Hibernate is an object/relational mapping (ORM) solution for Java applications that directly addresses this challenge by providing the ability to map an object model’s data representation to a relational data model and its corresponding database schema. Hibernate is the most fl exible and powerful ORM solution on the market today. Hibernate not only takes care of the mapping from Java classes to database tables and from Java data types to SQL data types, but also provides data query and retrieval facilities that signifi cantly reduce development time. Hibernate’s design goal is to relieve the developer from 95% of common data persistence related programming tasks by eliminating the need for manual, hand-crafted data processing using SQL and JDBC. Highlights and Key Values Features Open-Source, Zero-Cost Product License Hibernate to handle persistence, a modular New for Hibernate 3 two-layer caching system can be confi gured Hibernate is licensed under the open source that uses JBoss Cache and enables the Hibernate 3’s “Hibernate for the Enterprise” focus GNU Lesser General Public License (LGPL) and application to benefi t from across the board has built on the success of Hibernate 2 and is free to download and free to use for both caching, rather than isolated, hand-written extended it with enterprise-class functionality development and production deployments. performance enhancements. including: The license also allows ISVs to embed and distribute Hibernate free of charge. Standards-Driven • Support for EJB 3.0 Annotations, Entity Manager, and Java Persistence API Increase Developer Productivity Hibernate is typically used in Java Swing • ORM improvements that support virtualized applications, Java Servlet-based applications, fi ltering for temporal, historical, regional, and Hibernate eliminates the repetitive and tedious or J2EE applications using Enterprise Java permissioned data coding work and enables developers to focus Bean (EJB) session beans. Hibernate 3.0 plays • Single object to multi-table mapping, bulk update more on the business problem. No matter a critical role in the EJB 3.0 Java Persistence and delete by query, and the ability to override which application development strategy you API which brings a dramatically simplifi ed generated SQL with hand-written SQL prefer – starting top-down with a new business persistence model to the EJB standard. • JMX-enabled statistics reporting and monitoring problem and model or bottom up with an Moreover, by combining Hibernate 3 with through any JMX console existing database schema – Hibernate can Hibernate Annotations, developers can achieve • XML binding that enables data to be represented signifi cantly reduce development time. an EJB 3.0 style of programming outside of the as XML and Java objects interchangeably EJB 3.0 container and within standalone Java • Event driven design that enables custom event Reduce Maintenance Cost applications. objects to be created and registered to handle auditing scenarios or cascaded behavior Hibernate substantially reduces lines of code Enterprise-Class Reliability and Scalability semantics by automating ORM. Hibernate provides a • Hibernate Tools are JBoss Eclipse IDE plug-ins that buffer between the two data representations Hibernate is well known for its excellent stability provide a reverse engineering wizard that creates and enables a more elegant use of object and quality – proven by the acceptance and persistent POJOs from a database schema, orientation on the Java side – all while use by tens of thousands of Java developers. Hibernate XML Mapping editor, Hibernate Console keeping the relational schema normalized and Hibernate was designed from the ground up for executing HQL queries and browsing result guaranteeing data integrity. to work in an application server cluster and sets, and other Hibernate development wizards deliver a highly scalable architecture. Hibernate Optimize Performance All of the Time scales well in any environment; no matter if you use it to drive your in-house Intranet that By allowing Hibernate to centrally handle serves hundreds of users or for mission-critical persistence, optimizations can be applied applications that serve hundreds of thousands across the board all of the time – unlike hand- of users. coding persistence. For example, by using EJB 3.0 ANNOTATIONS AND PERSISTENCE. Features Transparent Persistence Object-Oriented Query Language Ultra-High Performance Hibernate requires no interfaces or base Hibernate provides a powerful query language Hibernate includes lazy initialization, outer join classes for persistent classes and enables (HQL) that is expressed in a familiar SQL- fetching, batch fetching, and union fetching, any class or data structure to be persistent. like syntax and includes full support for as well as support for optimistic locking with Furthermore, Hibernate enables faster build polymorphic queries. Queries may also be automatic versioning and time stamping. procedures since it does not introduce expressed in the native SQL dialect of your Hibernate requires no special database build-time source or byte code generation or database or with powerful programmatic and tables or fi elds and generates much of the processing. type-safe Criteria and Example queries. SQL at system initialization time instead of runtime. Hibernate consistently offers superior Flexible Object/Relational Mapping Operate in Managed and Non-Managed performance to straight JDBC coding. Environments Hibernate is driven by XML mapping Dual-Layer Caching documents that defi ne the ORM and generate Hibernate can operate within any J2EE database table and constraint creation scripts. application server including JBoss Application Hibernate’s dual-layer cache architecture Hibernate supports a variety of inheritance Server and can be confi gured and managed delivers thread safeness, non-blocking data mapping strategies and all entity association via JMX (Java Management Extension) access, session level cache, optional and mapping styles including one-to-many, one- MBeans. Hibernate’s transaction system pluggable second-level cache, and optional to-one, and many-to-many. Hibernate also integrates with J2EE application server query cache. Hibernate also works well in supports bi-directional and unidirectional transactions via JTA (Java Transaction distributed application environments where associations as well as fi ne-grained API). Hibernate can also run outside of an other applications have simultaneous access composition for dependent value objects. application server container – bypassing the to the database. time-consuming deployment step. This is also Simple API’s a useful feature for those interested in using Hibernate within standalone non-managed Hibernate includes a Core API for application Java applications. code, an Extension API for customizations, and a Metadata API for applications that require access to Hibernate’s persistence metadata (to handle runtime mapping creation and changes, for example). The APIs in Hibernate 3 provide a superset of the functionality of EJB 3.0 Java Persistence, which means you can use EJB 3.0 Entity Manager and Query APIs with Hibernate when used standalone or within the version of JBoss Application Server that supports EJB 3.0. Support Services from the Source JBoss, Inc. pioneered the Professional > Indemnifi cation against any future legal action Open Source model whereby open source alleging that Hibernate or JBoss Inc. infringes software is backed up with expert support a valid patent or copyright is also included PERSONALIZED PRICING PLANS services delivered by the product experts with every Gold or Platinum level Professional SUIT YOUR SPECIFIC NEEDS. themselves. JBoss and the large network of Support contract. JBoss Authorized Service Partners offer a comprehensive set of support offerings for • Consulting includes both on-site and remote Hibernate including Professional Support, consulting services delivered by a trained Consulting, and Training. Hibernate consultant when in-depth product knowledge is essential. Our consulting Platform and Standards Support • Professional Support helps you to overcome services deliver the personal attention directly Minimum System Requirements all Hibernate-related issues – including bug from the source that is critical for ensuring and patch management, production support, timely success for your launch of Hibernate. • Hibernate 2 requires JDK 1.2 or higher (1.4.2 and 1.5.0 are recommended) and general Hibernate development and • Hibernate 3 requires JDK 1.3.1 or higher (1.4.2 deployment assistance. Three different levels • Training is delivered both through public and 1.5.0 are recommended) of support are available, ranging from 8x5 training courses hosted in major cities around • 128 MB RAM • 50 MB hard disk space support with 48 hour response times to 24x7 the world or as private training courses hosted • 400 MHz CPU support with 2 hour response times. All JBoss at your site. Hibernate Training