按类别查询搜索结果
关于关键词 的检测结果,共 1591
hxl | 2015-06-09 11:32:13 | 阅读(0) | 评论(0)
proxool.xml文件内容如下            mysql      &nbs...【阅读全文】
yueys_canedy | 2015-06-09 10:36:58 | 阅读(17871) | 评论(1)
    最近遇到服务器迁移,增加了mongodb的权限认证,所以导致之前的程序不能正确的执行,特意查看了相应的api1. java连接mongodb    MongoClient mongoClient;    MongoCredential credential = MongoCredential.createCredential("user", "database", password);&n...【阅读全文】
hxl | 2015-06-05 13:45:29 | 阅读(0) | 评论(0)
点击(此处)折叠或打开package com.hxl.database;////一个效果非常不错的JAVA数据库连接池.//from:http://www.jxer.com/home/?uid-195-action-viewspace-itemid-332//虽然现在用APACHE COMMONS DBCP可以非常方便的建立数据...【阅读全文】
ningbohezhijun | 2015-05-29 14:02:21 | 阅读(240) | 评论(0)
    这次在开发的时候,发现测试数据库总是报下面这个错误:Caused by: java.sql.SQLException: null,  message from server: "Host 'SJSWT46-147.opi.com' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"。发现重启数据库也没有用。网上查了个方法,说是只能...【阅读全文】
summer_hll | 2015-05-21 09:01:06 | 阅读(510) | 评论(0)
xiao_chao | 2015-05-19 14:08:21 | 阅读(1180) | 评论(0)
System.getProperty()方法大全【阅读全文】
马伟东 | 2015-05-18 14:21:29 | 阅读(2160) | 评论(0)
import java.sql.*; //用jdbc连接数据库 public class zz { /**  * @param args  */   public static void main(String[] args) {   // TODO Auto-generated method stub    &nb...【阅读全文】
yaliyang1 | 2015-05-14 10:36:58 | 阅读(470) | 评论(0)
yaliyang1 | 2015-05-14 10:18:17 | 阅读(330) | 评论(0)
yaliyang1 | 2015-05-14 10:17:39 | 阅读(450) | 评论(0)
woxin317 | 2015-04-29 17:04:19 | 阅读(550) | 评论(0)
点击(此处)折叠或打开public class Tool {    public void setProperty(Object obj, String propertyName, Object value)            throws NoSuchFieldException, SecurityEx...【阅读全文】
woxin317 | 2015-04-29 16:53:44 | 阅读(460) | 评论(0)
点击(此处)折叠或打开/* * 我给你ArrayList<Integer>的一个对象,我想在这个集合中添加一个字符串数据,如何实现呢? */public class ArrayListDemo {    public static void main(String[] args) throw...【阅读全文】
woxin317 | 2015-04-29 15:52:17 | 阅读(470) | 评论(0)
点击(此处)折叠或打开/* * 通过配置文件运行类中的方法 *  * 反射: *         需要有配置文件配合使用。 *       &nb...【阅读全文】
woxin317 | 2015-04-29 15:27:35 | 阅读(1010) | 评论(0)
点击(此处)折叠或打开public class ReflectDemo {    public static void main(String[] args) throws Exception {        // 获取字节码文件对象   &nb...【阅读全文】
woxin317 | 2015-04-29 12:00:14 | 阅读(620) | 评论(0)
点击(此处)折叠或打开package cn.itcast_03;import java.lang.reflect.Constructor;import java.lang.reflect.Field;/* * 通过发生获取成员变量并使用 */public class ...【阅读全文】
woxin317 | 2015-04-29 11:39:33 | 阅读(480) | 评论(0)
点击(此处)折叠或打开/* * 需求:通过反射获取私有构造方法并使用 * private Person(String name){} *  * Person p = new Person("风清扬"); * System.out.println(p); */...【阅读全文】
woxin317 | 2015-04-29 11:31:05 | 阅读(560) | 评论(0)
点击(此处)折叠或打开/* * 需求:通过反射去获取该构造方法并使用: * public Person(String name, int age, String address) *  * Person p = new Person("林青霞",27,"北京"); * System.out.p...【阅读全文】
pppp0010 | 2015-04-26 08:23:42 | 阅读(130) | 评论(0)
Familiesnike tn requin have different requirements not to mention hobbies. Described tend to be passionate when using the family car, a lot of them are usually chasing their own most-liked roll film personalities to go by his / her craze. A lot of them can be attracted from the excellent Nike Ox...【阅读全文】
幸福彼岸ing | 2015-04-23 16:20:08 | 阅读(290) | 评论(0)
北风网IT视频教程五一全场八折,可折上折北风网五一放“价”了1:全场课程八折优惠,VIP折上折,5级VIP会员底至6折。2:新增四大就业课程原价5000,活动期间3999,另+1元即可获赠价值1000的自选课程一套。活动日期2015年4月20日-4月24日咨询qq:1840215592活动介绍:http://www.ibeifeng.com/duang51.html...【阅读全文】
IT世界和平 | 2015-04-23 15:39:20 | 阅读(1740) | 评论(0)
        字符串连接操作中StringBuffer的效率要比String高。由于String对象为不可变对象,每次操作String都会重新建立新的对象来保存新的值。这样原来的对象就会被垃圾回收,这也会影响性能的。         例如使用如下两段代码测试S...【阅读全文】