Skip to content
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 template file #76

Open
kazuki43zoo opened this issue May 5, 2019 · 0 comments
Open

Support template file #76

kazuki43zoo opened this issue May 5, 2019 · 0 comments

Comments

@kazuki43zoo
Copy link
Member

kazuki43zoo commented May 5, 2019

In current version, template file(vm file) does not support.

For example:

  • CityMapper-findByState.vm
select
  id, name, state, country
from
  city
where
  state = @{state}
  • Mapper
@Select("#parse('/mappers/CityMapper-findByState.vm')")
City findByState(@Param("state") String state);

In above case, @{state} cannot translate to JDBC bind variable (?).

We will consider to support a template file(.vm) like as mybatis-freemarker and mybatis-thymeleaf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant