Currently there is a poll on

"What one feature would you most like to see in JDK 7"

Closures are one possible choice. Closures would be soooo niiiiiiiice. Here is why:

List cats = database.query( { Cat cat => cat.getName().equals("Wolke") } );

Can Native Queries be more beautiful?


This is a cry to the db4o community:

Please vote for closures!


Some further links on closures: