Dynamise "packagesToScan" attribute
Closed this issue · 1 comments
jvillanti commented
Find a solution to dynamise the packagesToScan
attribute in resthubContext.xml
(used by org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
).
Default value org.resthub
generates the exception : java.lang.IllegalArgumentException: Not an managed type: xxx.xxx.model.Sample
Possible solutions :
- add property in resthubCoreJpaProperties map
- org.resthub.core.context.persistence.
- ???