Grails: Is it possible to query PostgreSQL server version? -


in grails 1.3.9 application need maintain there query using like. customer installations can use different postgresql database versions (7.3 , 9.x).

the search pattern can in general contain non-ascii characters. such select .. columns pattern statements don't work postgresql 7.x , have handled in different way.

is there way in grails determine postgresql server version in runtime solve this?

if can issue raw sql:

select version(); 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -