Edgar Espina
Edgar Espina
- move away from ASM and byte code generation - generate source code ASM does a good job but it is hard to make changes
Replace Jetty 11. I'm not marking this as break-change due jooby hides all Jetty internals. https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12-java-version
Join with table alias ``` select o.*, l.* from owner o inner join link l on o.link=l.id ``` Results in: ``` org.h2.jdbc.JdbcSQLSyntaxErrorException: Column "l.id" not found [42122-199] at org.h2.message.DbException.getJdbcSQLException(DbException.java:451) at...
As Quartz alternative, see: https://github.com/kagkarlsson/db-scheduler
```java interface BeanFactory { create(Context ctx, Class type); } ``` With: ```java { install(new ModelBeanFactory()); get("/bean", ctx -> { var person = ctx.query(Person.class); }); } ``` Or: ```java class Controller...
The service lookup was required while using reflection+byte-code generation. Now we generate code, so we can remove it. So: ``` mvc(Controller.class); ``` Must be replaced by: ``` mvc(new Controller_()); ```