OSDN Git Service
(root)
/
rapideact
/
rapideact.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20170423
[rapideact/rapideact.git]
/
com
/
rapide_act
/
DataAccessObjects.java
diff --git
a/com/rapide_act/DataAccessObjects.java
b/com/rapide_act/DataAccessObjects.java
index
5d6f71e
..
d3e8168
100644
(file)
--- a/
com/rapide_act/DataAccessObjects.java
+++ b/
com/rapide_act/DataAccessObjects.java
@@
-87,7
+87,7
@@
public class DataAccessObjects{
driver = cp.driver;
}
driver = cp.driver;
}
- p
ublic
Connection connect() throws Exception{
+ p
rotected
Connection connect() throws Exception{
try {
CmnUtils.debugPrint("Start Driver class loading");
try {
CmnUtils.debugPrint("Start Driver class loading");
@@
-110,7
+110,7
@@
public class DataAccessObjects{
}
}
}
}
- p
ublic
PreparedStatement prepareSql(String _sql) throws Exception{
+ p
rotected
PreparedStatement prepareSql(String _sql) throws Exception{
try {
CmnUtils.debugPrint("Start prepared Statement");
CmnUtils.debugPrint(_sql);
try {
CmnUtils.debugPrint("Start prepared Statement");
CmnUtils.debugPrint(_sql);
@@
-126,7
+126,7
@@
public class DataAccessObjects{
}
}
}
}
- p
ublic
void executeSql() throws Exception{
+ p
rotected
void executeSql() throws Exception{
try {
executeSql(stmt);
try {
executeSql(stmt);
@@
-161,7
+161,7
@@
public class DataAccessObjects{
}
}
}
}
- p
ublic
void executeSql(PreparedStatement _stmt) throws Exception{
+ p
rotected
void executeSql(PreparedStatement _stmt) throws Exception{
try {
CmnUtils.debugPrint("Start execute Query");
try {
CmnUtils.debugPrint("Start execute Query");
@@
-200,19
+200,19
@@
public class DataAccessObjects{
}
}
}
}
- p
ublic
void commit() throws Exception{
+ p
rotected
void commit() throws Exception{
CmnUtils.debugPrint("Start commit");
conn.commit();
CmnUtils.debugPrint("End commit");
}
CmnUtils.debugPrint("Start commit");
conn.commit();
CmnUtils.debugPrint("End commit");
}
- p
ublic
void rollback() throws Exception{
+ p
rotected
void rollback() throws Exception{
CmnUtils.debugPrint("Start rollback");
conn.rollback();
CmnUtils.debugPrint("End rollback");
}
CmnUtils.debugPrint("Start rollback");
conn.rollback();
CmnUtils.debugPrint("End rollback");
}
- p
ublic
void closeRecordSet() throws Exception{
+ p
rotected
void closeRecordSet() throws Exception{
if(rst != null){
rst.close();
rst = null;
if(rst != null){
rst.close();
rst = null;
@@
-223,7
+223,7
@@
public class DataAccessObjects{
}
}
}
}
- p
ublic
void select(String _sql) throws Exception{
+ p
rotected
void select(String _sql) throws Exception{
PreparedStatement stmt;
stmt = prepareSql(_sql);
executeSql(stmt);
PreparedStatement stmt;
stmt = prepareSql(_sql);
executeSql(stmt);
@@
-231,53
+231,53
@@
public class DataAccessObjects{
closeRecordSet();
}
closeRecordSet();
}
- p
ublic
int getColumnCount() throws Exception{
+ p
rotected
int getColumnCount() throws Exception{
return ColumnCount;
}
return ColumnCount;
}
- p
ublic
int getRecCount() throws Exception{
+ p
rotected
int getRecCount() throws Exception{
return recCount;
}
return recCount;
}
- p
ublic
ArrayList<String> getArrayList() throws Exception{
+ p
rotected
ArrayList<String> getArrayList() throws Exception{
return alData;
}
return alData;
}
- p
ublic
ArrayList<String> getArrayColumnNameList() throws Exception{
+ p
rotected
ArrayList<String> getArrayColumnNameList() throws Exception{
return alColName;
}
return alColName;
}
- p
ublic
ArrayList<String> getArrayColumnTypeNameList() throws Exception{
+ p
rotected
ArrayList<String> getArrayColumnTypeNameList() throws Exception{
return alColTypeName;
}
return alColTypeName;
}
- p
ublic
ArrayList<Integer> getArrayIsNullableList() throws Exception{
+ p
rotected
ArrayList<Integer> getArrayIsNullableList() throws Exception{
return alIsNullable;
}
return alIsNullable;
}
- p
ublic
ArrayList<Integer> getArrayPrecisionList() throws Exception{
+ p
rotected
ArrayList<Integer> getArrayPrecisionList() throws Exception{
return alColPrecision;
}
return alColPrecision;
}
- p
ublic
void setArrayColumnMaskList(ArrayList<Boolean> _alColMask) throws Exception{
+ p
rotected
void setArrayColumnMaskList(ArrayList<Boolean> _alColMask) throws Exception{
alColMask = _alColMask;
colMask = (Boolean[])alColMask.toArray(new Boolean[0]);
}
alColMask = _alColMask;
colMask = (Boolean[])alColMask.toArray(new Boolean[0]);
}
- p
ublic
void setArrayColumnInclList(ArrayList<Boolean> _alColIncl) throws Exception{
+ p
rotected
void setArrayColumnInclList(ArrayList<Boolean> _alColIncl) throws Exception{
alColIncl = _alColIncl;
colIncl = (Boolean[])alColIncl.toArray(new Boolean[0]);
}
alColIncl = _alColIncl;
colIncl = (Boolean[])alColIncl.toArray(new Boolean[0]);
}
- p
ublic
void setTableName(String _tbName) throws Exception{
+ p
rotected
void setTableName(String _tbName) throws Exception{
tbName = _tbName;
}
tbName = _tbName;
}
- p
ublic
ResultSet getResultSet() throws Exception{
+ p
rotected
ResultSet getResultSet() throws Exception{
return rst;
}
return rst;
}
- p
ublic
void getRecordToArray() throws Exception{
+ p
rotected
void getRecordToArray() throws Exception{
try {
CmnUtils.debugPrint("Start get RecordSet to Array");
while (rst.next()) {
try {
CmnUtils.debugPrint("Start get RecordSet to Array");
while (rst.next()) {
@@
-302,7
+302,7
@@
public class DataAccessObjects{
}
}
}
}
- p
ublic
void getRecordToPrint(PrintWriter _pw, int _firstCol, int _lastCol) throws Exception{
+ p
rotected
void getRecordToPrint(PrintWriter _pw, int _firstCol, int _lastCol) throws Exception{
try {
CmnUtils.debugPrint("Start get Record to Print");
recCount = 0;
try {
CmnUtils.debugPrint("Start get Record to Print");
recCount = 0;
@@
-668,7
+668,7
@@
public class DataAccessObjects{
}
}
}
}
- p
ublic
void disconnect() throws Exception{
+ p
rotected
void disconnect() throws Exception{
try {
CmnUtils.debugPrint("Start disconnect database");
try {
CmnUtils.debugPrint("Start disconnect database");