These features are not currently available in TopLink Essentials. Feel free
to log enhancement requests for them in the Glassfish bug database.
These features are available in the TopLink 11g preview.
田 燦銓 wrote:
>
> Hi Manager.
>
> I am developing the EJB3.0 application with Toplink Essentails.
> The version is Glassfish v2-b58g(FCS).
>
> I found information about the Batch Reading and Batch Writing
> from Oracle Web Site, however I don't know whether it is available
> to toplink essentials.
>
> http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/optimiz011.htm#BEEGCFEE
> <snipped>
> targetSession.getLogin().useBatchWriting();
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> targetSession.getLogin().bindAllParameters();
> targetSession.getLogin().cacheAllStatements();
> targetSession.getLogin().setMaxBatchWritingSize(200);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> In my application, I wish to improve performace about database access,
> but I coun't find the documents for performance.
> We would really appreciate if you could reply to below questions.
> If you have the plan for RFE, Would you kindly let us know about the RFE
> schedule ?
>
> [Question1]
> If it is impossible,
> is there another methods for performace about database.
> access? and do you have the plan for RFE?
>
> [Question2]
> Can i use the setHint for JDBC fetchSize in Query of Toplink Essentials.
>
> <snipped>
> Query queryEmployeesByFirstName = entityManager.createNamedQuery(
> "findAllEmployeesByFirstName");
> queryEmployeesByFirstName.setHint("refresh", new Boolean(true));
>
> Thank you for your cooperation.
> Best Regards,
>
>
-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
http://www.oracle.com/technology/products/ias/toplink/ Oracle TopLink ,
http://www.eclipse.org/eclipselink/
EclipseLink , https://glassfish.dev.java.net/javaee5/persistence/ TopLink
Essentials
Wiki: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence ,
http://wiki.eclipse.org/EclipseLink EclipseLink
Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
http://www.nabble.com/EclipseLink-f26430.html EclipseLink ,
http://www.nabble.com/java.net---glassfish-persistence-f13455.html Glassfish
Persistence
--
View this message in context: http://www.nabble.com/About-the-specifiction-of-Batch-Reading-and-Writing-tf4848840.html#a13878351
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.