-
Notifications
You must be signed in to change notification settings - Fork 22
Support the _databaseId variable in sql template #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the _databaseId variable in sql template #152
Conversation
@naka-sho |
@kazuki43zoo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@naka-sho Thanks for your great working! I add trivial comments.
src/test/java/org/mybatis/scripting/freemarker/PreparedDatabaseIdParamsMapper.java
Outdated
Show resolved
Hide resolved
src/test/java/org/mybatis/scripting/freemarker/PreparedDatabaseIdParamsTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/mybatis/scripting/freemarker/PreparedDatabaseIdParamsTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/mybatis/scripting/freemarker/PreparedDatabaseIdParamsMapper.java
Outdated
Show resolved
Hide resolved
@kazuki43zoo |
use of databaseId
discription
_databaseId not available in default FreemarkerLanguageDriver.
Fix preProcessDataContext.
Add _databaseId to dataContext.
Convert _databaseId before executing SQL.
error detail