码迷,mamicode.com
首页 >  
搜索关键字:sqlexception    ( 976个结果)
java操作ORACLE数据库工具类(JDBC)
package com.util; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; /** * * 2015-3-5下午2:45:56 ...
分类:数据库   时间:2015-05-07 14:31:03    阅读次数:202
Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0
1、错误描述 [ERROR:]2015-05-05 16:35:50,664 [异常拦截] org.hibernate.exception.GenericJDBCException: error executing work at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQ...
分类:数据库   时间:2015-05-06 01:31:41    阅读次数:344
Caused by: java.sql.SQLException: Operand should contain 1 column(s)
1、错误描述 [ERROR:]2015-05-05 15:48:55,847 [异常拦截] org.hibernate.exception.DataException: error executing work at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDe...
分类:数据库   时间:2015-05-05 23:52:14    阅读次数:799
没有任何技术含量的一片日志
前几天需要写一个servlet,单纯的接受xml数据并存储到数据库中,数据库用的是: sqlserver 然后问题来了 java.sql.SQLException: No suitable driver found for jdbc:microsoft:sqlserver:······类似如此的...
分类:其他好文   时间:2015-05-04 12:09:46    阅读次数:140
JDBC处理可滚动的处理集
StatementcreateStatement(intresultSetType, intresultSetConcurrency, intresultSetHoldability) throws SQLException创建一个 Statement 对象,该对象将生成具有给定类型、并发性和...
分类:数据库   时间:2015-05-03 17:17:52    阅读次数:151
oracle_jdbc_insert_into
1 package com.ayang.jdbc; 2 3 import java.sql.Connection; 4 import java.sql.DriverManager; 5 import java.sql.SQLException; 6 import java.sql.Stateme.....
分类:数据库   时间:2015-05-03 10:30:19    阅读次数:131
执行Sql块
import java.sql.Connection;import java.sql.SQLException;import java.sql.Statement;import oracle.ConnectionManager;import oracle.exception.GetConnectio...
分类:数据库   时间:2015-04-30 19:42:02    阅读次数:147
Io exception: Connection reset
异常:Cause: java.sql.SQLException: Io exception: Connection reset问题原因:配置连接池问题解决:a、如(JNDI) b、如(项目dataSource)
分类:其他好文   时间:2015-04-29 19:38:39    阅读次数:215
Jdbc连接Hive
public class TestHive { private static String driverName = "org.apache.hadoop.hive.jdbc.HiveDriver"; public static void main(String[] args) throws SQLException { try { Class.forName(driverNam...
分类:数据库   时间:2015-04-27 10:07:08    阅读次数:156
HSQL
Whenever I connect to HSQLDB from my application deployed on eclipse Juno, it throws an exception as : java.sql.SQLException: error in script file lin...
分类:数据库   时间:2015-04-27 09:40:11    阅读次数:199
共976条   上一页 1 ... 72 73 74 75 76 ... 98 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!