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
Find a solution to dynamise the
packagesToScan
attribute inresthubContext.xml
(used byorg.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
).Default value
org.resthub
generates the exception :java.lang.IllegalArgumentException: Not an managed type: xxx.xxx.model.Sample
Possible solutions :