Closed apflieger closed 4 years ago
The ASM library (embedded and repackaged) in ebean-agent will need an update.
Enhancement needs in examine classes for @Transactional and query beans. The packages checked/read for enhancement is generally determined automatically by code generated by query beans generator these days (so we don't specify that manually any more).
So really need to update ebean-agent with later ASM code.
Effectively this is https://github.com/ebean-orm/ebean-agent/issues/149 Fixed in ebean-agent 12.3.2
Fixed in 12.3.2 of this plugin by bumping the ebean-agent to 12.3.2 https://github.com/ebean-orm-tools/ebean-gradle-plugin/commit/c4ae41113dea3a3f444a93f08e0476fbc46a3ec2
Note that I have confirmed the fix using a maven project. If you could confirm the ebean gradle 12.3.2 plugin works as expected that would be great.
The exception disappeared 👍 Note that I don't use any records in entities though
Thank's a lot. That was very quick
Cool.
Note that I don't use any records in entities though
Well yes we can't actually use records as entity beans due to the restrictions of records so that is expected. "Record support" for Ebean means enhancement (that is looking at classes for @Transactional and querybean enhancement etc doesn't blow up when it reads a record type).
Hi 👋
I am trying to put some java records in my code and found that the plugin now prints an exception when executing:
2 points: