Hi, another problem :s ``` ...
# exposed
w
Hi, another problem :s
Copy code
val pendingTransactions = PendingTransaction.find { PendingTransactions.user eq user }

                                    val message = if (pendingTransactions.empty())
The second line throws an SQLException:
Copy code
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.