public interface OrderHistoryHomeBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
OrderHistory | create(java.lang.Long orderId, java.lang.Short orderVersion)
This method creates an instance from a key for Entity Bean: OrderHistory.
|
OrderHistory | create(java.lang.Long argOrderId, java.lang.Short argOrderVersion, java.sql.Timestamp argLastUpdate, java.lang.String argOrderXML)
This is the ejbCreate method for a CMP entity bean.
|
java.util.Enumeration | findByOrderId(java.lang.Long argOrderId)
This method gets all the versions of the order.
The SQL query used to fetch all the required rows from the ORDERHIST table is: SELECT * FROM ORDERHIST T1 WHERE (T1.ORDERS_ID = ?) * |
OrderHistory | findByPrimaryKey(OrderHistoryKey primaryKey)
This method finds an instance using a key for Entity Bean: OrderHistory.
|
static final java.lang.String COPYRIGHT
OrderHistory create(java.lang.Long orderId, java.lang.Short orderVersion) throws javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
OrderHistory findByPrimaryKey(OrderHistoryKey primaryKey) throws javax.ejb.FinderException, java.rmi.RemoteException
OrderHistory create(java.lang.Long argOrderId, java.lang.Short argOrderVersion, java.sql.Timestamp argLastUpdate, java.lang.String argOrderXML) throws javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
java.util.Enumeration findByOrderId(java.lang.Long argOrderId) throws javax.ejb.FinderException, java.rmi.RemoteException
This method gets all the versions of the order.
The SQL query used to fetch all the required rows from the ORDERHIST table is:
SELECT * FROM ORDERHIST T1 WHERE (T1.ORDERS_ID = ?) *