4 Replies Latest reply on Jul 11, 2012 1:55 PM by Veronica

    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.