My application freeze when make queries see stack:
Code:
Thread [AWT-EventQueue-0] (Suspended)
SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]
SocketInputStream.read(byte[], int, int) line: not available
ReadAheadInputStream.fill(int) line: 113
ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(byte[], int, int) line: 160
ReadAheadInputStream.read(byte[], int, int) line: 188
MysqlIO.readFully(InputStream, byte[], int, int) line: 2329
MysqlIO.nextRowFast(Field[], int, boolean, int, boolean, boolean, boolean) line: 1583
MysqlIO.nextRow(Field[], int, boolean, int, boolean, boolean, boolean, Buffer) line: 1375
MysqlIO.readSingleRowSet(long, int, int, boolean, Field[]) line: 2708
MysqlIO.getResultSet(StatementImpl, long, int, int, int, boolean, String, boolean, Field[]) line: 459
MysqlIO.readResultsForQueryOrUpdate(StatementImpl, int, int, int, boolean, String, Buffer, boolean, long, Field[]) line: 2411
MysqlIO.readAllResults(StatementImpl, int, int, int, boolean, String, Buffer, boolean, long, Field[]) line: 1657
MysqlIO.sqlQueryDirect(StatementImpl, String, String, Buffer, int, int, int, boolean, String, Field[]) line: 2036
JDBC4Connection(ConnectionImpl).execSQL(StatementImpl, String, int, Buffer, int, int, boolean, String, Field[], boolean) line: 2543
JDBC4PreparedStatement(PreparedStatement).executeInternal(int, Buffer, boolean, boolean, Field[], boolean) line: 1737
JDBC4PreparedStatement(PreparedStatement).executeQuery() line: 1888
BatchingBatcher(AbstractBatcher).getResultSet(PreparedStatement) line: 186
QueryLoader(Loader).getResultSet(PreparedStatement, boolean, boolean, RowSelection, SessionImplementor) line: 1787
QueryLoader(Loader).doQuery(SessionImplementor, QueryParameters, boolean) line: 674
QueryLoader(Loader).doQueryAndInitializeNonLazyCollections(SessionImplementor, QueryParameters, boolean) line: 236
QueryLoader(Loader).doList(SessionImplementor, QueryParameters) line: 2220
QueryLoader(Loader).listIgnoreQueryCache(SessionImplementor, QueryParameters) line: 2104
QueryLoader(Loader).list(SessionImplementor, QueryParameters, Set, Type[]) line: 2099
QueryLoader.list(SessionImplementor, QueryParameters) line: 378
QueryTranslatorImpl.list(SessionImplementor, QueryParameters) line: 338
HQLQueryPlan.performList(QueryParameters, SessionImplementor) line: 172
SessionImpl.list(String, QueryParameters) line: 1121
QueryImpl.list() line: 79
This not happens in the same query but occasionally.
I have try some mysql JDBC drivers but problem exist in all versions!
Someone can help me?
thx