Interface MobileOperationSystemRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<MobileOperationSystem,,Integer> org.springframework.data.repository.Repository<MobileOperationSystem,Integer>
@Repository
public interface MobileOperationSystemRepository
extends org.springframework.data.repository.CrudRepository<MobileOperationSystem,Integer>
Spring Data repository used to access the Mobile Operation System in BBDD. See
MobileOperationSystem.-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
findByName
@Query(nativeQuery=true, value="SELECT mos.* FROM mobile_operation_system mos WHERE mos.name = :name") MobileOperationSystem findByName(@Param("name") String name) Find MobileOperationSystem by OS name.- Parameters:
name- device operation system- Returns:
- The MobileOperationSystem
-