diff --git a/documentation/manual/en-US/src/main/docbook/modules/transactions.xml b/documentation/manual/en-US/src/main/docbook/modules/transactions.xml index 6a6ff74d10..2ac13bfb14 100644 --- a/documentation/manual/en-US/src/main/docbook/modules/transactions.xml +++ b/documentation/manual/en-US/src/main/docbook/modules/transactions.xml @@ -802,7 +802,7 @@ session.close(); // Only for last transaction in conversation]]>Session.lock() with LockMode.READ on any objects that might have been updated by another transaction. You don't need to lock any data that you are updating. - Usually you would set FlushMode.NEVER on an extended Session, + Usually you would set FlushMode.MANUAL on an extended Session, so that only the last database transaction cycle is allowed to actually persist all modifications made in this conversation. Hence, only this last database transaction would include the flush() operation, and then also diff --git a/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml b/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml index 6ef4394372..1af7083536 100644 --- a/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml +++ b/documentation/manual/ja-JP/src/main/docbook/modules/transactions.xml @@ -937,7 +937,7 @@ session.close(); // Only for last transaction in conversation]]>いる データをロックする必要はありません。 - 通常、拡張 SessionFlushMode.NEVER + 通常、拡張 SessionFlushMode.MANUAL をセットします。 最後のデータベーストランザクションの周期でのみ、 対話の中で変更されたすべてを実際に永続化させるためです。 diff --git a/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml b/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml index 255780bbb4..a78cd8c16a 100644 --- a/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml +++ b/documentation/manual/ko-KR/src/main/docbook/modules/transactions.xml @@ -721,7 +721,7 @@ session.close(); // Only for last transaction in conversation]]>LockMode.READ。懍 Session.lock()揆 从カ懦腹 俯巡 梭共. 胸侠捩 胸侠擽 羅魂擽敢 、卓攤 桷攪攪 魂擽┣・シ 棧ク逸腹 符囈ー 螺共. 劇ー 胸侠捩 ァ溢ァァ 魂擽┣イ擽侃 敢棡椚 」シクーァ護擽 擽 劇剩 ざ乱 哩紛ァ ェィ蕩 ウイス豆揆 共罹。 削剩亨う株 イ擽 来圸据巡。 葺クー 怱紛, - 葺x攪 剳棗頗 Session乱 劇紛 FlushMode.NEVER・シ └倣腹 イ擽共. + 葺x攪 剳棗頗 Session乱 劇紛 FlushMode.MANUAL・シ └倣腹 イ擽共. キク洳ッ。 丶ァ 擽 ァ溢ァァ 魂擽┣イ擽侃 敢棡椚 ァ護擽 flush() 丶詐溢擽們揆 小物腹 イ擽ウ, 戦復 劇剩・シ 「」護亨うクー 怱紛 ┷們揆 close()腹 イ擽共. diff --git a/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml b/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml index 9f26dab380..16a903f735 100755 --- a/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml +++ b/documentation/manual/pt-BR/src/main/docbook/modules/transactions.xml @@ -829,7 +829,7 @@ session.close(); // Only for last transaction in conversation]]>Session.lock() com o LockMode.READ em todos os objetos que possam ter sido atualizados por uma outra transaテァテ」o. Vocテェ nテ」o necessita bloquear nenhum - dado para atualizar. Geralmente vocテェ configuraria FlushMode.NEVER em uma + dado para atualizar. Geralmente vocテェ configuraria FlushMode.MANUAL em uma Session estendida, de modo que somente o テコltimo ciclo da transaテァテ」o tenha permissテ」o de persistir todas as modificaテァテオes feitas nesta conversaテァテ」o. Disso, somente esta テコltima transaテァテ」o incluiria a operaテァテ」o flush() e entテ」o chamar tambテゥm close() diff --git a/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml b/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml index f6b1320456..029fd56c11 100644 --- a/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml +++ b/documentation/manual/zh-CN/src/main/docbook/modules/transactions.xml @@ -618,7 +618,7 @@ t.commit(); // Also return JDBC connection session.close(); // Only for last transaction in conversation]]> - foo蟇ケ雎。遏・驕灘ョ譏ッ蝨ィ蜩ェ荳ェSession荳ュ陲ォ陬蜈・逧縲ょ惠荳荳ェ譌ァsession荳ュ蠑蜷ッ荳荳ェ譁ー逧謨ー謐ョ蠎謎コ句苅シ御シ壼ッシ閾エsession闔キ蜿紋ク荳ェ譁ー逧霑樊磁シ悟ケカ諱「螟行ession逧蜉溯ス縲ょー謨ー謐ョ蠎謎コ句苅謠蝉コ、シ御スソ蠕耀ession莉捌DBC霑樊磁譁ュ蠑シ悟ケカ蟆豁、霑樊磁莠、霑倡サ呵ソ樊磁豎縲ょ惠驥肴眠霑樊磁荵句錘シ瑚ヲ∝シコ蛻カ蟇ケ菴豐。譛画峩譁ー逧謨ー謐ョ霑幄。御ク谺。迚域悽譽譟・シ御ス蜿ッ莉・蟇ケ謇譛牙庄閭ス陲ォ蜈カ莉紋コ句苅菫ョ謾ケ霑逧蟇ケ雎。シ御スソ逕ィ蜿よ焚LockMode.READ譚・隹逕ィSession.lock()縲ゆス荳咲畑lock莉サ菴穂ス豁」蝨ィ譖エ譁ー逧謨ー謐ョ縲ゆク闊ャ菴莨壼惠謇ゥ螻慕噪Session荳願ョセ鄂ョFlushMode.NEVERシ悟屏豁、蜿ェ譛画怙蜷惹ク荳ェ謨ー謐ョ蠎謎コ句苅蠕ェ邇ッ謇堺シ夂悄豁」逧蜷ァ謨エ荳ェ蟇ケ隸昜クュ蜿醍函逧菫ョ謾ケ蜿鷹∝芦謨ー謐ョ蠎薙ょ屏豁、シ悟宵譛芽ソ呎怙蜷惹ク谺。謨ー謐ョ蠎謎コ句苅謇堺シ壼桁蜷ォflush()謫堺ス懶シ檎┯蜷主惠謨エ荳ェ蟇ケ隸晉サ捺據蜷趣シ瑚ソ倩ヲclose()霑吩クェsession縲 + foo蟇ケ雎。遏・驕灘ョ譏ッ蝨ィ蜩ェ荳ェSession荳ュ陲ォ陬蜈・逧縲ょ惠荳荳ェ譌ァsession荳ュ蠑蜷ッ荳荳ェ譁ー逧謨ー謐ョ蠎謎コ句苅シ御シ壼ッシ閾エsession闔キ蜿紋ク荳ェ譁ー逧霑樊磁シ悟ケカ諱「螟行ession逧蜉溯ス縲ょー謨ー謐ョ蠎謎コ句苅謠蝉コ、シ御スソ蠕耀ession莉捌DBC霑樊磁譁ュ蠑シ悟ケカ蟆豁、霑樊磁莠、霑倡サ呵ソ樊磁豎縲ょ惠驥肴眠霑樊磁荵句錘シ瑚ヲ∝シコ蛻カ蟇ケ菴豐。譛画峩譁ー逧謨ー謐ョ霑幄。御ク谺。迚域悽譽譟・シ御ス蜿ッ莉・蟇ケ謇譛牙庄閭ス陲ォ蜈カ莉紋コ句苅菫ョ謾ケ霑逧蟇ケ雎。シ御スソ逕ィ蜿よ焚LockMode.READ譚・隹逕ィSession.lock()縲ゆス荳咲畑lock莉サ菴穂ス豁」蝨ィ譖エ譁ー逧謨ー謐ョ縲ゆク闊ャ菴莨壼惠謇ゥ螻慕噪Session荳願ョセ鄂ョFlushMode.MANUALシ悟屏豁、蜿ェ譛画怙蜷惹ク荳ェ謨ー謐ョ蠎謎コ句苅蠕ェ邇ッ謇堺シ夂悄豁」逧蜷ァ謨エ荳ェ蟇ケ隸昜クュ蜿醍函逧菫ョ謾ケ蜿鷹∝芦謨ー謐ョ蠎薙ょ屏豁、シ悟宵譛芽ソ呎怙蜷惹ク谺。謨ー謐ョ蠎謎コ句苅謇堺シ壼桁蜷ォflush()謫堺ス懶シ檎┯蜷主惠謨エ荳ェ蟇ケ隸晉サ捺據蜷趣シ瑚ソ倩ヲclose()霑吩クェsession縲