Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.karki.spring.dao.impl; import com.karki.spring.dao.BatchDao; import com.karki.spring.entity.Batch; import java.sql.SQLException; import java.util.List; import org.springframework.stereotype.Repository; /** * * @author sharmila */ @Repository public class BatchDaoImpl implements BatchDao { @Override public int insert(Batch course) throws ClassNotFoundException, SQLException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public int update(Batch course) throws ClassNotFoundException, SQLException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public int delete(int id) throws ClassNotFoundException, SQLException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public List<Batch> getAll() throws ClassNotFoundException, SQLException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public Batch getById(int id) throws ClassNotFoundException, SQLException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }