Unconfiguring mapper interface

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Unconfiguring mapper interface

diegobravoestrada
Hi,

I'm using a programmatic configuration for a standalone application (no xml file is present.) For adding a mapping interface I'm using this (successfully):


// factory is an SqlSessionFactory
factory
.getConfiguration().addMapper(DbQueries.class);


Now I'm developing a pluggable system and I need to be able to "unregister" such mapping interface (and maybe register again later with a new version.) I can't find a corresponding method (to addMapper) in the <a class="header" href="eclipse-javadoc:%E2%98%82=ati-tx/jars%5C/mybatis-3.4.5.jar%3Corg" style="color: rgb(255, 255, 255); text-decoration: none; font-family: &#39;Noto Sans&#39;, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(0, 0, 0);">org.<a class="header" href="eclipse-javadoc:%E2%98%82=ati-tx/jars%5C/mybatis-3.4.5.jar%3Corg.apache" style="color: rgb(255, 255, 255); text-decoration: none; font-family: &#39;Noto Sans&#39;, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(0, 0, 0);">apache.<a class="header" href="eclipse-javadoc:%E2%98%82=ati-tx/jars%5C/mybatis-3.4.5.jar%3Corg.apache.ibatis" style="color: rgb(255, 255, 255); text-decoration: none; font-family: &#39;Noto Sans&#39;, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(0, 0, 0);">ibatis.<a class="header" href="eclipse-javadoc:%E2%98%82=ati-tx/jars%5C/mybatis-3.4.5.jar%3Corg.apache.ibatis.session" style="color: rgb(255, 255, 255); text-decoration: none; font-family: &#39;Noto Sans&#39;, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(0, 0, 0);">session.Configuration.

How could this be done?

Kind regards

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.