1 C3P0简介
C3P0也是开源免费的连接池!C3P0被很多人看好!
2 C3P0的使用
package com.cug.c3p0;
import java.beans.PropertyVetoException;
import java.sql.Connection;
import java.sql.SQLException;
import org.junit.Test;
im...
分类:
编程语言 时间:
2015-01-12 21:05:10
阅读次数:
200
异常:
Caused by: java.sql.SQLException: We are already in the process of making 11 connections and the number of simultaneous builds has been throttled to 10
解决方案:
在proxool.xml中增加:
20
默认
10
...
分类:
其他好文 时间:
2015-01-12 13:04:31
阅读次数:
320
if (CharMatcher.anyOf("_").matchesAnyOf(rolename)) { log.error("rolename cannot contains '_':" + rolename); throw new SQLException(new ErrorVO...
分类:
其他好文 时间:
2015-01-12 12:40:41
阅读次数:
328
处理CLOB大数据对象
import java.sql.SQLException ;
import java.sql.DriverManager ;
import java.sql.ResultSet ;
import java.sql.Connection ;
import java.sql.PreparedStatement ;
import java.io.File ;
import ja...
分类:
其他好文 时间:
2015-01-12 09:29:43
阅读次数:
105
java.sql.SQLException: Can't call commit when autocommit=true at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934) at com.mysql.jdbc.SQLEr...
分类:
其他好文 时间:
2015-01-08 11:00:48
阅读次数:
135
今天 做mybatis 的批量插入的时候 出现
java.sql.SQLException: 无法从套接字读取更多的数据 的错误
解决方法:
由于批量插入的数据过大,需要分批次的插入。
List insertList = new ArrayList();
for (IdentificationData domain : list) {
insertList.add(d...
分类:
数据库 时间:
2015-01-07 23:38:58
阅读次数:
674
1.Caused by: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for 区别于2.x为,避免直接拷贝过来而不修改;2.java.sql.SQLException....
分类:
其他好文 时间:
2015-01-06 17:40:41
阅读次数:
176
Hibernate支持类的实现package com.myHibernateDao;import java.sql.SQLException;import java.util.List;import javax.annotation.Resource;import org.hibernate.Hib...
分类:
Web程序 时间:
2014-12-31 06:20:16
阅读次数:
197
在weblogic执行XA操作的时候,我们会碰到如下的错误,后来发现是JDBC配置的问题。主要报错:java.sql.SQLException: XA error: XAER_NOTA : The XID is not valid start() failed on resource'weblogi...
分类:
Web程序 时间:
2014-12-30 11:17:03
阅读次数:
384
1、错误描述
(mx.messaging.messages::ErrorMessage)#0
body = (null)
clientId = "18CE3B03-9709-9DA8-7634-340C23317FDD"
correlationId = "3161DF25-D056-D694-E5CF-963E4FE036D9"
destination = "waitContro...
分类:
数据库 时间:
2014-12-29 23:08:06
阅读次数:
565