spring-data-jpa
spring-data-jpa copied to clipboard
Simplifies the development of creating a JPA-based data access layer.
``` @Entity public class Role{ @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; ... @Fetch(FetchMode.JOIN) @ManyToMany(cascade = CascadeType.PERSIST) @JoinTable( name = "t_role_authority", joinColumns = @JoinColumn(name = "role_id", referencedColumnName = "id"), inverseJoinColumns...
Methods like findByNameIgnoringCase is adding UPPER irrespective of db level configurations and not hitting the indexes. In the scenario, we are supporting mssql and postgres, where postgres needs UPPER in...
**[Stevo Slavić](https://jira.spring.io/secure/ViewProfile.jspa?name=sslavic)** opened **[DATAJPA-51](https://jira.spring.io/browse/DATAJPA-51?redirect=false)** and commented Currently Specification API does not support search to return anything other than instance of query root (or some collection of root) JPA entity as...
I am seeing this error from 2.5.6 version onwards. In previous versions, I am not getting this error. While initializing JPA repositories(calling getRepository() method), We are getting exception that transaction...
## Context We have some entites that used AttributeConverter to convert a numeric type to a LocalDate type like this one : ``` public class MyEntity implements Serializable { //...
Hello, given I have an audited entity which was modified on revision n. When I use the Hibernate Envers native AuditReader I get the same behavior when querying for revision...
Related to #2370. When executing query, below code is run before create query. ```java HibernateJpaParametersParameterAccessor(Parameters parameters, Object[] values, EntityManager em) { super(parameters, values); Session session = em.unwrap(Session.class); this.typeHelper = session.getSessionFactory().getTypeHelper();...
**[Stefano Bertini](https://jira.spring.io/secure/ViewProfile.jspa?name=sbertini)** opened **[DATAJPA-1357](https://jira.spring.io/browse/DATAJPA-1357?redirect=false)** and commented I have an update method in a repository and the method is annotated with `@Query`. A `SecurityEvaluationContextExtension` bean is defined in the context. I...
I have a stored procedure that has 2 arguments, one is input Array of Objects and the second is output Array of Objects. How to call this stored procedure from...
I'm trying to execute a `findAll()` paged query with a `Slice` to avoid execution of the `count` query for each page (large database): ``` public interface MyRepository extends JpaRepository, QuerydslPredicateExecutor...