摘要:
db2 get snapshot for locks on sampledb2 get db cfg for sampledb2 update db cfg using dlchktime 10000 -查看数据库管理器级别快照信息 db2 get snapshot for dbm -查看数据库级别 阅读全文
2016年8月10日 #
2016年8月9日 #
摘要:
<bean class="org.apache.tomcat.jdbc.pool.PoolProperties"> <property name="url" value="${jdbcUrl}"/> <!--数据库驱动--> <property name="driverClassName" valu 阅读全文
摘要:
1:配置executor属性打开/conf/server.xml文件,在Connector之前配置一个线程池:[html] view plain copy<Executor name="tomcatThreadPool" namePrefix="tomcatThreadPool-" maxThrea 阅读全文
摘要:
tomcat 性能优化tomcat默认参数是为开发环境制定,而非适合生产环境,尤其是内存和线程的配置,默认都很低,容易成为性能瓶颈。 tomcat内存优化linux修改TOMCAT_HOME/bin/catalina.sh,在前面加入 JAVA_OPTS="-XX:PermSize=64M -XX: 阅读全文
2016年7月19日 #
摘要:
1、查看你的应用是否有权限查看你的地理位置信息,有可能是你没有加上权限,或者当你第一次打开app时询问你是否给予软件权限查看你的地理位置信息,你选择了否,所以经纬度就一直返回4.9E-324 2、查看你的libs文件加下的armeabi文件夹,里面liblocSDK3.so和liblocSDK4.s 阅读全文
2016年7月13日 #
摘要:
代码如下:Class.forName("com.ibm.db2.jcc.DB2Driver");Connection conn = DriverManager.getConnection("jdbc:db2://localhost:50000/sample","db2admin","12345678 阅读全文
2016年6月30日 #
摘要:
给图片添加水印的基本思路都是载入原图,添加文字或者载入水印图片,保存图片这三个部分 添加水印图片: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 private Bitmap createWaterMas 阅读全文
2016年6月16日 #
摘要:
案例1: SELECT * FROM( SELECT t.*, max(t.visit_date) over(partition by t.cust_id) visit_date1 FROM( select a.cust_id, a.assess_result, max(a.visit_date) 阅读全文
2016年6月7日 #
摘要:
Today I am going to explain how to create a ListView with EditText and why will we need a TextWatcher to implement the same. Before starting the topic 阅读全文
2016年6月6日 #
摘要:
整个xml文件的根元素如LinearLayout中添加属性android:descendantFocusability="blocksDescendants" 阅读全文