Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.id.insert.* (6)

org.hibernate.id: Javadoc index of package org.hibernate.id.


Package Samples:

org.hibernate.id.insert

Classes:

MultipleHiLoPerTableGenerator: A hilo IdentifierGenerator that returns a Long , constructed using a hi/lo algorithm. The hi value MUST be fetched in a seperate transaction to the Session transaction so the generator must be able to obtain a new connection and commit it. Hence this implementation may not be used when the user is supplying connections. In this case a SequenceHiLoGenerator would be a better choice (where supported). A hilo IdentifierGenerator that uses a database table to store the last generated values. A table can contains several hi values. They are distinct from each other through a key This implementation ...
TableGenerator: An IdentifierGenerator that uses a database table to store the last generated value. It is not intended that applications use this strategy directly. However, it may be used to build other (efficient) strategies. The returned type is Integer . The hi value MUST be fetched in a seperate transaction to the Session transaction so the generator must be able to obtain a new connection and commit it. Hence this implementation may not be used when Hibernate is fetching connections when the user is supplying connections. The returned value is of type integer . Mapping parameters supported: table, colu ...
TableHiLoGenerator: hilo An IdentifierGenerator that returns a Long , constructed using a hi/lo algorithm. The hi value MUST be fetched in a seperate transaction to the Session transaction so the generator must be able to obtain a new connection and commit it. Hence this implementation may not be used when the user is supplying connections. In this case a SequenceHiLoGenerator would be a better choice (where supported). Mapping parameters supported: table, column, max_lo
IdentifierGenerator: The general contract between a class that generates unique identifiers and the Session . It is not intended that this interface ever be exposed to the application. It is intended that users implement this interface to provide custom identifier generation strategies. Implementors should provide a public default constructor. Implementations that accept configuration parameters should also implement Configurable . Implementors must be threadsafe
SequenceIdentityGenerator: A generator which combines sequence generation with immediate retrieval through JDBC3 getGeneratedKeys 55 . In this respect it works much like ANSI-SQL IDENTITY generation. This generator only known to work with newer Oracle drivers compiled for JDK 1.4 (JDBC3). Note: Due to a bug in Oracle drivers, sql comments on these insert statements are completely disabled.
SequenceHiLoGenerator: seqhilo An IdentifierGenerator that combines a hi/lo algorithm with an underlying oracle-style sequence that generates hi values. The user may specify a maximum lo value to determine how often new hi values are fetched. If sequences are not available, TableHiLoGenerator might be an alternative. Mapping parameters supported: sequence, max_lo, parameters.
IncrementGenerator: increment An IdentifierGenerator that returns a long , constructed by counting from the maximum primary key value at startup. Not safe for use in a cluster! Mapping parameters supported, but not usually needed: tables, column. (The tables parameter specified a comma-separated list of table names.)
AbstractReturningDelegate: Abstract InsertGeneratedIdentifierDelegate implementation where the underlying strategy causes the enerated identitifer to be returned as an effect of performing the insert statement. Thus, there is no need for an additional sql statement to determine the generated identitifer.
IdentityGenerator: A generator for use with ANSI-SQL IDENTITY columns used as the primary key. The IdentityGenerator for autoincrement/identity key generation. Indicates to the Session that identity (ie. identity/autoincrement column) key generation should be used.
UUIDHexGenerator: uuid A UUIDGenerator that returns a string of length 32, This string will consist of only hex digits. Optionally, the string may be generated with separators between each component of the UUID. Mapping parameters supported: separator.
SelectGenerator: A generator that selects the just inserted row to determine the identifier value assigned by the database. The correct row is located using a unique key. One mapping parameter is required: key (unless a natural-id is defined in the mapping).
InsertGeneratedIdentifierDelegate: Responsible for handling delegation relating to variants in how insert-generated-identifier generator strategies dictate processing: building the sql insert statement determination of the generated identifier value
PersistentIdentifierGenerator: An IdentifierGenerator that requires creation of database objects. All PersistentIdentifierGenerator s that also implement Configurable have access to a special mapping parameter: schema
SequenceGenerator: sequence Generates long values using an oracle-style sequence. A higher performance algorithm is SequenceHiLoGenerator . Mapping parameters supported: sequence, parameters.
IdentifierGeneratingInsert: Nothing more than a distinguishing subclass of Insert used to indicate intent. Some subclasses of this also provided some additional functionality or semantic to the genernated SQL statement string.
ForeignGenerator: foreign An Identifier generator that uses the value of the id property of an associated object One mapping parameter is required: property.
AbstractSelectingDelegate: Abstract InsertGeneratedIdentifierDelegate implementation where the underlying strategy requires an subsequent select after the insert to determine the generated identifier.
InsertSelectIdentityInsert: Specialized IdentifierGeneratingInsert which appends the database specific clause which signifies to return generated IDENTITY values to the end of the insert statement.
AbstractUUIDGenerator: The base class for identifier generators that use a UUID algorithm. This class implements the algorithm, subclasses define the identifier format.
Assigned: assigned An IdentifierGenerator that returns the current identifier assigned to an instance.
PostInsertIdentityPersister: A persister that may have an identity assigned by execution of a SQL INSERT .
IdentifierGenerationException: Thrown by IdentifierGenerator implementation class when ID generation fails.

Home | Contact Us | Privacy Policy | Terms of Service