package com.realnet.basicp1.Repository;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import org.springframework.stereotype.Repository; 
import java.util.*;







 

import com.realnet.basicp1.Entity.T_e_s_t_w_f;

@Repository
public interface  T_e_s_t_w_fRepository  extends  JpaRepository<T_e_s_t_w_f, Integer>  { 

@Query(value = "select * from t_e_s_t_w_f where  created_by=?1", nativeQuery = true)
	List<T_e_s_t_w_f> findAll(Long creayedBy);

@Query(value = "select * from t_e_s_t_w_f where  created_by=?1", nativeQuery = true)
	Page<T_e_s_t_w_f> findAll(Pageable page, Long creayedBy);
}