UCA-1: find customers update

This commit is contained in:
2023-09-14 14:59:47 +01:00
parent cdc81b4517
commit cd95e2c7fd
6 changed files with 40 additions and 20 deletions
@@ -67,12 +67,12 @@ public class PreparedSentence extends JDBCSentence {
/**
*
* @param s
* @param session
* @param sentence
* @param serwrite
*/
public PreparedSentence(Session s, String sentence, SerializerWrite serwrite) {
this(s, sentence, serwrite, null);
public PreparedSentence(Session session, String sentence, SerializerWrite serwrite) {
this(session, sentence, serwrite, null);
}
/**
@@ -29,14 +29,14 @@ import com.unicenta.basic.BasicException;
*/
public abstract class SentenceExecTransaction implements SentenceExec {
private Session m_s;
private Session session;
/**
*
* @param s
* @param session
*/
public SentenceExecTransaction(Session s) {
m_s = s;
public SentenceExecTransaction(Session session) {
this.session = session;
}
/**
@@ -66,7 +66,7 @@ public abstract class SentenceExecTransaction implements SentenceExec {
*/
public final int exec(final Object params) throws BasicException {
Transaction<Integer> t = new Transaction<Integer>(m_s) {
Transaction<Integer> t = new Transaction<Integer>(session) {
public Integer transact() throws BasicException{
return execInTransaction(params);
}