The Java Persistence API (JPA) is a Java specification for accessing, persisting, and managing data between Java objects/classes and a relational database.
I would like to select only specific columns (ex. SELECT a FROM b). I have a generic DAO and what …
java hibernate jpa criteria-apiI have a one-to-one relationship but hibernatetool complains when generating the schema. Here's an example that shows the problem: @Entity …
java hibernate jpaCan I setup JPA/hibernate to persist Boolean types as Y/N? In the database (the column is defined as …
java hibernate jpaIs there a way to initialize the EntityManager without a persistence unit defined? Can you give all the required properties …
jpa runtime entitymanager persistence.xmlI'm using Spring / Spring-data-JPA and find myself needing to manually force a commit in a unit test. My use case …
java spring jpa spring-data spring-transactionsHow do you define a field, eg email as having an index using JPA annotations. We need a non-unique key …
java hibernate orm jpa datanucleusI want to write a Spring Data JPA repository interface method signature that will let me find entities with a …
java spring jpa spring-data spring-data-jpa