How to pass SQLXML type to view in Spring MVC?

Posted by Horacy Oliwka on Stack Overflow See other posts from Stack Overflow or by Horacy Oliwka
Published on 2010-04-03T12:57:06Z Indexed on 2010/04/03 13:03 UTC
Read the original article Hit count: 426

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about spring

Related posts about sqlxml