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

Quick Search    Search Deep

org.springframework.jdbc.support.incrementer: Javadoc index of package org.springframework.jdbc.support.incrementer.


Package Samples:

org.springframework.jdbc.support.incrementer

Classes:

MySQLMaxValueIncrementer: Class to increment maximum value of a given MySQL table with the equivalent of an auto-increment column. Note: If you use this class, your MySQL key column should NOT be auto-increment, as the sequence table does the job. The sequence is kept in a table; there should be one sequence table per table that needs an auto-generated key. The table type of the sequence table should be MyISAM so the sequences are allocated without regard to any transactions that might be in progress. Example: create table tab (id int unsigned not null primary key, text varchar(100)); create table tab_sequence (value int ...
HsqlMaxValueIncrementer: Class to increment maximum value of a given HSQL table with the equivalent of an auto-increment column. Note: If you use this class, your HSQL key column should NOT be auto-increment, as the sequence table does the job. The sequence is kept in a table. There should be one sequence table per table that needs an auto-generated key. Example: create table tab (id int not null primary key, text varchar(100)); create table tab_sequence (value identity); insert into tab_sequence values(0); If cacheSize is set, the intermediate values are served without querying the database. If the server or your application ...
DataFieldMaxValueIncrementer: Interface that defines contract of incrementing any data store field's maximum value. Works much like a sequence number generator. Typical implementations can use RDBMS SQL, native RDBMS sequences, and/or Stored Procedures to do the job.
AbstractDataFieldMaxValueIncrementer: Implementation of DataFieldMaxValueIncrementer that delegates to a single getNextKey template method that returns a long. Uses longs for String values, padding with zeroes if required.
AbstractSequenceMaxValueIncrementer: Abstract base class for incrementers that use a database sequence. Subclasses need to provide the database-specific SQL to use.
DB2SequenceMaxValueIncrementer: DataFieldMaxValueIncrementer that retrieves the next value of a given DB2 sequence. Thanks to Mark MacMahon for the suggestion!
OracleSequenceMaxValueIncrementer: DataFieldMaxValueIncrementer that retrieves the next value of a given Oracle sequence.
PostgreSQLSequenceMaxValueIncrementer: Class to retrieve the next value of a given PostgreSQL Sequence.

Home | Contact Us | Privacy Policy | Terms of Service