example.cmp.transaction
Interface StudentHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface StudentHome
extends javax.ejb.EJBLocalHome

Home interface for the Student bean.


Method Summary
 Student findByName(java.lang.String name)
          Returns the Student with the given name.
 Student findByPrimaryKey(int id)
          Returns the Student entity that has name as its primary key.
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

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.