Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
182 views

I created a simple application which just sends in a loop messages to Kafka using KafkaTemplate with transaction mode. But, unfortunately, my code doesn't work with @Transactional in the new Spring. I ...
0 votes
0 answers
51 views

I configured a StaxEventItemWriter like this: @Bean public StaxEventItemWriter<Foo> fooWriter() { return new StaxEventItemWriterBuilder<Foo>() .name("fooWriter") ...
0 votes
1 answer
64 views

Setup: SpringBoot application using SpringJPA with Hibernate I have two entities: A and B. Set is a child of A. I want to remove a B and create another one in a characteristic which would hit a unique ...
0 votes
0 answers
63 views

I'm trying to test how transaction works, it's a very simple example. Entity class: public class BettingProgram { @Id private int id; @Column(name = "name", nullable = false) private String ...
0 votes
0 answers
32 views

I have a customer json like below { "id": "id", "name": "full name", "products": [{ "id": "pid1", &...
2 votes
2 answers
128 views

I’m working on a modular Java application using Spring 5.1.20.RELEASE, where a core module is used by several client-specific instances. Each instance has its own configuration and business rules. In ...
1 vote
0 answers
179 views

How to run Kotlin Coroutines and persist data to database in a transaction? I am trying to create a batch-application which will start x number of processes that do some work. These processes can run ...
2 votes
0 answers
118 views

recently I have updated spring boot from 3.3.8 to newer version which is 3.4.1 and suddenly I have started to face a lot of new problems with integration tests. Few of them were really easy to adjust, ...
0 votes
1 answer
56 views

Is it good practice to achive atomicity by following code. I know 2 phase commit concept, outbox pattern. I don't want to use third party library like Atomiko. @Transactional Public void test ...
0 votes
0 answers
83 views

Post upgrading to spring boot 3.4.3 and batch v5.2.1, getting below error when starting spring boot project: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean ...
1 vote
1 answer
1k views

I don't understand why this is needed now. I can't start my application because I have a service with @Transactional annotation and some methods with @TransactionalEventListener, and everything was ...
1 vote
1 answer
280 views

I'm moving an old Java SpringBoot-base application from version 2.x.x to latest v3.4.2. This update forced me to fix several dependencies, in particular: Update Hibernate from v5.x.x to v6.6.8-Final ...
0 votes
0 answers
31 views

I have a reg form. I am using it to save a regform entity and InfoDM entity. InfoDM is called in regProcessService @PostMapping("/regprocess") public String regProcessController(@RequestBody ...
0 votes
0 answers
39 views

we have a webapp running on wildfly, using JNDI datasources to handle database related operations. During a modernization operation, we are currently changing EJBs to Spring as a first step to make ...
0 votes
1 answer
82 views

I am trying to upgrade a legacy spring-hibernate (no jpa) project to spring-jpa. The project has some monkeying around datasource, transactionManager generation etc.., basically we are generating all ...

15 30 50 per page
1
2 3 4 5
...
135

AltStyle によって変換されたページ (->オリジナル) /