Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] connection pooling

NativeQuery's will use the EclipseLink connection pool, you do not need to do
anything special.


David Parker-10 wrote:
> 
> We started out about a year ago building an application on top of  
> toplink-essentials. In addition to JPA objects, we also use raw JDBC  
> Connections in some parts of our code. For the raw connections we need  
> to be able to do pooling, so I have been looking at DBCP....
> 
> If I use NativeQuery objects for my SQL queries, how do I go about  
> ensuring that they use a Connection pool under the covers in  
> eclipselink? I would like to have just one way of accessing the  
> database, if possible (we need SQL for some database-specific features  
> that we use, e.g., fulltext indexes).
> 
> Any hints would be appreciated. Also, recommendations for the best dev  
> evironment for  building the eclipselink project - I am equally inept  
> with Netbeans or Eclipse. I assume things are optimized for Eclipse?
> 
> Thanks! I'm looking forward to moving our app forward onto eclipselink.
> aloha
> 
> -- DAP
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/connection-pooling-tp20426688p20440409.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top