skip to Main Content

Mysql – Unable to join two table JPA

I have two table and I try to join use column idsubscriber but show some error. Class Subscriber: @Entity @Table(name = "subscriber") @XmlRootElement @NamedQueries({ @NamedQuery(name = "Subscriber.findAll", query = "SELECT s FROM Subscriber s") , @NamedQuery(name = "Subscriber.findById", query =…

VIEW QUESTION

PostgreSQL’s JSONB data type with Hibernate: Error creating bean with name 'entityManagerFactory' defined in class path resource-Unable to load class

Now I learn about nested jsons and geojson and how to save them in PostgreSQL as JsonB directly in database and before starting. Inspiration source: https://thorben-janssen.com/persist-postgresqls-jsonb-data-type-hibernate/ Error I get when running the app: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory'…

VIEW QUESTION

Programmatic RedissonClient in Spring boot project

I am trying to implement Hibernate second level caching in a Spring boot project using Redisson. I have followed this blog as a reference https://pavankjadda.medium.com/implement-hibernate-2nd-level-cache-with-redis-spring-boot-and-spring-data-jpa-7cdbf5632883 Also i am trying to initialize the RedissionClient programmatically and not through declaratively /through a…

VIEW QUESTION
Back To Top
Search