Skip to main content
0 votes
0 answers
36 views

I’m running an application using FrankenPHP in worker mode. In one script, I use BEGIN TRANSACTION → SELECT → INSERT → COMMIT if certain conditions are met. But I forgot to call ROLLBACK when the ...
ifsawal's user avatar
2 votes
1 answer
77 views

I have this class in rails class ServiceClass < ApplicationService attr_reader :resource def initialize(resource) @resource = resource end def call ActiveRecord::Base.transaction ...
James Ostevik's user avatar
2 votes
1 answer
103 views

Note: This question focuses on web apps utilising MySQL's transactions - commit and rollback. Even though the code samples below use Python, the problem itself is not limited to the choice of ...
user2526586's user avatar
  • 1,344
1 vote
0 answers
24 views

I have Mercurial Distributed SCM (version 6.1.1). I enabled and used the "uncommit" extension to solve the particular problem below, but I still want to know how I was supposed to do it with ...
Charlweed's user avatar
  • 1,651
0 votes
0 answers
62 views

System.Data.Entity.Infrastructure.CommitFailedException: An error was reported while committing a database transaction but it could not be determined whether the transaction succeeded or failed on the ...
Divakar Upadhyay's user avatar
1 vote
1 answer
97 views

I'm learning Angular, Spring Boot and Hibernate at the moment and I found a good tutorial on that. But I have a problem where I can't find the answer. There are occasions where I have multiple REST ...
parascus's user avatar
  • 1,279
2 votes
1 answer
559 views

I am getting error while executing stored procedure on pgadmin at "To" in "Rollback to Savepoint". CREATE OR REPLACE PROCEDURE demo8() AS $$ BEGIN INSERT INTO statefis VALUES(83,...
Pruthviraj Desai's user avatar
0 votes
1 answer
764 views

I had a procedure which currently look like this in Oracle Database 19C Declare i integer; BEGIN Delete from t_invent; -- If I add commit here or remove the delete statement here then the error ...
XDfox's user avatar
  • 53
1 vote
1 answer
78 views

I have a scenario where I have to insert into 10 tables. The code looks like this: create or replace procedure insert_into_tbls as begin savepoint s1; insert into tab1; insert into tab2; ...
user3012820's user avatar
0 votes
1 answer
79 views

SELECT * FROM BOOKS; -- 100 ROWS returned. DELETE FROM BOOKS; -- 100 rows deleted SELECT * FROM BOOKS; -- no rows returned. ROLLBACK; --Rollback complete. SELECT * FROM BOOKS; -- no rows ...
Muthuvel's user avatar
0 votes
1 answer
189 views

Is there a way to commit data inside a function in SurrealDB? It throws a syntax error if I place BEGIN TRANSACTION within the { and } blocks: There was a problem with the database: Parse error: ...
Athan Clark's user avatar
  • 3,988
0 votes
1 answer
42 views

@Service @RequiredArgsConstructor @Transactional public class UserService { public void createUser(CreateUserRequest request) { Users users = firebaseUsersRepository.findUsersByFirebaseUid(...
sju3358 dev's user avatar
1 vote
1 answer
162 views

I will try as much as I can to explain my question, let's say that I have a shipping system that many admins using, one of the shipping steps is to put a selected packages in a container, the problem: ...
Mocha's user avatar
  • 19
0 votes
1 answer
46 views

how to rollback in git to yesterday or to the log I need, the problem is that I didn't do the commit, it is there but it is too old changes. I have a main branch on a remote repository main: develop ...
Grigoryi Evdakov's user avatar
0 votes
1 answer
46 views

I ran an update on the SQL table using the below code, and it updated the table correctly. But after 5-7 minutes, the data rolls back. Why does this happen? I don't see any logs or errors in the SQL ...
Rohmun Bikram Shahi's user avatar

15 30 50 per page
1
2 3 4 5
105