example.cmp.transaction
Interface StudentHome
- All Superinterfaces:
- javax.ejb.EJBLocalHome
- public interface StudentHome
- extends javax.ejb.EJBLocalHome
Home interface for the Student bean.
Methods inherited from interface javax.ejb.EJBLocalHome |
remove |
findByPrimaryKey
public Student findByPrimaryKey(int id)
throws javax.ejb.FinderException
- Returns the
Student
entity that has name
as its primary key.
- Parameters:
id
- ID of the student
to be returned.
findByName
public Student findByName(java.lang.String name)
throws javax.ejb.FinderException
- Returns the Student with the given name.
- Parameters:
name
- Name of the Student
to be returned.