yogthos / memory-hole

Memory Hole is a support issue organizer application
MIT License
259 stars 25 forks source link

fix h2 new version compatibility #39

Closed jhamrsky closed 6 years ago

jhamrsky commented 6 years ago

This PR fixes H2 DB support after switching to 1.4.197 by removing Java compatibility code (custom aggregate array_agg) and introducing implementation for H2 return value for aggregate.

From previously proposed code, this one implements directly IResultSetReadColumn protocol for Object[] type. This solution looks much better than re-implementing protocol for Object type with bunch of conditions.

yogthos commented 6 years ago

Awesome, thanks!