Add support for adding attributes to the Velocity context
Closed this issue · 1 comments
zaherhammoud commented
The MyBatis Velocity plugin does not allow to put attributes in the Velocity context to be used during the query transformation phase. This feature is very important for existing projects that have code to support SQL and literal parameters transformation.
The idea is to introduce an optional property file where custom attributes can be defined and injected into the Velocity context at run time. The same property file can be used to override the default properties defined in the "velocity.properties" file.