0

Can anyone indicate where all the magic happens for Play Jobs to be enhanced with JPA and transaction support.

I intend to write my own plugin and would like to give some objects the same support. However this I can't find anywhere obvious where this magic happens for the jobs.

4

1 回答 1

1

增强的辅助方法在play.classloading.enhancers包中。

关于模型,它是JPAEnhancer文件,它添加了许多方法(count、findAll、findById ...)

于 2012-05-08T09:01:17.817 回答