I am using ebean as ORM and SQL Server in the back. I got an exception of SQL syntax error when I try to setMaxRows. The generated sql has something like
select .... from ... where ... LIMIT 5
while this might work for mysql, SQLServer doesn't like it.
After some search I found that the default SqlLimiter used by EBean,LimitOffsetSqlLimiter, creates sql like this. I am wondering if I can configure ebean so that it can use other implementation, such as RowNumberSqlLimiter, or even my own implementation as mentioned here?