Hi
 
Has anyOne customized the Create method in PowerTier as
described below ?
 
We are getting this requirementas follows...
 
We need to Customize the create( )  method of an Entity Bean.
As per your help documents , it takes all the parameters that are
needed to create the entity bean and then it overrides the
ejbCreate() method as follows....


public VEidRecKey ejbCreate(int m_id, int  m_prsp_no, String m_fullname, String m_name_sndx, String m_addr_line1,String   )  throws RemoteException, CreateException
  {
        // delegate to container-managed create
        EJBObject obj = ((VEidRecHome)m_context.getEJBHome()).create( m_id, m_prsp_no,m_fullname,m_name_sndx,m_addr_line1 );
 
        // return primary key
        return (VEidRecKey) obj.getPrimaryKey();
    }


But as per our requirements we need to customize the create method and make it take the vector as its
argument and we will be assigning all our variables of Entity Bean  from vector

Create( Vector vec)
 
ejbCreate(Vector vec)
 
{
    m_id = vec.element(1)
   m_name = vec.element(2)
 
}
 

Is it possible ?
 
 
Thanks and regards
 
Prashant

Reply via email to