4 Replies Latest reply: Jul 11, 2012 8:55 AM by Veronica RSS

    JPA2 - downloading large objects from database


      I would like to enable user to download large (up to 20Mb) files, stored in Oracle database.

      I think I should use a stream, but I don't know how to get JPA to return a stream of Large Object. Can you help?

      I'm using EclipseLink.