agentgt / jirm

A Java Immutable object Relational Mapper focused on simplicity, convenience, and thread safety.
Apache License 2.0
66 stars 10 forks source link

update.execute() should return something better than just an int. #23

Open agentgt opened 11 years ago

agentgt commented 11 years ago

update...execute() should return something more useful than int. So you can do something like

.execute().expect(2).boolean()

or

.execute().expect(2).throwExceptionIfNot()