Java的ORM框架 jOOQ 介绍
jopen
13年前
<p>jOOQ 高效的合并了复杂SQL、类型安全、源码生成、Active Records、存储过程以及高级数据类型的 Java 类库。支持DB2, Derby, Ingres, H2, HSQLDB, MySQL, Oracle, Postgres, SQLite, SQL Server, Sybase。</p> <header> <h2>特性:</h2> </header> <ul class="features"> <li itemprop="providedFeatures">面向对象SQL建模</li> <li itemprop="providedFeatures">SQL代码生成</li> <li itemprop="providedFeatures">OR-Mapping</li> <li itemprop="providedFeatures">Typesafe SQL</li> <li itemprop="providedFeatures">存储过程和UDT支持</li> <li itemprop="providedFeatures">ActiveRecords</li> </ul> <p></p> <p>示例代码:</p> <pre class="brush:java; toolbar: true; auto-links: false;">// 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();</pre> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1328449565937" target="_blank">http://www.open-open.com/lib/view/home/1328449565937</a></p> <p></p>