wouterdoeland
07/26/2017, 3:31 PMval pendingTransactions = PendingTransaction.find { PendingTransactions.user eq user }
val message = if (pendingTransactions.empty())
The second line throws an SQLException:
java.sql.SQLException: Invalid argument value: java.io.NotSerializableException
I don't know why this is, but could it be because I'm comparing objects or something? Both values or not null. Any other method on pendingTransactions
will also throw an Exception.