1. 如何reset自己本地的修改?
选中指定的返回版本,右键菜单选择“rest to this commit”, 然后选择hard 模式。
2. 如何解决两个分支间的conflict?
1. merge develop 到feature,首先merge A 到 B,修改conflict,然后提交。
2. merge feature 到develop,首先merge develo...
分类:
其他好文 时间:
2015-02-03 17:12:08
阅读次数:
394
lookup->ADOQuery->Connection = DataModule1->ADOConnection1; lookup->ADOQuery->SQL->Text = "select id,Name,PYCode from T where uf=1"; lookup->ADOQuery....
分类:
其他好文 时间:
2015-02-03 17:08:21
阅读次数:
159
在项目中,需要连接mysql数据库的时候,我们最好选择使用数据库连接池,即需要选择DataSource。 而在使用c3p0的ComboPooledDataSource时,发现它的Connection实现类NewProxyConnection没有实现isValid(int timeout)方法;...
分类:
数据库 时间:
2015-02-03 16:56:43
阅读次数:
208
使用ECShop的smtp方式发送邮件时,在cls_smtp类文件中,执行到get_data方法中的语句: $line????=?fgets($this->connection,?512); ;时,发生超时错误。 注释掉该函数的执行,直接发送邮件,则返回错误ehl...
分类:
其他好文 时间:
2015-02-03 15:28:13
阅读次数:
202
JdbcUtils工具类的封装
package cn.wht.utils;
import java.sql.Connection;
import java.sql.SQLException;
import javax.sql.DataSource;
import com.mchange.v2.c3p0.ComboPooledDataSource;
public class JdbcU...
分类:
数据库 时间:
2015-02-03 15:14:28
阅读次数:
150
升级时提示 Connection failed. Please check your network connection and try again修改安装目录下bin\studio.exe.vmoptions文件,如E:\Android\android-studio\bin\studio.exe...
分类:
移动开发 时间:
2015-02-03 14:51:09
阅读次数:
113
在使用JDBC时,会重复的写很多重复的代码,例如 Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; String ...
分类:
数据库 时间:
2015-02-03 12:43:01
阅读次数:
226
陈科肇
=========
虚拟机操作系统:中标麒麟v6.0
主机:win7
虚拟机:VMWare8
================================
一、虚拟机配置:
1.Devices->Network Adapter->在Network connection单选选项中->选中Bridged:...->OK
2.直接截图,看图填写:
到此虚拟机...
分类:
系统相关 时间:
2015-02-03 11:13:45
阅读次数:
227
//java调用存储过程 使用游标遍历结果集
public void getCallableStatement(){
CallableStatement cs=null;
Connection conn=this.getConnection();
//存储过程 用户名.procedure
String procedure="{call emp_pkg.pro_read(?,?)}";...
分类:
其他好文 时间:
2015-02-03 11:13:38
阅读次数:
180
它由两部分组成,分别是数据提供程序和DataSet。在数据提供程序中又包括Connection、Command、DataAdapter和DataReader四个子成员。DataSet在ADO.NET中时至关重要的一部分,它的作用是储存、操纵数据。
作用
1、提供了平台互用性和可伸缩的数据访问,ADO .NET增强了对非连接编程模式的支持,并支持RICH XML。
2、是一组用于和数据源进行交互的面向对象类库。通常情况下,数据源是数据库,但它同样也能够是文本文件、Excel表格或...
分类:
Web程序 时间:
2015-02-02 23:17:03
阅读次数:
264