Package org.firebirdsql.jdbc.field
Interface FBFlushableField
-
- All Known Implementing Classes:
FBLongVarCharField
public interface FBFlushableFieldInstances of this field cache data in auto-commit case if no transaction is yet available and must be flushed before transaction is committed.- Author:
- Roman Rokytskyy
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFBFlushableField.CachedObject
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflushCachedData()Flush cached data to the database server.byte[]getCachedData()Get cached data.FBFlushableField.CachedObjectgetCachedObject()voidsetCachedObject(FBFlushableField.CachedObject cachedObject)
-
-
-
Method Detail
-
flushCachedData
void flushCachedData() throws java.sql.SQLExceptionFlush cached data to the database server.- Throws:
java.sql.SQLException- if something went wrong.
-
getCachedData
byte[] getCachedData() throws java.sql.SQLExceptionGet cached data.- Returns:
- cached object of this field.
- Throws:
java.sql.SQLException- if something went wrong.
-
getCachedObject
FBFlushableField.CachedObject getCachedObject() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
setCachedObject
void setCachedObject(FBFlushableField.CachedObject cachedObject) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-