摘要:
环境:oracle使用PreparedStatement的executeBatch方法,如果DML操作成功,返回值[-2,-2,...]an array of update counts containing one element for each command in the batch.int... 阅读全文
摘要:
使用plsql dev的朋友多遇到过类此如下面的提示:Dynamic Performance Tables not accessible, Automatic Statistics Disabled for this session You can disable statistics in the... 阅读全文
摘要:
在往JTextArea中填充数据时,JTextArea上的滚动条也可以拖动。解决办法:主线程放在EDT中,fill JTextArea的操作放在另外一个线程中,这样fill操作与GUI上的操作就分离了,不会出现排除的情况package swing.jtextarea;import java.awt.... 阅读全文
摘要:
package algorithm;public class ProducerConsumer { public static void main(String[] args) { SyncStack ss = new SyncStack(); new Thread... 阅读全文