How to pass SQLXML type to view in Spring MVC?
- by Horacy Oliwka
Hello!
In my webapp controller I'm getting results from the db, which are of type SQLXML.
I want to pass it to the view to be returned verbatim (as XML).
The problem is, the data associated with SQLXML is released as soon as I leave JdbcTemplate call. How then should I pass the data to the view using a model?
Best regards,
ho.