I have a small spring boot project,, which works fine . But, I tried to add some kind of validation.. I worked on one html page but failed on the other with no
I'm sending a very simple query to the database, but I'm getting an error. It feels like I'm missing something very simple. I guess it wouldn't allow me to crea
I have to query on timestamp field for current date and get only 1 record. I can write the query like: @Query("Select i From Log i Where i.createdBy = :userId
I want to generate unique keys at run time across regions and the key generation will be owned by master region. I will have one table with one column(key) with
I have a Maven project set up that has a parent and two child modules: parent business support All of my JPA entities are in the support module. I've
When certain non key fields of a entity are generated in the database (for instance, by triggers) a call to persist will not bring back values that the database
I am trying to learn spring data JPA by testing some CRUD operation via JpaRepository. I came across two methods save and saveAndFlush. I don't get the differe
There is the Customer entity which has a one to many relationship to entity Address,so there is a List<Address> getAddress in Customer.Entity Address has
I'm getting extremely strange behavior out of JPA 2.0 I'm trying to build a query that looks likes, where employeId and empDepartment are long values passing
enter image description here I am trying to map some entities to tables in MySQL database using Spring Boot JPA. I have a problem with one of the tables because
I am using new version of Spring boot - 1.5.7. But , when I create new spring starter project with jpa dependency, I got strange error: Caused by: org.spr
I can't figure out what I'm doing wrong. I'm learning JPA mapping to a relational DB, by following some tutorials on the web, but can't find one that is straigh
With JPA annoations, I want to reuse same embedded object like this : @Entity public class User { @Embedded public Address homeAddress; @Embedded
IntelliJ IDEA highlights persistent @Entity class names with "Cannot resolve symbol" in red in JPQL which is distracting and buries real issues. So, for examp
Well the question pretty much says everything. Using JPARepository how do I update an entity? JPARepository has only a save method, which does not tell me if i
I'm working on a Spring JPA Application, using MySQL as database. I ensured that all spring-jpa libraries, hibernate and mysql-connector-java is loaded. I'm ru
I've got a paginated detached criteria execution which return rows of an entity. The entity class is as following. @Entity @Table(name="POS_T_HTL_ITEM_GROUP")
I've got a paginated detached criteria execution which return rows of an entity. The entity class is as following. @Entity @Table(name="POS_T_HTL_ITEM_GROUP")
I am trying to call an oracle stored procedure that returns an output cursor usign JPA as follows create or replace PROCEDURE stored_proc(ret_cursor OUT sys_
After starting my SpringBoot application, getting an exception on few minutes of the server startup. Did not use any HikariPool Configuration externally, Spring