Brian's Waste of Time

Sun, 14 Nov 2004

Embedding Groovy Eval in Derby =)

Sitting in the Dervy tutorial at ApacheCon this morning decided to focus on something else for a a bit...

ij> select count(*), groovyEval('foo = ["woof", "meow"]; foo.join(" -- ") ') from fortunes;
1          |2           
--------------------------
13686      |woof -- meow

1 row selected
ij>

Fun fun!

0 writebacks [/src/groovy] permanent link