简体   繁体   English

Jooq是否支持Sql Server 2014和2017?

[英]Does Jooq support Sql Server 2014 and 2017?

I am developing my application in Sql Server 2014 and will upgrade to Sql Server 2017 when it is released. 我正在Sql Server 2014中开发应用程序,发布后将升级到Sql Server 2017。 According, to Jooq they support up to Sql Server 2012. Can I still use Jooq with 2017? 根据Jooq的说法,他们最多支持Sql Server2012。我是否仍可以在2017年使用Jooq? Will there be any features I am missing since the highest version Jooq supports is 2012? 自Jooq支持的最高版本是2012以来,我会缺少任何功能吗?

jOOQ supports "SQL Server 2008 and later" . jOOQ支持“ SQL Server 2008及更高版本” All popular SQL databases are very backwards compatible, so jOOQ officially supports all new versions of a specific database. 所有流行的SQL数据库都向后兼容,因此jOOQ正式支持特定数据库的所有新版本。

SQL dialect configurations SQL语言配置

This is not to be confused with the available SQLDialect versions, which (as of jOOQ 3.9) list: 请勿将其与可用的SQLDialect版本混淆,该版本(自jOOQ 3.9起)列出:

jOOQ 3.10 will also add a dialect configuration for: jOOQ 3.10还将为以下内容添加一种方言配置:

jOOQ 3.11 will add a configuration for: jOOQ 3.11将添加以下配置:

Even if SQL Server 2017 cannot be configured in jOOQ 3.9, yet, this doesn't mean it won't be supported. 即使无法在jOOQ 3.9中配置SQL Server 2017,这也不意味着它不受支持。 You can choose any of the above SQL dialect configurations. 您可以选择上述任何SQL方言配置。 They will all work on SQL Server 2017. 它们都将在SQL Server 2017上运行。

The main reasons for adding new dialect version configurations like the above are: 像上述添加新的方言版本配置的主要原因是:

  • To document that a specific function is only available from that version onwards (eg STRING_AGG will be supported in SQL Server 2017) 要记录特定功能仅从该版本开始可用(例如,SQL Server 2017将支持STRING_AGG
  • To switch to newer SQL constructs (eg OFFSET .. FETCH was supported natively in SQL Server 2012, jOOQ emulates it using ROW_NUMBER() in SQL Server 2008) 要切换到较新的SQL构造(例如,SQL Server 2012原生支持OFFSET .. FETCH ,jOOQ在SQL Server 2008中使用ROW_NUMBER()对其进行仿真)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM