[root]/groovy/groovy-core/src/main/groovy/gdo
refactored the gdo package to be in the sql package instead to make things a bit neater
0 lines of code changed in:
removed the dependency on commons-logging. we may as well use JDK 1.4 logging instead since we're 1.4 dependent. This means 1 less jar for folks to use when embedding
30 lines of code changed in:
log exceptions while closing resources - thanks for the tip Dain
3 lines of code changed in:
Refactored so that the dataset queries all now use PreparedStatements to avoid any security issues with dodgy parameter values.
Also added a bunch of methods for performing queries or statements or stored procedure calls using the ? notation and passing a list of parameters, if folks find that easier than using GStrings
157 lines of code changed in:
added an extra method to support adding new rows to a row in the result set
17 lines of code changed in:
added test case for updating a result set as its navigated; though this test is commented out right now as Axion doesn't yet support it.
12 lines of code changed in:
Added test for GString queries via SQL
3 lines of code changed in:
First cut of a working GDO library which allows arbitrary queries to be performed on an SQL database with SQL or using a simple datasset abstraction.
In both cases, results appear as normal groovy objects.
190 lines of code changed in:
* applied Sam's patch to tidy up the MetaClass
* added early implementation of Sequences (for 0..n or 1..n cardinalities)
* added a keystroke for the swing console
* started some early implementations of an SQL facade for gdo
95 lines of code changed in:
Deleted the old & dead interpreter (we can now use GroovyShell as an interpreter instead) and added the swiitch statement to the AST
4 lines of code changed in:
Fix for GDO test suite to work around bug GROOVY-45 until its fixed
1 lines of code changed in:
Added some extra tracing to help the GDO implementation.
Seem to have found a bug somewhere but also added support for and and or in predicates for GDO - not working yet though
24 lines of code changed in:
Added initial checkin of the GroovyDataObjects (GDO) developed at GeekNight with Chris Stevenson for creating groovy data objects via normal Groovy syntax (rather than SQL) and using closures for predicates or view projections or order by clauses
153 lines of code changed in: