Class DerbyDao
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.jdbc.core.support.JdbcDaoSupport
-
- org.codehaus.cargo.sample.testdata.jdbc.DerbyDao
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class DerbyDao extends org.springframework.jdbc.core.support.JdbcDaoSupport
Class used to interact with the Apache Derby DAO. We use this in our test Servlet used to verify that jdbc connectors are working.- See Also:
TestServlet
-
-
Constructor Summary
Constructors Constructor Description DerbyDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(String firstName, String lastName)
Creates a person.void
createTable()
Creates thePerson
table.void
dropTable()
Drops thePerson
table.List
selectAll()
-