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
Methods 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[]FirebirdDictionary.getCreateSequenceSQL(Sequence seq) Return eitherCREATE SEQUENCE <sequence name>orCREATE GENERATOR <sequence name>.String[]DBDictionary.getDropSequenceSQL(Sequence seq) Return a series of SQL statements to drop the given sequence.String[]FirebirdDictionary.getDropSequenceSQL(Sequence seq) On Firebird 1.5 returnDROP GENERATOR <sequence name>.DBDictionary.getFullName(Sequence seq) Returns the full name of the sequence, including the schema (delimited by the result ofDBDictionary.catalogSeparator).