Java的ORM框架jOOQ 1.5.8 發布
Java的ORM框架 jOOQ 1.5.8 發布。該版本增加了兩個重要的新的RDBMS被支持:SQL Server 和 Sybase。
There is now full support for the non-SQL standard LIMIT clause, even in dialects where the LIMIT clause is not supported natively (especially Oracle, but also DB2, SQL Server, and Sybase, which have limitations). jOOQ simulates LIMITs by rendering nested selects filtering on ROWNUM (Oracle) or on ROW_NUMBER() (DB2, SQL Server, and Sybase).
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();
項目主頁:http://sourceforge.net/apps/trac/jooq
本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!