Serialized Form
timeout
int timeout
t
talk t
query_count
long query_count
exec_count
long exec_count
query_time
long query_time
exec_time
long exec_time
user_id
java.lang.String user_id
fname
java.lang.String fname
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- readObject is called to restore the state of the hashtable from
a stream. Only the keys and values are serialized since the
hash values may be different when the contents are restored.
Read count elements and insert into the hashtable.
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
talk_name
java.lang.String talk_name
background_data
java.util.Hashtable background_data
f_db_type
java.lang.String f_db_type
f_ip
java.lang.String f_ip
f_UID
java.lang.String f_UID
f_PWD
java.lang.String f_PWD
f_port
java.lang.String f_port
f_sid
java.lang.String f_sid
f_timeout
java.lang.String f_timeout
obj_id
java.lang.String obj_id
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- readObject is called to restore the state of the hashtable from
a stream. Only the keys and values are serialized since the
hash values may be different when the contents are restored.
Read count elements and insert into the hashtable.
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
enable_cache
boolean enable_cache
cache
java.util.Hashtable cache
thread
java.lang.Thread thread
sql_timeout
int sql_timeout
transactionIsolation
java.lang.String transactionIsolation
login_sql
java.lang.String login_sql
f_db_type
java.lang.String f_db_type
f_ip
java.lang.String f_ip
f_UID
java.lang.String f_UID
f_PWD
java.lang.String f_PWD
f_port
java.lang.String f_port
f_sid
java.lang.String f_sid
client_enc
java.lang.String client_enc
enable_transaction
boolean enable_transaction
f_timeout
java.lang.String f_timeout
f_comment
java.lang.String f_comment
f_max_connections
int f_max_connections
f_need_convert_code
int f_need_convert_code
sql_log
java.lang.String sql_log
threadPool
java.lang.Thread[] threadPool
conPool
java.sql.Connection[] conPool
statPool
java.sql.Statement[] statPool
lastTimePool
long[] lastTimePool
flagPool
int[] flagPool
dataPool
java.lang.String[] dataPool
time_stampPool
long[] time_stampPool
auto_trim
boolean auto_trim
log_table
java.lang.String log_table
obj_id
java.lang.String obj_id
talk_name
java.lang.String talk_name
smart_mode
boolean smart_mode
connection
java.sql.Connection connection
statement
java.sql.Statement statement
AutoClose_timeout
int AutoClose_timeout
lastTime
long lastTime
timeout
boolean timeout
server_enc
java.lang.String server_enc
callback_object
java.lang.Object callback_object
create_log_table
java.lang.String create_log_table
background_datas
java.util.Vector background_datas
background_data
java.util.Hashtable background_data
TYPES
java.lang.String[][] TYPES
show_column_remark
boolean show_column_remark
- 查詢 table 的欄位資料 .
如發生任何錯誤會產生 Excepion
使用方法 :
talk t=new talk(db_type,ip,uid,pwd,sid);
String ret[][]=t.getColumnsFromPool("my_table");
ret[i][0]: column name
ret[i][1]: column type
ret[i][2]: column type name
ret[i][3]: column prec
ret[i][4]: column scale
ret[i][5]: column length
mode
int mode
isClosed
boolean isClosed
TRAP
java.util.Hashtable TRAP
f_db_type
java.lang.String f_db_type
f_ip
java.lang.String f_ip
f_UID
java.lang.String f_UID
f_PWD
java.lang.String f_PWD
f_port
java.lang.String f_port
f_sid
java.lang.String f_sid
caption
javax.swing.JLabel caption
jsp
javax.swing.JScrollPane jsp
panBtn
javax.swing.JPanel panBtn
btnSure
javax.swing.JButton btnSure
btnHelp
javax.swing.JButton btnHelp
bgColor
java.awt.Color bgColor
root
javax.swing.JPanel root
content
java.lang.String content
bedt
bTextEditor bedt
value
java.util.Hashtable value
strURLs
java.lang.String[] strURLs
base
bBase base
hproc2
hproc hproc2
c1
java.util.Hashtable c1
num
int num
base
bBase base
c1
java.util.Hashtable c1
base
bBase base
c1
java.util.Hashtable c1
base
bBase base
c1
java.util.Hashtable c1
base
bBase base
c1
java.util.Hashtable c1
base
bBase base
c1
java.util.Hashtable c1
currentDay
int currentDay
currentMonth
int currentMonth
currentYear
int currentYear
dateText
javax.swing.JLabel dateText
calendar
java.util.Calendar calendar
date
java.util.Date date
previousYear
javax.swing.JButton previousYear
previousMonth
javax.swing.JButton previousMonth
nextMonth
javax.swing.JButton nextMonth
nextYear
javax.swing.JButton nextYear
okay
javax.swing.JButton okay
cancel
javax.swing.JButton cancel
returnValue
int returnValue
dialog
javax.swing.JDialog dialog
days
javax.swing.JPanel days
c1
cLabel c1
format
java.lang.String format
formdata
java.util.Hashtable formdata
file_upload
boolean file_upload
filename
java.lang.String filename
ht2
java.util.Hashtable ht2
files
java.util.Hashtable files
file_ins
java.util.Hashtable file_ins
req
javax.servlet.http.HttpServletRequest req
resp
javax.servlet.http.HttpServletResponse resp