All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mosip.pmp.regdevice.repository.RegSecureBiometricInterfaceRepository Maven / Gradle / Ivy

package io.mosip.pmp.regdevice.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import io.mosip.pmp.regdevice.entity.RegSecureBiometricInterface;

@Repository
public interface RegSecureBiometricInterfaceRepository extends JpaRepository{
	
	@Query(value="select * from secure_biometric_interface d where d.id = ?1 AND (d.is_deleted is null or d.is_deleted = false)",nativeQuery = true)
	RegSecureBiometricInterface findByIdAndIsDeletedFalseOrIsDeletedIsNull(String id);
	
	/**
	 * Find by id and is active is true.
	 *
	 * @param id the id
	 * @return the device service
	 */
	List findBySwVersionAndIsActiveIsTrue(String id);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy