Part I Development Tasks and Tools
1. Setting Up a Development Environment
3. Using Ant with Enterprise Server
Part II Developing Applications and Application Components
7. Using the Java Persistence API
8. Developing Web Applications
9. Using Enterprise JavaBeans Technology
10. Using Container-Managed Persistence
13. Developing Lifecycle Listeners
Part III Using Services and APIs
14. Using the JDBC API for Database Access
General Steps for Creating a JDBC Resource
Making the JDBC Driver JAR Files Accessible
Automatic Detection of Installed Drivers
Creating a JDBC Connection Pool
Modifying a JDBC Connection Pool
Testing a JDBC Connection Pool
Flushing a JDBC Connection Pool
Creating Applications That Use the JDBC API
Using an Initialization Statement
Associating Connections with Threads
Obtaining a Physical Connection From a Wrapped Connection
Using the Connection.unwrap() Method
Using Non-Transactional Connections
Using JDBC Transaction Isolation Levels
Allowing Non-Component Callers
15. Using the Transaction Service
16. Using the Java Naming and Directory Interface
This section discusses restrictions and performance optimizations that affect using the JDBC API.
By default, DataDirect and Sun GlassFish JDBC drivers for Sybase databases create a stored procedure for each parameterized PreparedStatement. On the Enterprise Server, exceptions are thrown when primary key identity generation is attempted. To disable the creation of these stored procedures, set the property PrepareMethod=direct for the JDBC connection pool.