由于传的查询sql较长,导致Socket closed掉了,如何在不改sql的情况下解决掉?
最新澳门博彩导航
最新澳门博彩导航
当前位置 : 最新澳门博彩导航 > 澳门正规博彩十大网站

由于传的查询sql较长,导致Socket closed掉了,如何在不改sql的情况下解决掉?

Caused by: org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.

at org.postgresql.core.v3.QueryExecutorImpl.executeQueryExecutorImpl.java:314
at org.postgresql.jdbc.PgStatement.executeInternalPgStatement.java:430
at org.postgresql.jdbc.PgStatement.executePgStatement.java:356
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlagsPgPreparedStatement.java:168
at org.postgresql.jdbc.PgPreparedStatement.executePgPreparedStatement.java:157
at sun.reflect.GeneratedMethodAccessor146.invokeUnknown Source
at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43
at java.lang.reflect.Method.invokeMethod.java:606
at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invokePreparedStatementLogger.java:59
at com.sun.proxy.$Proxy75.executeUnknown Source
at org.apache.ibatis.executor.statement.PreparedStatementHandler.queryPreparedStatementHandler.java:62
at org.apache.ibatis.executor.statement.RoutingStatementHandler.queryRoutingStatementHandler.java:78
at org.apache.ibatis.executor.SimpleExecutor.doQuerySimpleExecutor.java:62
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabaseBaseExecutor.java:303
at org.apache.ibatis.executor.BaseExecutor.queryBaseExecutor.java:154
at org.apache.ibatis.executor.CachingExecutor.queryCachingExecutor.java:102
at org.apache.ibatis.executor.CachingExecutor.queryCachingExecutor.java:82
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectListDefaultSqlSession.java:120
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectListDefaultSqlSession.java:113
at sun.reflect.GeneratedMethodAccessor155.invokeUnknown Source
at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43
at java.lang.reflect.Method.invokeMethod.java:606
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invokeSqlSessionTemplate.java:386
... 44 more

Caused by: java.net.SocketException: Socket Closed

at java.net.SocketInputStream.socketRead0Native Method
at java.net.SocketInputStream.readSocketInputStream.java:152
at java.net.SocketInputStream.readSocketInputStream.java:122
at org.postgresql.core.VisibleBufferedInputStream.readMoreVisibleBufferedInputStream.java:140
at org.postgresql.core.VisibleBufferedInputStream.ensureBytesVisibleBufferedInputStream.java:109
at org.postgresql.core.VisibleBufferedInputStream.readVisibleBufferedInputStream.java:191
at org.postgresql.core.PGStream.receivePGStream.java:487
at org.postgresql.core.PGStream.receiveTupleV3PGStream.java:396
at org.postgresql.core.v3.QueryExecutorImpl.processResultsQueryExecutorImpl.java:2118
at org.postgresql.core.v3.QueryExecutorImpl.executeQueryExecutorImpl.java:288
... 66 more

广告位

最新澳门博彩导航