c*m
2 楼
We went to San Francesco again last weekend. I met several of my old friends
there and we went to a late night Karaoke shop and every body went crazy
eventually~
Jon is such a nice boy, we stayed in the corner and played his game console
while enjoyed other people's singing. Jon loves to stay with me, I could
tell. When we went to the museum together, he was scolded by his mum and he
hid underneath my arms and wept. This is the first time a boy wept under my
arms and I was like a guardian angel to him. The feeling of being needed
made me feel so moved. He is so light and I just asked him to hold my arms
tight so that we could fly. We did that and his mum complained again. So,
smart Jon asked me to bend down and he told me, "See, you made me make
mistakes. We will not do that flying again although I like it and thank you
for that." As a man growing up from that age and still remember what that
means, I know he is serious and he always wants to make his mum happy. He
really reminds me of my childhood, afraid of making mistakes, afraid of my
parents getting divorced, etc.
Children are amazing. They have the power to remind you of taking another
look at your own life.
there and we went to a late night Karaoke shop and every body went crazy
eventually~
Jon is such a nice boy, we stayed in the corner and played his game console
while enjoyed other people's singing. Jon loves to stay with me, I could
tell. When we went to the museum together, he was scolded by his mum and he
hid underneath my arms and wept. This is the first time a boy wept under my
arms and I was like a guardian angel to him. The feeling of being needed
made me feel so moved. He is so light and I just asked him to hold my arms
tight so that we could fly. We did that and his mum complained again. So,
smart Jon asked me to bend down and he told me, "See, you made me make
mistakes. We will not do that flying again although I like it and thank you
for that." As a man growing up from that age and still remember what that
means, I know he is serious and he always wants to make his mum happy. He
really reminds me of my childhood, afraid of making mistakes, afraid of my
parents getting divorced, etc.
Children are amazing. They have the power to remind you of taking another
look at your own life.
B*g
3 楼
不同的java threads能同时共享一个session吗?
谢谢
谢谢
B*g
5 楼
你说我才意识到connection和session是不同的,我问的是session(是不是就是
transaction?),不过最好都分析一下,我是想知道数据库里的global variable会不
会被不同的java threads影响,谢谢
***
A connection is a "physical circuit", a pathway to a database. You can be
connected to a database yet have 0 or 1 or MORE sessions going on that
connection.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTIO
***
【在 e*****t 的大作中提到】
: session? or you really mean connection?
: The connection object can be accessed from different threads for sure. But
: when you are talking about transaction, you have to check what transaction
: management you are using.
transaction?),不过最好都分析一下,我是想知道数据库里的global variable会不
会被不同的java threads影响,谢谢
***
A connection is a "physical circuit", a pathway to a database. You can be
connected to a database yet have 0 or 1 or MORE sessions going on that
connection.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTIO
***
【在 e*****t 的大作中提到】
: session? or you really mean connection?
: The connection object can be accessed from different threads for sure. But
: when you are talking about transaction, you have to check what transaction
: management you are using.
r*s
6 楼
好像要么是HTTP Session,
要么是Hibernate里的Session, bounded by a tx.
JDBC好像没有这个概念?
【在 e*****t 的大作中提到】
: session? or you really mean connection?
: The connection object can be accessed from different threads for sure. But
: when you are talking about transaction, you have to check what transaction
: management you are using.
要么是Hibernate里的Session, bounded by a tx.
JDBC好像没有这个概念?
【在 e*****t 的大作中提到】
: session? or you really mean connection?
: The connection object can be accessed from different threads for sure. But
: when you are talking about transaction, you have to check what transaction
: management you are using.
相关阅读
scjp 5.0 模拟题有关AOL信箱的一个问题,急急急! (转载)SYSDEO tomcat的问题。关于颜色的改变一个字符数组的问题用java画直线的问题Axis vs. XFire?怎样吧byte[]变成java.security.Key?soap questions, continuesWhat do you think of XPath, XQuery, and XSLT?any free or trial JVM optimizer??java questionwhat does "core java" mean?anyone use jini?netbean vs. eclipse这里有人去OOPSLA么?有多少人对annotation这个东西不满,请举手!!Can someone say say advantage of IDEA?问个Spring的问题。OOPLSA的牛人还挺多