Package sn.unitech.stock.dao

Source Code of sn.unitech.stock.dao.SysPieceDao

package sn.unitech.stock.dao;

import javax.persistence.EntityManager;

import sn.unitech.stock.dao.iface.ISysPieceDao;
import sn.unitech.stock.entity.SysPiece;

public class SysPieceDao extends DataAccess<SysPiece> implements ISysPieceDao<SysPiece> {

  public SysPieceDao() {
    // TODO Auto-generated constructor stub
  }



  public static void main(String[] args) {
    // TODO Auto-generated method stub
    SysPiece piece=new SysPiece();
    piece.setLibelle("fffk");
    System.out.println(new SysPieceDao().persist(piece,null));
  }



  @Override
  public int count(String jpql, EntityManager em) {
    // TODO Auto-generated method stub
    return 0;
  }
}
TOP

Related Classes of sn.unitech.stock.dao.SysPieceDao

TOP
Copyright © 2018 www.massapi.com. 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.