/*
 * JBoss, the OpenSource WebOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 *
 */
package org.jboss.test.jca.interfaces;

import java.rmi.RemoteException;
import javax.ejb.EJBHome;
import javax.ejb.CreateException;
import javax.ejb.DuplicateKeyException;
import javax.ejb.EJBException;
import javax.ejb.FinderException;

/**
 * @author Scott.Stark@jboss.org
 * @version $Revision: 1.1 $
 */
public interface PreparedStatementHome
   extends EJBHome
{
   public PreparedStatementRemote create (String pk, String name)
      throws CreateException, DuplicateKeyException, EJBException,
      RemoteException;

   public PreparedStatementRemote findByPrimaryKey (String pk)
      throws FinderException, EJBException, RemoteException;
   
}
