* work for mysql and h2 database