At the moment EbeanDaoInjectionListener always provide EbeanServer to EbeanDao when it is provided by dependency injector. However there are cases that EbeanDao is declared as @Stateless or @Singleton thus it makes no sense to provide the EbeanServer instance to the Dao again
At the moment
EbeanDaoInjectionListener
always provideEbeanServer
toEbeanDao
when it is provided by dependency injector. However there are cases thatEbeanDao
is declared as@Stateless
or@Singleton
thus it makes no sense to provide theEbeanServer
instance to theDao
again