users@glassfish.java.net

Re: Problems with Persisting Large Data / JPA

From: <glassfish_at_javadesktop.org>
Date: Wed, 03 Mar 2010 07:11:44 PST

Hello,
I've since added the following to my persistence.xml file:
[code]
   <properties>
       <property name="eclipselink.target-database" value="Oracle"/>
   </properties>
[/code]

As described here:
http://docs.sun.com/app/docs/doc/820-4496/gbwmj?a=view

And Here:
http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#Using_EclipseLink_JPA_Extensions_for_Session.2C_Target_Database_and_Target_Application_Server
http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#How_to_Use_EclipseLink_JPA_Extensions_for_JDBC_Connection_Communication

I've confirmed that [i]persisting[/i] a file about 6MB doesn't cause any issues (no issues occur in the logs, no http timeouts and no strange SOAP errors) and the total transfer time is about 2 minutes 45 seconds for a file of this size.

Still curious if there is any other way to optimize JPA / eclipselink to load more efficiently.
[Message sent by forum member 'hoffman462' (HoffmanDanielG_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=389846