⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 recordinghome.java

📁 此程序都是企业级 的数据库开发程序 全面揭示了JAVA对数据库的操作
💻 JAVA
字号:
package ejb.recording;

import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import javax.ejb.EJBHome;
import java.util.Collection;

public interface RecordingHome extends EJBHome {

  /**
   * Create a new Recording with the given data
   */
  public Recording create(Integer key, String catalogNumber, 
                          Double listPrice, String recordingArtist, 
                          String recordingTitle) throws RemoteException, 
                          CreateException;


  // Both of these find methods are implemented by the container at runtime.
  // If we used BMP we have to implement these in the bean class...

  /**
   * Find a Recording matching the target primary key
   */
  public Recording findByPrimaryKey(Integer target) 
          throws RemoteException, FinderException;

  /**
   * Find Recordings with recordingArtist field same as the artist parameter
   */
  public Collection findByArtist(String artist) throws RemoteException, 
                                                       FinderException;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -