As i am using Mybatis as the persistence frame, but i don't know how to configure mybatis in the server.properties instead of Hibernate,can anyone help. I am using the SmartGWT EE version.
Announcement
Collapse
No announcement yet.
X
-
You wouldn't configure mybatis in server.properties. You would either:
1. call existing Mybatis methods via DMI
or
2. replace MyBatis with SQLDataSource, which is much more powerful and simpler.
The latter is the preferred approach. See the QuickStart Guide, Server Framework chapter, for details on either approach.
-
thanks, i will try with your suggestion. As to Mybatis, I will consider whether to use it.Originally posted by Isomorphic View PostYou wouldn't configure mybatis in server.properties. You would either:
1. call existing Mybatis methods via DMI
or
2. replace MyBatis with SQLDataSource, which is much more powerful and simpler.
The latter is the preferred approach. See the QuickStart Guide, Server Framework chapter, for details on either approach.
Comment
Comment