spring data connection pool optimization

Use jedis2 There may be a problem with the small partners of the connection pool of 9.1. After the program runs with high concurrency for a period of time, the error message of Could not get a resource from the pool will appear, and the idle connection idelPool in the redistemplate connection factory viewed after stopping the interface call is ...

Posted by Copyright on Sat, 29 Jan 2022 07:27:41 +0100

sparksql insert postgresql field format mismatch error handling

1. Error Key Information Caused by: org.postgresql.util.PSQLException: ERROR: column "c1" is of type point but expression is of type character at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2553) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2285) at org.postgres ...

Posted by jek on Thu, 20 Jan 2022 04:23:07 +0100

Java Foundation & Method

Java Foundation & Method 1. Overview of methods Concepts of the 1.1 Method A method is a set of code that organizes code blocks with separate functions into a whole and has special functions. Be careful: A method must be created before it can be used, and the process becomes a method definitionThe method is not created to run directly. ...

Posted by celavi on Thu, 11 Nov 2021 02:06:04 +0100