Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Hoe to configure mybatis in server.properties

    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.

    #2
    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.

    Comment


      #3
      Originally posted by Isomorphic View Post
      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.

      Comment

      Working...
      X