Quantcast

Including external entity in mybatis mapper file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Including external entity in mybatis mapper file

Andreas Markitanis

Hi

How do you include an external entity in a mapper file?

With ibatis I used to have the following:

<!ENTITY rating_analysis_state_cases SYSTEM "classpath://ibatis/includes/rating_analysis_state_cases.sql">

This used to work fine.

Only change I've made with regards to classpath structure os that I renamed the ibatis folder to mybatis.

Now when I run it I get an uknown protocol: classpath from MalformedURLException.

Has it changed?

Thanks

Regards,
Andreas

Loading...