transactions Questions
6
Simply stated: What is the difference between "Transactional" and "Non-Transactional"?
In my case I came up with this question while reading the following definition for "MDM":
"In computing, ...
Hegira asked 19/9, 2013 at 1:3
2
Solved
I am developing an app together with a partner. I do the database part in PostgreSQL, my partner implements the app on the web-server with Python using SQLAlchemy. We make heavy use of server-side ...
Huihuie asked 26/9, 2011 at 18:31
5
According to the documentation (https://www.postgresql.org/docs/current/app-psql.html), even with AUTOCOMMIT set to off, PSQL issues an implicit BEGIN just before any command that is not already in...
Quartis asked 8/11, 2018 at 19:21
4
Solved
Is it possible to roll back automatically if any error occurs on a list of MySQL commands?
For example something along the lines of:
begin transaction;
insert into myTable values1 ...
insert into ...
Linoleum asked 11/11, 2013 at 12:3
2
When I am using pymongo 3.7 transaction function to connect to mongo server 4.0, this error "Transaction numbers are only allowed on a replica set member or mongos" occurred and I cannot find any a...
Supply asked 9/7, 2018 at 5:55
3
Solved
Hi I have following issue. I have prisma transaction but I would like to pass the prisma transaction client into a function like this:
...
prisma.$transaction(async (tx) => {
someFunction(t...
Rb asked 1/10, 2023 at 9:23
2
I know that by default, transaction is used in Django Admin when adding, changing and deleting data according to my tests.
But, I selected Delete selected persons and clicked on Go in Django Admin ...
Ramrod asked 30/12, 2022 at 21:23
13
Solved
I've installed MongoDB v4.0 for the most amazing feature of it Transaction in Nodejs with mongodb 3.1 as a driver.
When I try to use a transaction session I've faced this error:
MongoError: Transac...
Classless asked 22/7, 2018 at 4:7
4
I am using a NoSQL database MongoDB with Java and Spring Data. I am aware that MongoDB only supports transactions for a single document.
I am using Spring Transactions to carry out MongoDB transca...
Unijugate asked 19/2, 2013 at 21:37
9
Solved
We all use DB::transaction() for multiple insert queries. In doing so, should a try...catch be placed inside it or wrapping it? Is it even necessary to include a try...catch when a transaction will...
Lying asked 7/4, 2014 at 8:9
3
Solved
I have situation in which I have to commit a portion of code as transaction of its own.
I have created a table subtransaction_tbl:
CREATE TABLE subtransaction_tbl
(
entryval integer
)
And a fun...
Polygamy asked 21/8, 2014 at 12:6
2
Solved
I am following this link https://vladmihalcea.com/read-write-read-only-transaction-routing-spring/ to set up the database master and replica instance in my spring boot app. The only difference is I...
Yarndyed asked 29/4, 2023 at 14:20
8
Solved
I want to read text data fixtures (CSV files) at the start on my application and put it in my database.
For that, I have created a PopulationService with an initialization method (@PostConstruct a...
Hexose asked 27/6, 2013 at 15:1
3
Solved
I recently ran into the need to disable transaction requests in one of my views, in order to be able to call db.connection.close() and connect() during requests in an effort to improve performance....
Reckon asked 18/4, 2018 at 15:4
1
I have followed the official documentation for converting the standalone mongodb instance (local ubuntu machine) to replica set. The part where we restart mongod with --replset flag seems to invite...
Annettannetta asked 24/11, 2023 at 12:37
2
I need to use table locking (write) and along with that update a few tables, so I need transactions at the same time, as the locking is not transaction-safe.
From mysql documentation I read the fo...
Practically asked 16/12, 2015 at 17:48
2
Solved
I cannot catch exceptions in method annotated @Transactional.
I want to send mail to created user if save operation succeded.
When username is already in use PostgreSQL throws exception PSQLExcep...
Transcendentalism asked 4/12, 2017 at 15:59
8
Solved
Firstly it is possible that I am asking something that has been asked and answered before but I could not get a search result back. We define transactional annotations on service layer typical spri...
Cooperman asked 8/10, 2010 at 0:32
3
Solved
Can somebody explain how mysqldump --single-transaction actually works for transactional tables, like InnoDB? I've read the official documentation but still have no clue. Does it perform per table ...
Lippe asked 16/1, 2017 at 18:49
7
Solved
Does anyone know the command to check if there is an un-committed transaction in SQL Server 2005?
Moreau asked 11/6, 2009 at 9:22
4
Solved
I'm developing my insight about distributed systems, and how to maintain data consistency across such systems, where business transactions covers multiple services, bounded contexts and network bou...
Viceregent asked 21/2, 2018 at 13:10
6
Solved
I am building my own custom repository, based on entity framework, and I'm creating some extension methods that allow me to save partial view models as entity models so I'm building my own Add and ...
Wile asked 26/10, 2012 at 7:14
2
I'm trying to get a better handle on the use of Spring's @Transactional attribute. I understand that it basically wraps the contents of the method marked as @Transactional in a transaction. Would i...
Umbrageous asked 5/6, 2015 at 13:36
0
I read this topics:
SQL Server 2014 reseting isolation level
How do I unset/reset a transaction isolation level for SQL Server?
KB3025845 - FIX: The transaction isolation level is reset incorrectly...
Atp asked 28/12, 2023 at 11:19
4
Solved
I am using Mongoose to access to my database. I need to use transactions to make an atomic insert-update.
95% of the time my transaction works fine, but 5% of the time an error is showing :
"Give...
Abruzzi asked 21/10, 2019 at 14:4
1 Next >
© 2022 - 2024 — McMap. All rights reserved.