I'm working on integrating SmartGWT into an existing application where Hibernate 5 is already used. The existing application already creates the SessionFactory. Is there a way to use the already configured SessionFactory object with SmartGWT? And will Hibernate 5 even work with SmartGWT?
Announcement
Collapse
No announcement yet.
X
-
Sorry for the delayed response. It seems that you've got things working already, but we'll answer this for other users that might hit same problem.
There are two options how to use Hibernate 5 with SmartGWT:
1. use JPADataSource and just replace Hibernate required dependencies in classpath (recommended)
2. manually integrate with existing data model using custom DataSource approach as described here
Comment