...
commit( ) and rollback( ) implementations.
JDBC and Java 2
nd
edition
p
age 133
import java. rmi.NotBoundException;
import java. rmi.RemoteException;
import java. util.ArrayList;
import java. util.HashMap; ... criteria:
JDBC and Java 2
nd
edition
p
age 140
A few key behaviors define bank accounts, customers, and any other kind of object as persistent.
Sp...
... the current row from this result set and from the database.
findColumn( )
public int findColumn(String cname) throws SQLException
JDBC and Java 2
nd
edition
p
age 20
7
Description
This ... prefetch each time it
grabs data from the database. The direction is a hint to the driver about the direction in
which you intend to work.
JDBC and Java 2
nd
edition
p
age 2...
... Listeners 166
Worker Threads 167
Part III: Reference 169
Chapter 11. JDBC Reference 169
Reference 170
Chapter 12. The JDBC Optional Package Reference 227
Reference 228
JDBC and Java 2
nd
edition ... title
FROM albums,
WHERE band_id IN
(SELECT bands.band_id
FROM bands, band_musician
WHERE band_musician.musician_id = 2
AND bands.band_id = band_musician.band_id)
2...
... INSERT and thus may or may not be visible.
JDBC and Java 2
nd
edition
p
age 61
}
}
}
}
4.4.2 Arrays
SQL arrays are much simpler and much less frequently used than blobs and clobs. JDBC ... executeStatement() method.
quit
Closes any database resources and exits the application.
reset
Clears the buffer without sending it to the database.
JDBC and Jav...
... real-world database programming. Database programming in Java, however, is
vastly different from the kind of database programming required in the more common, non-OO
environments. Java is an ... Ball extends javax.ejb.EJBObject {
void hit( ) throws java. rmi.RemoteException;
JDBC and Java 2
nd
edition
p
age 7
6
the data store. You do not normally write code to...
... objects in Chapter 8.
JDBC and Java 2
nd
edition
p
age 121
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource; ... listener pattern
JDBC and Java 2
nd
edition
p
age 113
transactions such as deposits, withdrawals, account creation, etc. On the other hand, I have used it
in terms of dat...
... been retrieved.
JDBC and Java 2
nd
edition
p
age 18
6
throws SQLException;
boolean supportsAlterTableWithAddColumn( )
throws SQLException;
boolean supportsAlterTableWithDropColumn( ... structured type in the database. You can dereference a Ref
by passing it as a parameter to a SQL statement and executing the statement.
JDBC and Java 2
nd
edition
p
age 17
6...
... of
Database Programming with JDBC and Java, Second Edition is from the CMCD PhotoCD
Collection. The cover image was manipulated by Edie Freedman using Adobe Photoshop 3.0 and
JDBC and Java ... subjects.
Ann Schirmer was the copyeditor and interior compositor for Database Programming with JDBC
and Java, Second Edition. Catherine Morris, Claire Cloutier, an...