jOOQ 高效的合并了复杂SQL、类型安全、源码生成、Active Records、存储过程以及高级数据类型的 Java 类库。
示例代码:
// Create a new record and insert it into the database TBookRecord book = create.newRecord(T_BOOK); book.setTitle("My first book"); book.store(); // Update it with new values book.setPublishedIn(2010); book.store(); // Delete it book.delete();
新版本引入三个项目:
1. The project CURSOR is where jOOQ finally supports various RDBMS's TABLE, CURSOR, and REF CURSOR data types.
2. The project EXPORT aims at exporting data from the database in various serialisable formats, such as XML, CSV, HTML, Text, and JSON.
3. The project CODEGEN has finally been started.
另外还包含很多小的提升。
更多关于jOOQ的详细信息,或者下载地址请点 这里
