Package com.cin.entity

Examples of com.cin.entity.Education


      update(ejb);
    }
   
  }
  public void updateUserEducation(UserDTO user){
    Education ejb = manager.find(Education.class, user.getSsn());
    if( ejb == null ){
      ejb = user.getEducation().toEJB(user.getSsn());
      persist(ejb);
    } else {
      ejb.setEducation(user.getEducation().getEducation());
      ejb.setEduenroll(user.getEducation().getEduenroll());
      update(ejb);
    }
  }
View Full Code Here


    }
    return true;
  }
 
  public Education toEJB(int ssn){
    Education ejb = new Education();
    ejb.setSsn(ssn);
    ejb.setEducation(education);
    ejb.setEduenroll(eduenroll);
    return ejb;
  }
View Full Code Here

TOP

Related Classes of com.cin.entity.Education

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.