com.bankframe.jca.samplefileadapter
Class SampleConnection
java.lang.Object
com.bankframe.jca.samplefileadapter.SampleConnection
- All Implemented Interfaces:
- Connection
public class SampleConnection
- extends Object
- implements Connection
SampleConnection
public SampleConnection()
findAll
public Vector findAll()
- See Also:
TestCustomerDataConnection.findAll()
findByLastName
public Vector findByLastName(String lastName)
- See Also:
TestCustomerDataConnection.findByLastName(java.lang.String)
findByCustomerID
public Vector findByCustomerID(String id)
- See Also:
TestCustomerDataConnection.findByCustomerID(java.lang.String)
ammendCustomer
public void ammendCustomer(String Id)
- See Also:
TestCustomerDataConnection.ammendCustomer(java.lang.String)
match
public Vector match(String key,
String value)
createInteraction
public Interaction createInteraction()
throws ResourceException
- Specified by:
createInteraction
in interface Connection
- Throws:
ResourceException
- See Also:
Connection.createInteraction()
getLocalTransaction
public LocalTransaction getLocalTransaction()
throws ResourceException
- Specified by:
getLocalTransaction
in interface Connection
- Throws:
ResourceException
- See Also:
Connection.getLocalTransaction()
getMetaData
public ConnectionMetaData getMetaData()
throws ResourceException
- Specified by:
getMetaData
in interface Connection
- Throws:
ResourceException
- See Also:
Connection.getMetaData()
getResultSetInfo
public ResultSetInfo getResultSetInfo()
throws ResourceException
- Specified by:
getResultSetInfo
in interface Connection
- Throws:
ResourceException
- See Also:
Connection.getResultSetInfo()
close
public void close()
throws ResourceException
- Specified by:
close
in interface Connection
- Throws:
ResourceException
getAutoCommit
public boolean getAutoCommit()
setAutoCommit
public void setAutoCommit(boolean arg0)
throws ResourceException
- Throws:
ResourceException
Copyright © 2005, 2007, Oracle. All rights reserved.