Class SVNSqlJetDb
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.db.SVNSqlJetDb
-
public class SVNSqlJetDb extends java.lang.Object
- Author:
- TMate Software Ltd.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SVNSqlJetDb.Mode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginTransaction(org.tmatesoft.sqljet.core.SqlJetTransactionMode mode)
void
close()
void
commit()
static void
createSqlJetError(org.tmatesoft.sqljet.core.SqlJetException e)
void
execStatement(SVNWCDbStatements statementIndex)
org.tmatesoft.sqljet.core.table.SqlJetDb
getDb()
static org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode
getJournalMode()
int
getOpenCount()
SVNSqlJetStatement
getStatement(SVNWCDbStatements statementIndex)
SVNSqlJetDb
getTemporaryDb()
boolean
hasTable(java.lang.String tableName)
static SVNSqlJetDb
open(java.io.File sdbAbsPath, SVNSqlJetDb.Mode mode)
static SVNSqlJetDb
open(java.io.File sdbAbsPath, SVNSqlJetDb.Mode mode, org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode journalMode, boolean temporaryDbInMemory)
void
rollback()
void
runTransaction(SVNSqlJetTransaction transaction)
void
runTransaction(SVNSqlJetTransaction transaction, org.tmatesoft.sqljet.core.SqlJetTransactionMode mode)
static void
setJournalMode(org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode journalMode)
void
verifyNoWork()
-
-
-
Method Detail
-
getDb
public org.tmatesoft.sqljet.core.table.SqlJetDb getDb()
-
getOpenCount
public int getOpenCount()
-
close
public void close() throws SVNException
- Throws:
SVNException
-
setJournalMode
public static void setJournalMode(org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode journalMode)
-
getJournalMode
public static org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode getJournalMode()
-
open
public static SVNSqlJetDb open(java.io.File sdbAbsPath, SVNSqlJetDb.Mode mode) throws SVNException
- Throws:
SVNException
-
open
public static SVNSqlJetDb open(java.io.File sdbAbsPath, SVNSqlJetDb.Mode mode, org.tmatesoft.sqljet.core.internal.SqlJetPagerJournalMode journalMode, boolean temporaryDbInMemory) throws SVNException
- Throws:
SVNException
-
getTemporaryDb
public SVNSqlJetDb getTemporaryDb() throws SVNException
- Throws:
SVNException
-
getStatement
public SVNSqlJetStatement getStatement(SVNWCDbStatements statementIndex) throws SVNException
- Throws:
SVNException
-
execStatement
public void execStatement(SVNWCDbStatements statementIndex) throws SVNException
- Throws:
SVNException
-
createSqlJetError
public static void createSqlJetError(org.tmatesoft.sqljet.core.SqlJetException e) throws SVNException
- Throws:
SVNException
-
beginTransaction
public void beginTransaction(org.tmatesoft.sqljet.core.SqlJetTransactionMode mode) throws SVNException
- Throws:
SVNException
-
commit
public void commit() throws SVNException
- Throws:
SVNException
-
verifyNoWork
public void verifyNoWork()
-
runTransaction
public void runTransaction(SVNSqlJetTransaction transaction) throws SVNException
- Throws:
SVNException
-
runTransaction
public void runTransaction(SVNSqlJetTransaction transaction, org.tmatesoft.sqljet.core.SqlJetTransactionMode mode) throws SVNException
- Throws:
SVNException
-
rollback
public void rollback() throws SVNException
- Throws:
SVNException
-
hasTable
public boolean hasTable(java.lang.String tableName) throws SVNException
- Throws:
SVNException
-
-