May 14, 2021 JFinal manual
ActiveRecordPlugin currently offers MysqlDialect, OracleDialect, AnsiSqlDialect implementation classes. M ysqlDialect and OracleDialect implement support for Mysql and Oracle, respectively, and AnsiSqlDialect implement support for ANSI SQL database compliance. Here's the configuration code for the database Dialect:
public class DemoConfig extends JFinalConfig {
public void configPlugin(Plugins me) { ActiveRecordPlugin arp = new ActiveRecordPlugin(...); me.add(arp);
Configure the Postgresql dialect
arp.setDialect(new PostgresqlDialect());
}
}