All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.id.package-info Maven / Gradle / Ivy

There is a newer version: 6.6.2.Final
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later
 * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html
 */

/**
 * This package and its subpackages, especially {@link org.hibernate.id.enhanced},
 * contain the built-in id generators, all of which implement either
 * {@link org.hibernate.id.IdentifierGenerator} or
 * {@link org.hibernate.id.PostInsertIdentifierGenerator}.
 * 

* The most useful id generators in modern Hibernate are: *

    *
  • {@link org.hibernate.id.IdentityGenerator} - {@code @GeneratedValue(strategy=IDENTITY)} *
  • {@link org.hibernate.id.enhanced.SequenceStyleGenerator} - {@code @GeneratedValue(strategy=SEQUENCE)} *
  • {@link org.hibernate.id.enhanced.TableGenerator} - {@code @GeneratedValue(strategy=TABLE)} *
  • {@link org.hibernate.id.uuid.UuidGenerator} - {@code @UuidGenerator} *
*

* @apiNote The remaining id generators are kept around for backward compatibility * and as an implementation detail of the {@code hbm.xml} mapping format. * * @see org.hibernate.generator */ package org.hibernate.id;





© 2015 - 2024 Weber Informatics LLC | Privacy Policy