大家可能在spring中经常看到这样的定义:
<prop key="load*">PROPAGATION_REQUIRED,readOnly</prop><prop key="store*">PROPAGATION_REQUIRED</prop>
估计有好多朋友还没有弄清楚里面的值的意思,仔细看完下面应该知道自己什么情况下面应该使用什么样的声明。^_^
Spring中常用事务类型:
PROPAGATION_REQUIRED--支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。
PROPAGATION_SUP ...
http://www.javaeye.com/topic/8850
如果只提交一个查询,有必要用事务吗?这个问题之前已经讨论过
http://forum.javaeye.com/viewtopic.php?t=1603
QUESTION POSED ON: 17 October 2002 I have a rather simple question: What does "SELECT 1 FROM ..." accomplish? I am debugging a software program that is sending a "SELECT 1" statement to the database, and I am basically curious. Does it simply select one column from the record it finds?
EXP ...
http://hi.baidu.com/sericalee/blog/item/3d9f02d8866f143533fa1c83.html
我们先来看一下他们的定义:
A schema is a collection of database objects (used by a user.).
Schema objects are the logical structures that&nbs ...
http://hi.baidu.com/honglovejia/blog/item/97961b34f2ad213a5bb5f590.html
经常在程序里看到“select sysdate from dual;”
查了一下关于DUAL表的资料:
1. Dual 是什么?
select object_name ,object_type from dba_objects where object_name =\'DUAL\'
结果:
OWNER &nb ...
Setting up Oracle JNDI Datasource on Tomcat by Leon van Tegelen
In one of the projects I’m involved in we have to make use of specific Oracle JDBC features. The application runs on Tomcat 5.0.27 and connects to the database using a JNDI datasource setup to use connection pooling . Whe ...
- 浏览: 19772 次

- 详细资料
搜索本博客
最新评论
-
PlentyOfFish 网站架构学 ...
学习呢
-- by ytsongjun -
PUSHLET 实战:FRAME ONLO ...
1.客户端主动重连是可以的,可以利用_listenFrameReady(),自己 ...
-- by huangxx -
PUSHLET 实战:FRAME ONLO ...
想请教一下pushlet 是否可实现重连,当连接断开后,既tomcat服务停掉后 ...
-- by long-zhigang -
PUSHLET 实战:push mode ...
可能是我现在对Pushlets还了解得不深吧,感觉Pushlets不是什么新的技 ...
-- by qichunren -
dbunit 用来做数据库数据 ...
呵呵,去看看它的文档吧。
-- by huangxx






评论排行榜