Groups
Sign in
Groups
Ibatisnet用户组
Conversations
About
Send feedback
Help
DaoManager问题
2 views
Skip to first unread message
guag
unread,
Jun 25, 2006, 9:49:32 PM
6/25/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ibatisnet用户组
在我的程序中,只有一个数据库,而且也只有一个dao.context,那么在我的程序中,在整个运行过程中只使用一个dao实例,还是每次有数据库事务操作的时候,就创建一个新的实例.
guag
unread,
Jun 25, 2006, 10:02:39 PM
6/25/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ibatisnet用户组
在一个应用程序域中,只有一个数据库,和一个dao.context,那么在整个运行过程中,dao可不可以只创建一个实例.
这样做会不会搞混事务.
zhangs...@gmail.com
unread,
Jun 26, 2006, 8:47:45 PM
6/26/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ibatisnet用户组
有两种模式,dao只创建一个实例和多个实例两种方式,数据库事务和数据库连接相关,事务有它的提交点,回滚点等。不会搞混
Reply all
Reply to author
Forward
0 new messages