各种数据库sql比较 postgres、mysql、oracle、sqlserver
日期差异:
postgres: current
mysql: now()
oracle:sysdate
postgres:now()
查序列差异:
if (dialect instanceof OracleDialect) {
query = session.createSQLQuery("select " + seqName + ".nextval as seq from dual");
} else if (dialect instanceof..
原创
2020-06-04 11:27:02 ·
1005 阅读 ·
0 评论