hibernate 报query result offset is not supported

Posted 菜鸟员

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hibernate 报query result offset is not supported相关的知识,希望对你有一定的参考价值。

 

在配置hibernate.cfg.xml时需指定使用数据库的方言:

例:

<property name="dialect">org.hibernate.dialect.mysql5Dialect</property>

以下是各数据库对应的方言(Dialect):

 

数据库

方言(Dialect)

DB2

org.hibernate.dialect.DB2Dialect

DB2 AS/400

org.hibernate.dialect.DB2400Dialect

DB2 OS390

org.hibernate.dialect.DB2390Dialect

PostgreSQL

org.hibernate.dialect.PostgreSQLDialect

MySQL5

org.hibernate.dialect.MySQL5Dialect

MySQL5 with InnoDB

org.hibernate.dialect.MySQL5InnoDBDialect

MySQL with MyISAM

org.hibernate.dialect.MySQLMyISAMDialect

Oracle(any version)

org.hibernate.dialect.OracleDialect

Oracle 9i

org.hibernate.dialect.Oracle9iDialect

Oracle 10g

org.hibernate.dialect.Oracle10gDialect

Oracle 11g

org.hibernate.dialect.Oracle10gDialect

Sybase

org.hibernate.dialect.SybaseASE15Dialect

Sybase Anywhere

org.hibernate.dialect.SybaseAnywhereDialect

Microsoft SQL Server 2000

org.hibernate.dialect.SQLServerDialect

Microsoft SQL Server 2005

org.hibernate.dialect.SQLServer2005Dialect

Microsoft SQL Server 2008

org.hibernate.dialect.SQLServer2008Dialect

SAP DB

org.hibernate.dialect.SAPDBDialect

Informix

org.hibernate.dialect.InformixDialect

HypersonicSQL

org.hibernate.dialect.HSQLDialect

H2 Database

org.hibernate.dialect.H2Dialect

Ingres

org.hibernate.dialect.IngresDialect

Progress

org.hibernate.dialect.ProgressDialect

Mckoi SQL

org.hibernate.dialect.MckoiDialect

Interbase

org.hibernate.dialect.InterbaseDialect

Pointbase

org.hibernate.dialect.PointbaseDialect

FrontBase

org.hibernate.dialect.FrontbaseDialect

Firebird

org.hibernate.dialect.FirebirdDialect

 

 

转载请注明出处:http://blog.csdn.net/jialinqiang/article/details/8679171

以上是关于hibernate 报query result offset is not supported的主要内容,如果未能解决你的问题,请参考以下文章

laravel路由无法访问,报404,No query results for model [AppModels...]

Multiple Server Query Execution报The result set could not be merged..

TP5执行存储过程报The active result for the query contains no fields.

hibernate创建本地查询后进行查询的时候报错: could not execute query;列名无效

Hibernate 基础解析(Configuration,SessionFactory,Session,Transaction,Query,Criteria)

java程序访问数据库,dbcp连接池,hibernate连接总是报池连接用光了/JDBC连接没有报错