/** * Get a mostly empty properties-operation buffer that can be filled in as * needed. The buffer created by this method cannot have the options * bitmask set on it. */ private ServiceRequestBuffer createDefaultPropertiesSRB(FbService service) { return createPropertiesSRB(service, 0); }
/** * Get a mostly empty properties-operation buffer that can be filled in as * needed. The buffer created by this method cannot have the options * bitmask set on it. */ private ServiceRequestBuffer createDefaultPropertiesSRB(FbService service) { return createPropertiesSRB(service, 0); }
/** * Execute a isc_spb_prp_* (properties) services operation. * * @param operation * The identifier for the operation to be executed * @throws SQLException * if a database access error occurs */ private void executePropertiesOperation(int operation) throws SQLException { try (FbService service = attachServiceManager()) { ServiceRequestBuffer srb = createPropertiesSRB(service, operation); executeServicesOperation(service, srb); } }
/** * Execute a isc_spb_prp_* (properties) services operation. * * @param operation * The identifier for the operation to be executed * @throws SQLException * if a database access error occurs */ private void executePropertiesOperation(int operation) throws SQLException { try (FbService service = attachServiceManager()) { ServiceRequestBuffer srb = createPropertiesSRB(service, operation); executeServicesOperation(service, srb); } }