APIdia Launch Partner
Top Description Fields Constructors Methods
io.github.spannm.jackcess.impl

public Class SqlHelper

extends Object
Class Inheritance
Known Direct Subclasses
io.github.spannm.jackcess.impl.SqlHelperImpl
Imports
java.io.IOException

Helper class to isolate the java.sql module interactions from the core of jackcess (in java 9+ environments). If the module is enabled (indicating that the application is already using sql constructs), then jackcess will seamlessly interact with sql types. If the module is not enabled (indicating that the application is not using any sql constructs), then jackcess will not require the module in order to function otherwise normally.

This base class is the "fallback" class if the java.sql module is not available.

Field Summary

Modifier and TypeField and Description
public static final SqlHelper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
public CharSequence
public Integer
public boolean
isBlob(Object value)

public boolean
isClob(Object value)

private static SqlHelper
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final SqlHelper INSTANCE

Constructor Detail

SqlHelperback to summary
public SqlHelper()

Method Detail

getBlobBytesback to summary
public byte[] getBlobBytes(Object value) throws IOException
getClobStringback to summary
public CharSequence getClobString(Object value) throws IOException
getNewSqlTypeback to summary
public Integer getNewSqlType(String typeName) throws Exception
isBlobback to summary
public boolean isBlob(Object value)
isClobback to summary
public boolean isClob(Object value)
loadInstanceback to summary
private static SqlHelper loadInstance()