use of org.firebirdsql.gds.impl.ServiceParameterBufferImp in project jaybird by FirebirdSQL.
the class V13ParameterConverter method createServiceParameterBuffer.
protected ServiceParameterBuffer createServiceParameterBuffer(WireServiceConnection connection) {
final Encoding stringEncoding = connection.getEncodingFactory().getEncodingForFirebirdName("UTF8");
ServiceParameterBuffer spb = new ServiceParameterBufferImp(ServiceParameterBufferImp.SpbMetaData.SPB_VERSION_3_ATTACH, stringEncoding);
spb.addArgument(SpbItems.isc_spb_utf8_filename);
return spb;
}
use of org.firebirdsql.gds.impl.ServiceParameterBufferImp in project jaybird by FirebirdSQL.
the class V12ParameterConverter method createServiceParameterBuffer.
protected ServiceParameterBuffer createServiceParameterBuffer(WireServiceConnection connection) {
final Encoding stringEncoding = connection.getEncodingFactory().getEncodingForFirebirdName("UTF8");
ServiceParameterBuffer spb = new ServiceParameterBufferImp(ServiceParameterBufferImp.SpbMetaData.SPB_VERSION_2_ATTACH, stringEncoding);
spb.addArgument(SpbItems.isc_spb_utf8_filename);
return spb;
}
Aggregations