So I finally found some time to make a 2.1 release for EoD SQL. For those who don’t already know:
EoD SQL Allows for fast, simple binding between a Relation Database Query and Java objects.
Think of it as your friend that gets Hibernate or JPA out-of-your-face and lets you get on with actually writing some code.
The 2.1 release has a long list of changes behind it (which we’ve built over the last few months).
- It’s much faster than EoD SQL 2.0 was (which in turn was faster than 1.0).
- There are a good number of bug-fixes, making it nice and stable.
- The 2.1 release includes batch updates
@Update(sql=”INSERT INTO users (name, email) VALUES (?{1.name}, ?{1.email})”,batchUpdate=true)
void batchInsertUsers(Collection users) throws SQLException; - GWT developers rejoice! EoD SQL can now fetch objects in any Collection type you choose!
@Select(“SELECT * FROM users WHERE group = ?1”)
ArrayList getUsersInGroup(long groupId); - Byte arrays are now considered primitive types, and get mapped by EoD SQL out-of-the-box (no custom TypeMapper required)
That’s far from an exhaustive list, and you should really go download the API and try out some of the cool new features.