This document tracks the testing of the vending-machine-service example across various Java frameworks using the PostgreSQL database.
- Core Example: Vending Machine (using
vending.xml) - Database: PostgreSQL (PG)
- Workspaces Directory:
~/githome/teaql-java-app-examples - Frameworks Tested:
java-web-spring-boot(Spring Boot 4.1.0)java-web-quarkus(Quarkus 3.8.3)java-web-micronaut(Micronaut 4.3.8)
- Status: ✅ Passed
- Details:
- Upgraded Spring Boot to 4.1.0 and Java 21.
- Successfully generated the code using
LocalGenerator. - Migrated to using
SpringJdbcSqlExecutor. - Application compiles and runs successfully.
- Status: ✅ Passed (Generation & Compilation)
- Details:
- Initialized Quarkus project template in the generator.
- Used
teaql-provider-jdbcwithJdbcSqlExecutorsince Quarkus doesn't use Spring JDBC. - Adapted
App.javaandEnsureModelControllerfor Quarkus@ApplicationScopedand@Observes StartupEvent. - Code generation via
LocalGeneratorcompleted successfully.
- Status: ✅ Passed (Generation & Compilation)
- Details:
- Initialized Micronaut project template in the generator.
- Used
teaql-provider-jdbcwithJdbcSqlExecutor. - Adapted
App.javaandEnsureModelControllerusing Micronaut@Factory,@Singleton, and@EventListener. - Code generation via
LocalGeneratorcompleted successfully.
The core functionality of TeaQL is now confirmed to generate and compile successfully across the three major Java frameworks (Spring Boot, Quarkus, and Micronaut) targeting Java 21.