Fixed bug in static block for jdbc connection