Package | Description |
---|---|
ejava.examples.daoex.bo | |
ejava.examples.daoex.dao |
Modifier and Type | Field and Description |
---|---|
private List<Book> |
Author.books |
Modifier and Type | Method and Description |
---|---|
List<Book> |
Author.getBooks() |
Modifier and Type | Method and Description |
---|---|
void |
Author.setBooks(List<Book> books) |
Modifier and Type | Method and Description |
---|---|
Book |
JDBCBookDAOImpl.create(Book book) |
Book |
BookDAO.create(Book book)
Add the book to the database.
|
Book |
JPABookDAOImpl.create(Book book) |
Book |
JPANativeSQLBookDAO.create(Book book) |
Book |
JDBCBookDAOImpl.get(long id) |
Book |
BookDAO.get(long id)
Gets a book from the database by its ID.
|
Book |
JPABookDAOImpl.get(long id) |
Book |
JPANativeSQLBookDAO.get(long id) |
Book |
JDBCBookDAOImpl.update(Book book) |
Book |
BookDAO.update(Book book)
Updates the book in the database with the values in this object.
|
Book |
JPABookDAOImpl.update(Book book) |
Book |
JPANativeSQLBookDAO.update(Book book) |
Modifier and Type | Method and Description |
---|---|
List<Book> |
JDBCBookDAOImpl.findAll(int start,
int count) |
List<Book> |
BookDAO.findAll(int start,
int count)
Returns a collection of books, starting at the index provided and
limiting the collection to the count value.
|
List<Book> |
JPABookDAOImpl.findAll(int offset,
int limit) |
List<Book> |
JPANativeSQLBookDAO.findAll(int start,
int count) |
Modifier and Type | Method and Description |
---|---|
Book |
JDBCBookDAOImpl.create(Book book) |
Book |
BookDAO.create(Book book)
Add the book to the database.
|
Book |
JPABookDAOImpl.create(Book book) |
Book |
JPANativeSQLBookDAO.create(Book book) |
void |
JDBCBookDAOImpl.remove(Book book) |
void |
BookDAO.remove(Book book)
Removes a book from the database.
|
void |
JPABookDAOImpl.remove(Book book) |
void |
JPANativeSQLBookDAO.remove(Book book) |
Book |
JDBCBookDAOImpl.update(Book book) |
Book |
BookDAO.update(Book book)
Updates the book in the database with the values in this object.
|
Book |
JPABookDAOImpl.update(Book book) |
Book |
JPANativeSQLBookDAO.update(Book book) |
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.