Presented by developerWorks, your source for great tutorials
ibm.com/developerWorks
* Generated by XDoclet Do not edit!
*/
package ejb;
/**
* Local home interface for DeptBean.
*/
public interface DeptHome
extends javax.ejb.EJBLocalHome
{
...
public ejb.Dept findByDeptName(java.lang.String name)
throws javax.ejb.FinderException;
public java.util.Collection findAll()
throws javax.ejb.FinderException;
public ejb.Dept findByPrimaryKey(java.lang.Integer pk)
throws javax.ejb.FinderException;
}
This entity bean represents a Department of Employees.
DeptBean
ejb.DeptHome
ejb.Dept
...
findByDeptName
java.lang.String
Local
SELECT OBJECT(dept) FROM Dept dept where dept.name =?1
findAll
Local
SELECT OBJECT(dept) FROM Dept dept
Enhance J2EE component reuse with XDoclets
Page 33 of 49
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved