com.jivesoftware.base.database.sequence
Class PostgresSequenceProvider
java.lang.Object
com.jivesoftware.base.database.sequence.DatabaseSequenceProvider
com.jivesoftware.base.database.sequence.PostgresSequenceProvider
- All Implemented Interfaces:
- SequenceProvider
public class PostgresSequenceProvider
- extends DatabaseSequenceProvider
Method Summary |
protected java.sql.PreparedStatement |
getCreateStatement(java.sql.Connection conn,
java.lang.String name)
|
protected java.sql.PreparedStatement |
getCurrStatement(java.sql.Connection conn,
java.lang.String name)
|
protected java.sql.PreparedStatement |
getNextStatement(java.sql.Connection conn,
java.lang.String name)
|
protected java.sql.PreparedStatement |
getRemoveStatement(java.sql.Connection conn,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostgresSequenceProvider
public PostgresSequenceProvider()
getCreateStatement
protected java.sql.PreparedStatement getCreateStatement(java.sql.Connection conn,
java.lang.String name)
throws java.sql.SQLException
- Specified by:
getCreateStatement
in class DatabaseSequenceProvider
- Throws:
java.sql.SQLException
getRemoveStatement
protected java.sql.PreparedStatement getRemoveStatement(java.sql.Connection conn,
java.lang.String name)
throws java.sql.SQLException
- Specified by:
getRemoveStatement
in class DatabaseSequenceProvider
- Throws:
java.sql.SQLException
getNextStatement
protected java.sql.PreparedStatement getNextStatement(java.sql.Connection conn,
java.lang.String name)
throws java.sql.SQLException
- Specified by:
getNextStatement
in class DatabaseSequenceProvider
- Throws:
java.sql.SQLException
getCurrStatement
protected java.sql.PreparedStatement getCurrStatement(java.sql.Connection conn,
java.lang.String name)
throws java.sql.SQLException
- Specified by:
getCurrStatement
in class DatabaseSequenceProvider
- Throws:
java.sql.SQLException
Copyright © 1999-2006 Jive Software.