spring 配置连接 db2 as400db2数据库安装教程时报错,请大神帮忙分下原因!

使用spring连接及操作mongodb3.0
前边有一篇记录过不使用spring,直接在java代码中连接和操作mongodb,这里就紧随其后记录一下使用spring的情况下,在java中简单操作mongodb。
maven导包配置: 因为涉及了sping以及springm,因此也需要导入它们相关的包:
spring_mongo
spring_mongo
0.0.1-SNAPSHOT
spring_mongo Maven Webapp
http://maven.apache.org
org.springframework.data
spring-data-mongodb
1.8.0.RELEASE
org.mongodb
mongo-java-driver
commons-logging
commons-logging
org.springframework
spring-test
4.1.6.RELEASE
org.springframework
spring-context
4.1.7.RELEASE
org.springframework
spring-context-support
4.0.9.RELEASE
maven-compiler-plugin
${java.home}/lib/rt.${java.home}/lib/jce.jar
spring_mongo
spring基础配置: 主要是开启注解扫描等:
&?xml version=&1.0& encoding=&UTF-8&?&
&beans xmlns:task=&http://www.springframework.org/schema/task&
xmlns=&http://www.springframework.org/schema/beans& xmlns:xsi=&http://www.w3.org/2001/XMLSchema-instance&
xmlns:context=&http://www.springframework.org/schema/context&
xsi:schemaLocation=&
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-3.1.xsd&&
&!-- 自动扫描(自动注入) --&
&context:component-scan base-package=&spring_mogo.dao.daoImp& /&
&!-- 导入mongodb的配置文件 --&
&import resource=&spring-mongodb305.xml& /&
&!-- 开启注解 --&
&context:annotation-config /&
spring连接mongodb以及建立相关工厂的配置:
与数据库对应的实体类: 需要注意的是这里需要实现序列化的接口并设置uid的属性,否则不能在操作中直接把数据库返回结果转换成对象属性:
package spring_mongo.
import java.io.S
public class UserModel implements Serializable {
private static final long serialVersionUID = 1L;
private String userN
public UserModel(String userName, String password) {
this.userName = userN
this.password =
public String getUserName() {
return userN
public void setUserName(String userName) {
this.userName = userN
public String getPassword() {
public void setPassword(String password) {
this.password =
根据spring配置获取操作mongodb的MongoTemplete,需要实现ApplicationContextAware接口:
package spring_mogo.dao.daoI
import org.springframework.beans.BeansE
import org.springframework.context.ApplicationC
import org.springframework.context.ApplicationContextA
import org.springframework.data.mongodb.core.MongoT
public abstract class AbstractBaseMongoTemplete implements
ApplicationContextAware {
protected MongoTemplate mongoT
* @Description 根据配置文件设置mongoTemplate
* @param mongoTemplate
public void setMongoTemplate(MongoTemplate mongoTemplate) {
this.mongoTemplate = mongoT
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException {
MongoTemplate mongoTemplate = applicationContext.getBean(
&mongoTemplate&, MongoTemplate.class);
setMongoTemplate(mongoTemplate);
操作数据库的接口以及对应的实现类: 演示了最基础的增删改查,需要注意的地方在于参数的声明以及接收返回数据时和实体类的转换: (1)接口:
package spring_mogo.
import java.util.L
import spring_mongo.models.UserM
public interface UserDao {
* 查询数据
* @author:tuzongxun
* @Title: findAll
* @param @return
* @return List
* @date May 13, :39 PM
public List findAll();
* 新增数据
* @author:tuzongxun
* @Title: insertUser
* @param @param user
* @return void
* @date May 13, :45 PM
public void insertUser(UserModel user);
* 删除数据
* @author:tuzongxun
* @Title: removeUser
* @param @param userName
* @return void
* @date May 13, :55 PM
public void removeUser(String userName);
* 修改数据
* @author:tuzongxun
* @Title: updateUser
* @param @param user
* @return void
* @date May 13, :06 PM
public void updateUser(UserModel user);
* 按条件查询
* @author:tuzongxun
* @Title: findForRequery
* @return void
* @date May 13, :37 PM
public List findForRequery(String userName);
(2)实现类,这里要继承AbstractBaseMongoTemplete类,从而获得mongoTemplete进行各种操作:
package spring_mogo.dao.daoI
import java.util.L
import org.springframework.data.mongodb.core.query.C
import org.springframework.data.mongodb.core.query.Q
import org.springframework.data.mongodb.core.query.U
import org.
import spring_mogo.dao.UserD
import spring_mongo.models.UserM
import com.mongodb.BasicDBO
import com.mongodb.DBO
@Component(&UserDaoImp&)
public class UserDaoImp extends AbstractBaseMongoTemplete implements UserDao {
* 查询所有数据
* @author:tuzongxun
* @Title: findAll
* @Description: TODO
* @param @return
* @date May 13, :29 PM
public List findAll() {
// 需要设置集合对应的尸体类和相应的集合名,从而查询结果直接映射
List userList = mongoTemplate.findAll(UserModel.class,
return userL
* 新增数据
* @author:tuzongxun
* @Title: insertUser
* @Description: TODO
* @param @param user
* @date May 13, :45 PM
public void insertUser(UserModel user) {
// 设置需要插入到数据库的文档对象
DBObject object = new BasicDBObject();
object.put(&userName&, user.getUserName());
object.put(&password&, user.getPassword());
mongoTemplate.insert(object, &user&);
* 按条件删除数据
* @author:tuzongxun
* @Title: removeUser
* @Description: TODO
* @param @param userName
* @date May 13, :01 PM
public void removeUser(String userName) {
// 设置删除条件,如果条件内容为空则删除所有
Query query = new Query();
Criteria criteria = new Criteria(&userName&);
criteria.is(userName);
query.addCriteria(criteria);
mongoTemplate.remove(query, &user&);
* 修改数据
* @author:tuzongxun
* @Title: updateUser
* @Description: TODO
* @param @param user
* @date May 13, :12 PM
public void updateUser(UserModel user) {
// 设置修改条件
Query query = new Query();
Criteria criteria = new Criteria(&userName&);
criteria.is(user.getUserName());
query.addCriteria(criteria);
// 设置修改内容
Update update = Update.update(&password&, user.getPassword());
// 参数:查询条件,更改结果,集合名
mongoTemplate.updateFirst(query, update, &user&);
* 根据条件查询
* @author:tuzongxun
* @Title: findForRequery
* @Description: TODO
* @param @param userName
* @date May 13, :15 PM
public List findForRequery(String userName) {
Query query = new Query();
Criteria criteria = new Criteria(&userName&);
criteria.is(userName);
query.addCriteria(criteria);
// 查询条件,集合对应的实体类,集合名
List userList = mongoTemplate.find(query, UserModel.class,
return userL
测试类: 为了验证以上代码和配置的正确性,测试类代码如下:
package spring_mongo.
import java.util.L
import org.junit.T
import org.junit.runner.RunW
import org.springframework.beans.factory.annotation.A
import org.springframework.test.context.ContextC
import org.springframework.test.context.junit4.SpringJUnit4ClassR
import spring_mogo.dao.UserD
import spring_mongo.models.UserM
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { &classpath:spring.xml& })
public class mongoTest {
@Autowired
private UserDao userD
* 查询测试
* @author:tuzongxun
* @Title: monFindTest
* @return void
* @date May 13, :51 PM
public void monFindTest() {
List userModels = userDao.findAll();
if (userModels != null && userModels.size() & 0) {
for (UserModel user : userModels) {
System.out.println(user.getUserName() + &:&
+ user.getPassword());
* 插入数据测试
* @author:tuzongxun
* @Title: monInsertTest
* @return void
* @date May 13, :38 PM
public void monInsertTest() {
UserModel user = new UserModel(&test111&, &123456&);
userDao.insertUser(user);
this.monFindTest();
* 删除测试
* @author:tuzongxun
* @Title: monRemoveTest
* @return void
* @date May 13, :06 PM
public void monRemoveTest() {
String userName = &test111&;
userDao.removeUser(userName);
this.monFindTest();
* 测试修改
* @author:tuzongxun
* @Title: monUpdateTest
* @return void
* @date May 13, :08 PM
public void monUpdateTest() {
UserModel user = new UserModel(&test111&, &test&);
userDao.updateUser(user);
this.monFindTest();
* 按条件查询
* @author:tuzongxun
* @Title: monFindForRuq
* @return void
* @date May 13, :53 PM
public void monFindForRuq() {
String userName = &test111&;
List userModels = userDao.findForRequery(userName);
if (userModels != null && userModels.size() & 0) {
for (UserModel user : userModels) {
System.out.println(user.getUserName() + &:&
+ user.getPassword());分享给朋友:通用代码: <input id="link4" type="text" class="form_input form_input_s" value="" />复 制flash地址: 复 制html代码: <input type="text" class="form_input form_input_s" id="link3" value="" />复 制分享视频到站外获取收益&&手机扫码分享视频二维码2小时内有效SQL Server到DB2AS400数据库迁移演示视频下载至电脑扫码用手机看用或微信扫码在手机上继续观看二维码2小时内有效SQL Server到DB2AS400数据库迁移演示视频扫码用手机继续看用或微信扫码在手机上继续观看二维码2小时内有效,扫码后可分享给好友没有优酷APP?立即下载请根据您的设备选择下载版本
药品服务许可证(京)-经营- 节目制作经营许可证京字670号 请使用者仔细阅读优酷、、Copyright(C)2017 优酷
版权所有不良信息举报电话:在做数据导出的时候,WAS报sql错误(springMVC、mybatis、DB2)。大神帮帮忙
[14-3-7 10:27:37:460 GMT+08:00] 000001fc SystemErr&&&& R org.springframework.jdbc.UncategorizedSQLException:
### Error querying database.& Cause: com.ibm.db2.jcc.b.SqlException
### The error may involve com.rainbow.db.query.personalissue.addresslist.PerAddrListQueryMapper.selectByPerAddrListQuery-Inline
### The error occurred while setting parameters
### Cause: com.ibm.db2.jcc.b.SqlException
; uncategorized SQLException for SQL []; SQL state [null]; error code [-99999]; nested exception is com.ibm.db2.jcc.b.SqlException
[14-3-7 10:27:37:461 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
[14-3-7 10:27:37:461 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
[14-3-7 10:27:37:462 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
[14-3-7 10:27:37:462 GMT+08:00] 000001fc SystemErr&&&& R &at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:71)
[14-3-7 10:27:37:462 GMT+08:00] 000001fc SystemErr&&&& R &at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:346)
[14-3-7 10:27:37:462 GMT+08:00] 000001fc SystemErr&&&& R &at $Proxy272.selectList(Unknown Source)
[14-3-7 10:27:37:462 GMT+08:00] 000001fc SystemErr&&&& R &at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:189)
[14-3-7 10:27:37:462 GMT+08:00] 000001fc SystemErr&&&& R &at com.rainbow.db.query.personalissue.addresslist.PerAddrListQueryMapperImpl.selectByPerAddrListQuery(PerAddrListQueryMapperImpl.java:22)
[14-3-7 10:27:37:462 GMT+08:00] 000001fc SystemErr&&&& R &at com.rainbow.bl.personalissue.impl.PerAddrListServiceImpl.selectByPerAddrListQuery(PerAddrListServiceImpl.java:120)
[14-3-7 10:27:37:463 GMT+08:00] 000001fc SystemErr&&&& R &at com.rainbow.bl.personalissue.impl.PerAddrListServiceImpl$$FastClassByCGLIB$$bbc37323.invoke(&generated&)
[14-3-7 10:27:37:463 GMT+08:00] 000001fc SystemErr&&&& R &at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
[14-3-7 10:27:37:463 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
[14-3-7 10:27:37:463 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
[14-3-7 10:27:37:463 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
[14-3-7 10:27:37:463 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[14-3-7 10:27:37:463 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
[14-3-7 10:27:37:464 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[14-3-7 10:27:37:464 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
[14-3-7 10:27:37:464 GMT+08:00] 000001fc SystemErr&&&& R &at com.rainbow.bl.personalissue.impl.PerAddrListServiceImpl$$EnhancerByCGLIB$$d8b9d10c.selectByPerAddrListQuery(&generated&)
[14-3-7 10:27:37:464 GMT+08:00] 000001fc SystemErr&&&& R &at com.rainbow.view.personalissue.PerAddrListController.preAddrlistInfoExport(PerAddrListController.java:617)
[14-3-7 10:27:37:464 GMT+08:00] 000001fc SystemErr&&&& R &at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14-3-7 10:27:37:464 GMT+08:00] 000001fc SystemErr&&&& R &at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[14-3-7 10:27:37:464 GMT+08:00] 000001fc SystemErr&&&& R &at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[14-3-7 10:27:37:465 GMT+08:00] 000001fc SystemErr&&&& R &at java.lang.reflect.Method.invoke(Method.java:611)
[14-3-7 10:27:37:465 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
[14-3-7 10:27:37:465 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[14-3-7 10:27:37:465 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
[14-3-7 10:27:37:465 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
[14-3-7 10:27:37:465 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
[14-3-7 10:27:37:466 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
[14-3-7 10:27:37:466 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
[14-3-7 10:27:37:466 GMT+08:00] 000001fc SystemErr&&&& R &at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
[14-3-7 10:27:37:466 GMT+08:00] 000001fc SystemErr&&&& R &at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[14-3-7 10:27:37:466 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
[14-3-7 10:27:37:466 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
[14-3-7 10:27:37:466 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
[14-3-7 10:27:37:467 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[14-3-7 10:27:37:467 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)
[14-3-7 10:27:37:467 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
[14-3-7 10:27:37:467 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
[14-3-7 10:27:37:467 GMT+08:00] 000001fc SystemErr&&&& R &at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
[14-3-7 10:27:37:467 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[14-3-7 10:27:37:467 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[14-3-7 10:27:37:468 GMT+08:00] 000001fc SystemErr&&&& R &at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:62)
[14-3-7 10:27:37:468 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[14-3-7 10:27:37:468 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[14-3-7 10:27:37:468 GMT+08:00] 000001fc SystemErr&&&& R &at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)
[14-3-7 10:27:37:468 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[14-3-7 10:27:37:468 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[14-3-7 10:27:37:469 GMT+08:00] 000001fc SystemErr&&&& R &at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:93)
[14-3-7 10:27:37:469 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[14-3-7 10:27:37:469 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[14-3-7 10:27:37:469 GMT+08:00] 000001fc SystemErr&&&& R &at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:110)
[14-3-7 10:27:37:469 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
[14-3-7 10:27:37:469 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
[14-3-7 10:27:37:469 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926)
[14-3-7 10:27:37:470 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
[14-3-7 10:27:37:470 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
[14-3-7 10:27:37:470 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)
[14-3-7 10:27:37:470 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
[14-3-7 10:27:37:470 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
[14-3-7 10:27:37:470 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[14-3-7 10:27:37:470 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
[14-3-7 10:27:37:471 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
[14-3-7 10:27:37:471 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.http.channel.inbound.plete(HttpICLReadCallback.java:87)
[14-3-7 10:27:37:471 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[14-3-7 10:27:37:471 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[14-3-7 10:27:37:471 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[14-3-7 10:27:37:471 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.io.pleted(AsyncFuture.java:138)
[14-3-7 10:27:37:471 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.io.plete(ResultHandler.java:204)
[14-3-7 10:27:37:472 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[14-3-7 10:27:37:472 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[14-3-7 10:27:37:472 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)
[14-3-7 10:27:37:472 GMT+08:00] 000001fc SystemErr&&&& R Caused by: com.ibm.db2.jcc.b.SqlException
[14-3-7 10:27:37:473 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.db2.jcc.b.s.a(s.java:1517)
[14-3-7 10:27:37:473 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.db2.jcc.b.s.m(s.java:465)
[14-3-7 10:27:37:473 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.db2.jcc.b.s.M(s.java:1102)
[14-3-7 10:27:37:474 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.db2.jcc.b.kf.getString(kf.java:903)
[14-3-7 10:27:37:474 GMT+08:00] 000001fc SystemErr&&&& R &at com.ibm.db2.jcc.b.kf.getString(kf.java:1234)
[14-3-7 10:27:37:474 GMT+08:00] 000001fc SystemErr&&&& R &at mons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:224)
[14-3-7 10:27:37:474 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.type.StringTypeHandler.getNullableResult(StringTypeHandler.java:17)
[14-3-7 10:27:37:474 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.type.StringTypeHandler.getNullableResult(StringTypeHandler.java:8)
[14-3-7 10:27:37:474 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.type.BaseTypeHandler.getResult(BaseTypeHandler.java:29)
[14-3-7 10:27:37:474 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.resultset.FastResultSetHandler.getPropertyMappingValue(FastResultSetHandler.java:267)
[14-3-7 10:27:37:475 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.resultset.FastResultSetHandler.applyPropertyMappings(FastResultSetHandler.java:250)
[14-3-7 10:27:37:475 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.resultset.FastResultSetHandler.getRowValue(FastResultSetHandler.java:224)
[14-3-7 10:27:37:475 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleRowValues(FastResultSetHandler.java:173)
[14-3-7 10:27:37:475 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSet(FastResultSetHandler.java:146)
[14-3-7 10:27:37:475 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSets(FastResultSetHandler.java:112)
[14-3-7 10:27:37:475 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:40)
[14-3-7 10:27:37:475 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:55)
[14-3-7 10:27:37:476 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:41)
[14-3-7 10:27:37:476 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:243)
[14-3-7 10:27:37:476 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:117)
[14-3-7 10:27:37:476 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:72)
[14-3-7 10:27:37:476 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:79)
[14-3-7 10:27:37:476 GMT+08:00] 000001fc SystemErr&&&& R &at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:73)
[14-3-7 10:27:37:477 GMT+08:00] 000001fc SystemErr&&&& R &at sun.reflect.GeneratedMethodAccessor1232.invoke(Unknown Source)
[14-3-7 10:27:37:477 GMT+08:00] 000001fc SystemErr&&&& R &at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[14-3-7 10:27:37:477 GMT+08:00] 000001fc SystemErr&&&& R &at java.lang.reflect.Method.invoke(Method.java:611)
[14-3-7 10:27:37:477 GMT+08:00] 000001fc SystemErr&&&& R &at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:338)
[14-3-7 10:27:37:477 GMT+08:00] 000001fc SystemErr&&&& R &... 68 more}

我要回帖

更多关于 db2 创建数据库 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信