Let's say I have the following code:
public void doSomething() {
I saved a lot of database work in one method to simplify the pseudocode. However, basically I have a series of work with the database, which I do not want to complete until the end. In the middle of the above transaction, I need to pass something to a string without passing the rest of the transaction. How can I do this little work without affecting the rest of the transaction?
java hibernate jpa
digiarnie
source share