jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
189 stars 55 forks source link

tiny clarification for entity listeners #464

Closed gavinking closed 10 months ago

gavinking commented 11 months ago

I propose we clarify in section 3.5.2 that if an entity listener callback method deals with a specific entity type E, its parameter may be declared with that type, i.e. void <METHOD>(E) instead of void <METHOD>(Object), avoiding a typecast.