Skip to main content

Blog Archive for lancea during February 2006

The Wrapper interface provides a mechanism for JDBC users to be able to access an instance of a resource which has been wrapped for architectural reasons. This mechanism helps to eliminate the need to use non-standard means to access vendor specific resources. The following JDBC interfaces are subinterfaces of the Wrapper interface: java.sql.Connection java.sql.DatabaseMetaData java.sql....
The following enhancements were made in JDBC 4.0 in order to provide a better developer's experience when dealing with SQLExceptions: Support for causal relationships For-each loop support New SQLException sub-classes Causal Relationship Support We have added support for the Java SE chained exception mechanism by adding additional constructors allowing for the cause to be specified. The...
JDBC 4.0 has just completed public draft review and the EG is working on closing the last few issues. One of the interfaces that I expect to change signficantly is the SQLXML interface. Here is a list of the major features being added to JDBC 4: ROWID Support National Character Set Support Additional SQLException sub classes Improved Blob/Clob support SQL XML support Ease of Development...
Glassfish and SJSAS 8.2 introduce two new asadmin commands for starting and stopping the Derby Network Server. The start-database command may be used to start an instance of the Derby network server: start-database [––dbhost 0.0.0.0] [––dbport 1527] [––dbhome install_dir/derby] The default value for the host is 0.0.0.0, which allows for Derby to listen on localhost as well as the ip/...
Brian Leonard has a nice article which shows you how to capture the ddl for a table in pointbase and create the same table in Derby using Netbeans 5.0. Another option for doing this is by using the commander tool and the 'unload database' command: ./startcommander.shDo you wish to create a new Database. (Yes (Y) or No (N))? [default: N]: Enter product to connect with: (Embedded (E) or Server (S...