English 中文(简体)
不对交易进行标识,只是通过会议装设一个实体
原标题:Without marking transaction demarcation, just loading an entity through session

审议:

如果我把一个实体装上一段会话,则会发生什么(什么是错的)?

I gone through various sites, but couldn t find any good explanation.

问题回答

是否有权在不开始交易的情况下从届会中装载一个持续存在的实体(产生交易)。

是的。 它是ok的,但当你从非行提取数据时,可能会有这样的情况:狩猎者不得不向新的电线发射,以冲淡泥土数据。 因此,它倾向于在交易中开展所有与非行有关的活动。

在利用交易时采取简便步骤,

  1. Start the transaction.
  2. Do your DB activities (select/update).
  3. Close your transaction.

我们能否举行公开会议(承诺进行交易),帮助观察拉齐负荷工作?

你可以这样做,但这不是一种好的做法。 如果同时使用的人数更多,将会出现严重的业绩问题。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签