skip to Main Content

Postgresql – why I getting this error on write query in JPA repository in spring-boot?

package com.example.demo.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 com.example.demo.entity.WomenCareEntity; @Repository public interface WomenCareRepository extends JpaRepository<WomenCareEntity, Integer> { @Query(value="select lakh_5 from women_1A_premium where :age >=min_age and :age <=max_age and year=1",nativeQuery=true) int findPremium(int age); "message": "JDBC exception executing SQL…

VIEW QUESTION

Javascript – regular expression

regex expression which contains 9 atleast alphabets and 1 digits and the position of alphabets and digit can be anywhere. eg- rahulkumar1 rahul9kumar 1RahulKumar /[A-Za-z]{9,}[0-9]{0,1}/ I have tried using this but it does not worked out.enter image description here

VIEW QUESTION
Back To Top
Search