Skip to content

Simple groovy program which demonstrates a bug with groovy Sql.

Notifications You must be signed in to change notification settings

jnunderwood/groovy-sql-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

groovy-sql-test

Simple groovy program which demonstrates a possible bug with groovy Sql.

Details

Calling sql.rows(string) works while calling sql.rows(gstring) returns an empty result set. This indicates a possible bug in the protected method groovy.sql.Sql.asSql().

The behavior is the same under groovy version 2.4.15, 2.5.2, 2.6.0-alpha-4, and 3.0.0-alpha-3 all running under OpenJDK Java 8.0.181-zulu.

Run this program by simply calling groovy sqlTest.groovy.

About

Simple groovy program which demonstrates a bug with groovy Sql.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages