Uses of Class
org.apache.openjpa.jdbc.schema.Sequence
Packages that use Sequence
Package
Description
OpenJPA-JDBC Schema Management
OpenJPA-JDBC SQL Abstraction
-
Uses of Sequence in org.apache.openjpa.jdbc.schema
Classes in org.apache.openjpa.jdbc.schema that implement interfaces with type arguments of type SequenceMethods in org.apache.openjpa.jdbc.schema that return SequenceModifier and TypeMethodDescriptionSchema.addSequence(String name) Deprecated.Schema.addSequence(DBIdentifier name) LazySchemaFactory.findSequence(String name) Deprecated.LazySchemaFactory.findSequence(DBIdentifier name) LazySchemaFactory.findSequence(QualifiedDBIdentifier name) SchemaGroup.findSequence(String name) Deprecated.SchemaGroup.findSequence(DBIdentifier name) SchemaGroup.findSequence(QualifiedDBIdentifier path) SchemaGroup.findSequence(Schema inSchema, String name) Deprecated.SchemaGroup.findSequence(Schema inSchema, QualifiedDBIdentifier path) SchemaGroup.findSequence(Sequence seq) Find the equivalent of the given sequence in this schema group.Schema.getSequence(String name) Deprecated.Schema.getSequence(DBIdentifier name) Sequence[]Schema.getSequences()Return the schema's sequences.Sequence[]XMLSchemaSerializer.getSequences()Schema.importSequence(Sequence seq) Import a sequence from another schema.protected SequenceSchemaGroup.newSequence(String name, Schema schema) Deprecated.protected SequenceSchemaGroup.newSequence(DBIdentifier name, Schema schema) Methods in org.apache.openjpa.jdbc.schema with parameters of type SequenceModifier and TypeMethodDescriptionvoidXMLSchemaSerializer.addSequence(Sequence seq) intbooleanSchemaTool.createSequence(Sequence seq) Add the given sequence to the database schema.booleanSchemaTool.dropSequence(Sequence seq) Drop the given sequence from the database schema.SchemaGroup.findSequence(Sequence seq) Find the equivalent of the given sequence in this schema group.Schema.importSequence(Sequence seq) Import a sequence from another schema.protected booleanSchemaTool.isDroppable(Sequence seq) Return true if the sequence is droppable.booleanSchemaGroup.isKnownSequence(Sequence seq) Return true if the given sequence is known to exist.booleanSchema.removeSequence(Sequence seq) Remove the given sequence from the schema.booleanXMLSchemaSerializer.removeSequence(Sequence seq) -
Uses of Sequence in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql that return SequenceModifier and TypeMethodDescriptionprotected Sequence[]DBDictionary.getSequence(ResultSet rs) This method is to provide override for non-JDBC or JDBC-like implementation of getting sequence from the result set.Sequence[]DBDictionary.getSequences(DatabaseMetaData meta, String catalog, String schemaName, String sequenceName, Connection conn) Deprecated.Sequence[]DBDictionary.getSequences(DatabaseMetaData meta, DBIdentifier catalog, DBIdentifier schemaName, DBIdentifier sequenceName, Connection conn) protected SequenceDBDictionary.newSequence(ResultSet sequenceMeta) Create a new sequence from the information in the schema metadata.protected SequenceFirebirdDictionary.newSequence(ResultSet sequenceMeta) Call super implementation and trim sequence name.protected SequenceIngresDictionary.newSequence(ResultSet sequenceMeta) Overrides DBDictionary's newSequence method; trims the sequence name.Methods in org.apache.openjpa.jdbc.sql with parameters of type SequenceModifier and TypeMethodDescriptionDBDictionary.getAlterSequenceSQL(Sequence seq) String[]DBDictionary.getCreateSequenceSQL(Sequence seq) Return a series of SQL statements to create the given sequence.String[]DerbyDictionary.getCreateSequenceSQL(Sequence seq) Derby creates a sequence of typeINTEGERunless told otherwise, which runs out at 2^31 - 1.String[]FirebirdDictionary.getCreateSequenceSQL(Sequence seq) Return eitherCREATE SEQUENCE <sequence name>orCREATE GENERATOR <sequence name>.String[]MariaDBDictionary.getCreateSequenceSQL(Sequence seq) MariaDB caches 1000 increments of a sequence per server by default, and discards what is left of that range whenever the cache is flushed - anALTER SEQUENCE, a restart - so the identifiers jump by up to1000 * increment.String[]SQLServerDictionary.getCreateSequenceSQL(Sequence seq) A SQL Server sequence created withoutSTART WITHstarts at the minimum value of its type, -2^63 for the defaultBIGINT, rather than at 0, so an initial value of 0 is given explicitly.String[]DBDictionary.getDropSequenceSQL(Sequence seq) Return a series of SQL statements to drop the given sequence.String[]DerbyDictionary.getDropSequenceSQL(Sequence seq) Derby requires theRESTRICTkeyword onDROP SEQUENCE.String[]FirebirdDictionary.getDropSequenceSQL(Sequence seq) On Firebird 1.5 returnDROP GENERATOR <sequence name>.String[]PostgresDictionary.getDropSequenceSQL(Sequence seq) ReturnsDROP SEQUENCE IF EXISTS <name>.DBDictionary.getFullName(Sequence seq) Returns the full name of the sequence, including the schema (delimited by the result ofDBDictionary.catalogSeparator).DBDictionary.getSequenceIncrement(Connection conn, Sequence seq) Return theINCREMENT BYthat the given sequence has in the database.DerbyDictionary.getSequenceIncrement(Connection conn, Sequence seq) Reads the increment of the sequence fromSYS.SYSSEQUENCES.booleanDBDictionary.isDroppable(Sequence seq) Subclasses can override this method to implement custom logicbooleanOracleDictionary.isDroppable(Sequence seq)