oshai
12/03/2018, 6:54 AMdave08
03/19/2019, 6:55 PMnull
? It isn't in the list on the Wiki...oshai
03/19/2019, 6:56 PMdave08
03/19/2019, 6:57 PMoshai
03/19/2019, 7:13 PMoshai
03/20/2019, 7:57 AMdave08
07/14/2019, 3:19 PMit.getInt(0)!!
etc... and also it would only cause a Null exception instead of something more meaningful...dave08
07/14/2019, 3:23 PMit.getInt(0) ?: 0
, but maybe there could be some other name for such an implementation?Derek Berner
07/15/2019, 3:21 PMoshai
07/15/2019, 3:34 PMDerek Berner
07/15/2019, 3:42 PMoshai
07/15/2019, 6:07 PMDerek Berner
07/15/2019, 6:32 PMv0ldem0rt
08/05/2019, 1:24 PMv0ldem0rt
12/14/2019, 3:24 PMjames
02/03/2020, 8:12 PMdave08
04/05/2020, 3:42 PMQueryResult
like if a Unique index was violated (maybe a setting to get an exception for that...?). Currently there's no real way to distinguish a generic failure in doing an insert, or a more specific one (unless we parse the error message?) @oshai?obobo
04/06/2020, 2:05 PMdave08
04/06/2020, 3:04 PMapplication.yaml
... but it seems that client
is hard-coded there and doesn't allow selecting mysql/postgres type?Henry
11/21/2020, 12:36 PMdave08
12/07/2020, 12:33 PMdave08
12/10/2020, 12:20 PMdave08
12/10/2020, 12:21 PMval totalParameters = params.query.count { it == '?' }
I guess it's the same in postgres, where really it should be a regex to make sure that the ?
is not surrounded by quotes.dave08
10/11/2021, 2:03 PM2021-10-11 16:41:41
2021-10-11T13:41:40.969962754Z stdout F 13:41:40.969 [db-sql-netty-thread-1] INFO c.g.j.s.d.p.c.PostgreSQLConnectionHandler - Connection disconnected - music-stats-db-postgresql.prod/10.245.137.87:5432
2021-10-11 16:41:41
2021-10-11T13:41:40.968542528Z stdout F at java.lang.Thread.run(Thread.java:748)
2021-10-11 16:41:41
2021-10-11T13:41:40.968536835Z stdout F at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
2021-10-11 16:41:41
2021-10-11T13:41:40.968532063Z stdout F at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
2021-10-11 16:41:41
2021-10-11T13:41:40.96852643Z stdout F at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
2021-10-11 16:41:41
2021-10-11T13:41:40.968520689Z stdout F at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
2021-10-11 16:41:41
2021-10-11T13:41:40.968515005Z stdout F at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
2021-10-11 16:41:41
2021-10-11T13:41:40.968506767Z stdout F at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
2021-10-11 16:41:41
2021-10-11T13:41:40.968500287Z stdout F at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
2021-10-11 16:41:41
2021-10-11T13:41:40.968494538Z stdout F at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
2021-10-11 16:41:41
2021-10-11T13:41:40.968487899Z stdout F at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
2021-10-11 16:41:41
2021-10-11T13:41:40.968483161Z stdout F at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
2021-10-11 16:41:41
2021-10-11T13:41:40.968477638Z stdout F at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
2021-10-11 16:41:41
2021-10-11T13:41:40.968471624Z stdout F at sun.nio.ch.IOUtil.read(IOUtil.java:192)
2021-10-11 16:41:41
2021-10-11T13:41:40.968460746Z stdout F at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
2021-10-11 16:41:41
2021-10-11T13:41:40.968454211Z stdout F at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
2021-10-11 16:41:41
2021-10-11T13:41:40.968448501Z stdout F at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
2021-10-11 16:41:41
2021-10-11T13:41:40.968437547Z stdout F java.io.IOException: Connection reset by peer
2021-10-11 16:41:41
2021-10-11T13:41:40.96837819Z stdout F 13:41:40.968 [db-sql-netty-thread-1] ERROR c.g.j.s.d.p.PostgreSQLConnection - Error on connection
dave08
10/11/2021, 2:05 PMoshai
11/18/2021, 11:06 PMConnection reset by peer
- so it means the db disconnectoshai
11/18/2021, 11:06 PMdave08
01/17/2023, 12:49 PMdave08
06/25/2024, 1:15 PM