手机版
你好,游客 登录 注册
背景:
阅读新闻

jOOQ 1.5.8 发布,Java的ORM框架

[日期:2011-04-30] 来源:Linux社区  作者:Linux [字体:大 中 小]

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();
更多关于jOOQ的详细信息,或者下载地址请点 这里
linux
相关资讯       jOOQ 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款