Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Database/JDBC/SQL/JDO/Hibernate  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 iBatis 2.1.7 XmlSqlMapClientBuilder在哪里
yeafee

javaholder



发贴: 42
积分: 1
于 2006-08-25 10:27 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
iBatis 2.1.7 XmlSqlMapClientBuilder.class在哪里?
去掉了吗?有替换方法?
在iBatis 2.0.0 中是有
iBATIS-DBL-2-0-0-104\ibatis-sqlmap\com\ibatis\sqlmap\engine\builder\xml\XmlSqlMapClientBuilder.class
在2.1.7中寻不到此类.各位谁能告诉我?



三人行,必有我师焉
敏而好学,不耻三问
学而时习之,不思则罔
..........
作者 Re:iBatis 2.1.7 XmlSqlMapClientBuilder在哪里 [Re:yeafee]
harvshen





发贴: 123
积分: 40
于 2006-08-31 00:54 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Use SqlMapClientBuilder.buildSqlMapClient(reader) instead:

for example:
String resource = "ibatis/SqlMapConfig.xml";
Reader reader = Resources.getResourceAsReader( resource );
SqlMapClient sqlMap = SqlMapClientBuilder.buildSqlMapClient(reader);




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923