skip to Main Content

Postgresql custom expression with QueryDSL

I have a trouble with writing custom boolean template for where clause using QueryDSL. Simply I need to use arraycontains function to know that table.languages contains values at array of strings from filter. Why Hibernate can't execute this? The raw…

VIEW QUESTION

Postgresql – column "name" does not exist

I am having issue with ALIAS variable "distance" in my PSQL query. (*please ignore that I am using voutecount as distance) SELECT rentalid, createdDate, votecount AS distance FROM rental WHERE longitude=? AND latitude=? HAVING distance < 25 ORDER BY distance…

VIEW QUESTION

sporing boot postgresql not creating datasource

SO i have a spring boot application, and configured postgresql, as below spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.datasource.url=jdbc:postgresql:dburl spring.datasource.username=admin spring.datasource.password=XXX But I get failure on application start up that a datasource is not created No qualifying bean of type 'javax.sql.DataSource' available I decided to…

VIEW QUESTION
Back To Top
Search