org.apache.derby.jdbc

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db derby 10.2 » org.apache.derby.jdbc 
org.apache.derby.jdbc
JDBC driver and data source implementations.

Client/Remote driver and data sources, used to connect to the network server

  • ClientDriver - Type 4 JDBC driver
  • ClientDataSource - Data source
  • ClientConnectionPoolDataSource - Connection pooling data source
  • ClientXADataSource - XA data source

Embedded driver and data sources, used when the database engine is embedded with the application.

  • EmbeddedDriver - Type 4 JDBC driver
  • EmbeddedDataSource - Data source for J2SE and J2EE
  • EmbeddedSimpleDataSource - Data source for J2ME/CDC/Foundation and J2SE
  • EmbeddedConnectionPoolSource - Connection pooling data source
  • EmbeddedXASource - XA data source

Derby's JDBC api is defined by its entry point classes, the drivers and data source implementations and the standard JDBC api definitions of the java.sql and javax.sql classes. Derby does not provide non-standard extensions to standard JDBC classes such as Connection, to encourage portable JDBC applications.

Java Source File NameTypeComment
AutoloadedDriver.javaClass This is the dummy driver which is autoloaded under JDBC4 and registered with the DriverManager.
ClientBaseDataSource.javaClass Base class for client-side DataSource implementations.
ClientConnectionPoolDataSource.javaClass ClientConnectionPoolDataSource is a factory for PooledConnection objects. An object that implements this interface will typically be registered with a naming service that is based on the Java Naming and Directory Interface (JNDI).
ClientConnectionPoolDataSource40.javaClass ClientConnectionPoolDataSource40 is a factory for PooledConnection objects. An object that implements this interface will typically be registered with a naming service that is based on the Java Naming and Directory Interface (JNDI).
ClientDataSource.javaClass ClientDataSource is a simple data source implementation that can be used for establishing connections in a non-pooling, non-distributed environment. The class ClientConnectionPoolDataSource can be used in a connection pooling environment, and the class ClientXADataSource can be used in a distributed, and pooling environment.
ClientDataSource40.javaClass ClientDataSource40 is a simple data source implementation that can be used for establishing connections in a non-pooling, non-distributed environment. The class ClientConnectionPoolDataSource40 can be used in a connection pooling environment, and the class ClientXADataSource40 can be used in a distributed, and pooling environment.
ClientDriver.javaClass
ClientXADataSource.javaClass

This is Derby's network XADataSource for use with JDBC3.0 and JDBC2.0.

An XADataSource is a factory for XAConnection objects.
ClientXADataSource40.javaClass

This is Derby's network XADataSource for use with JDBC4.0.

An XADataSource is a factory for XAConnection objects.
Driver169.javaClass Driver169 - JDBC "driver" for J2ME/CDC/Foundation/JSR169, really the JDBC object factory for the JSR169 environment.
Driver20.javaClass This class extends the local JDBC driver in order to determine at JBMS boot-up if the JVM that runs us does support JDBC 2.0.
Driver30.javaClass This class extends the local20 JDBC driver in order to determine at JBMS boot-up if the JVM that runs us does support JDBC 3.0.
Driver40.javaClass
EmbeddedConnectionPoolDataSource.javaClass EmbeddedConnectionPoolDataSource is Derby's ConnectionPoolDataSource implementation for the JDBC3.0 and JDBC2.0 environments.

A ConnectionPoolDataSource is a factory for PooledConnection objects.

EmbeddedConnectionPoolDataSource40.javaClass EmbeddedConnectionPoolDataSource40 is Derby's ConnectionPoolDataSource implementation for the JDBC4.0 environment.

A ConnectionPoolDataSource is a factory for PooledConnection objects.

EmbeddedDataSource.javaClass EmbeddedDataSource is Derby's DataSource implementation for JDBC3.0 and JDBC2.0.

A DataSource is a factory for Connection objects.

EmbeddedDataSource40.javaClass EmbeddedDataSource40 is Derby's DataSource implementation for JDBC4.0.

A DataSource is a factory for Connection objects.

EmbeddedDriver.javaClass The embedded JDBC driver (Type 4) for Derby.

The driver automatically supports the correct JDBC specification version for the Java Virtual Machine's environment.

  • JDBC 4.0 - Java SE 6
  • JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0
  • JDBC 2.0 - Java 2 - JDK 1.2,1.3

Loading this JDBC driver boots the database engine within the same Java virtual machine.

The correct code to load the Derby engine using this driver is (with approriate try/catch blocks):

 Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();
 // or
 new org.apache.derby.jdbc.EmbeddedDriver();
 
When loaded in this way, the class boots the actual JDBC driver indirectly. The JDBC specification recommends the Class.ForName method without the .newInstance() method call, but adding the newInstance() guarantees that Derby will be booted on any Java Virtual Machine.

Note that you do not need to manually load the driver this way if you are running on Jave SE 6 or later.

EmbeddedSimpleDataSource.javaClass EmbeddedSimpleDataSource is Derby's DataSource implementation for J2ME/CDC/Foundation.
EmbeddedXADataSource.javaClass EmbeddedXADataSource is Derby's XADataSource implementation for JDBC3.0 and JDBC2.0.

An XADataSource is a factory for XAConnection objects.

EmbeddedXADataSource40.javaClass EmbeddedXADataSource40 is Derby's XADataSource implementation for JDBC4.0.

An XADataSource is a factory for XAConnection objects.

EmbedPooledConnection.javaClass A PooledConnection object is a connection object that provides hooks for connection pool management.
EmbedPooledConnection40.javaClass A PooledConnection object is a connection object that provides hooks for connection pool management.
EmbedXAConnection.javaClass
EmbedXAConnection40.javaClass
EmbedXAResource.javaClass
InternalDriver.javaClass Abstract factory class and api for JDBC objects.
ReferenceableDataSource.javaClass Cloudscape DataSource implementation base class.
ResourceAdapterImpl.javaClass
XAStatementControl.javaClass The Statement returned by an Connection returned by a XAConnection needs to float across the underlying real connections.
XATransactionState.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.