Package | Description |
---|---|
org.apache.openjpa.jdbc.schema |
OpenJPA-JDBC Schema Management
This package provides utilities for managing the schema of
persistent objects stored in a relational database.
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
Modifier and Type | Method and Description |
---|---|
Sequence |
Schema.addSequence(DBIdentifier name) |
Sequence |
Schema.addSequence(String name)
Deprecated.
|
Sequence |
LazySchemaFactory.findSequence(DBIdentifier name) |
Sequence |
SchemaGroup.findSequence(DBIdentifier name) |
Sequence |
LazySchemaFactory.findSequence(QualifiedDBIdentifier name) |
Sequence |
SchemaGroup.findSequence(QualifiedDBIdentifier path) |
Sequence |
SchemaGroup.findSequence(Schema inSchema,
QualifiedDBIdentifier path) |
Sequence |
SchemaGroup.findSequence(Schema inSchema,
String name)
Deprecated.
|
Sequence |
SchemaGroup.findSequence(Sequence seq)
Find the equivalent of the given sequence in this schema group.
|
Sequence |
LazySchemaFactory.findSequence(String name)
Deprecated.
|
Sequence |
SchemaGroup.findSequence(String name)
Deprecated.
|
Sequence |
Schema.getSequence(DBIdentifier name) |
Sequence |
Schema.getSequence(String name)
Deprecated.
|
Sequence[] |
Schema.getSequences()
Return the schema's sequences.
|
Sequence[] |
XMLSchemaSerializer.getSequences() |
Sequence |
Schema.importSequence(Sequence seq)
Import a sequence from another schema.
|
protected Sequence |
SchemaGroup.newSequence(DBIdentifier name,
Schema schema) |
protected Sequence |
SchemaGroup.newSequence(String name,
Schema schema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
XMLSchemaSerializer.addSequence(Sequence seq) |
int |
Sequence.compareTo(Sequence other) |
boolean |
SchemaTool.createSequence(Sequence seq)
Add the given sequence to the database schema.
|
boolean |
SchemaTool.dropSequence(Sequence seq)
Drop the given sequence from the database schema.
|
Sequence |
SchemaGroup.findSequence(Sequence seq)
Find the equivalent of the given sequence in this schema group.
|
Sequence |
Schema.importSequence(Sequence seq)
Import a sequence from another schema.
|
protected boolean |
SchemaTool.isDroppable(Sequence seq)
Return true if the sequence is droppable.
|
boolean |
SchemaGroup.isKnownSequence(Sequence seq)
Return true if the given sequence is known to exist.
|
boolean |
Schema.removeSequence(Sequence seq)
Remove the given sequence from the schema.
|
boolean |
XMLSchemaSerializer.removeSequence(Sequence seq) |
Modifier and Type | Method and Description |
---|---|
protected 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,
DBIdentifier catalog,
DBIdentifier schemaName,
DBIdentifier sequenceName,
Connection conn) |
Sequence[] |
DBDictionary.getSequences(DatabaseMetaData meta,
String catalog,
String schemaName,
String sequenceName,
Connection conn)
Deprecated.
|
protected Sequence |
DBDictionary.newSequence(ResultSet sequenceMeta)
Create a new sequence from the information in the schema metadata.
|
protected Sequence |
FirebirdDictionary.newSequence(ResultSet sequenceMeta)
Call super implementation and trim sequence name.
|
protected Sequence |
IngresDictionary.newSequence(ResultSet sequenceMeta)
Overrides DBDictionary's newSequence method; trims the sequence name.
|
Modifier and Type | Method and Description |
---|---|
SQLBuffer |
SQLBuffer.append(Sequence seq) |
String |
DBDictionary.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 either
CREATE SEQUENCE <sequence name> or
CREATE 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 return
DROP GENERATOR <sequence name> . |
String |
DBDictionary.getFullName(Sequence seq)
Returns the full name of the sequence, including the schema (delimited
by the result of
DBDictionary.catalogSeparator ). |
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.