python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to write Junit for jdbcTemplate call method
I am stuck in junit, I have to write junit for one of my dao mathod, here is my test code
@Test
public void testUpdateFeedback() throws SQLException {
List<SqlParameter> parameters = Arrays....
Braham Shakti
Votes: 0
Answers: 1
Spring Jdcb transaction not rolling back
For some reason, there is no transaction management in my app.
Here is my code:
@Autowired
JdbcTemplate jdbcTemplate;
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)...
ROBLCSnail
Votes: 0
Answers: 1
Float precision issue - different values then from pgAdmin
I develop a Java project and running into a problem with incorrect text data value from the PostgreSQL database.
For example, in PostgreSQL I have a table with text type columns. Inside that table, I ...
Daniel
Votes: 0
Answers: 0
Transactional method connection leak HikariCP jdbctemplate
I experienced a weird issue. It happened only once for a long time living application. And I am trying to diagnose what was the problem.
First of all, the exception is
[Request processing failed; ...
memoricab
Votes: 0
Answers: 0