Release Notes - 2.1

2.1.0-funcrel

Note

The Spring Data framework tries to resolve names of NamedQueries and NamedStoredProcedureQuery using the following pattern "EntityClassName.RepositoryMethodName". The springdata extension follows this convention to link repository method to the Queries Objects.

New Support

Summary Details
Support annotation @org.springframework.data.jpa.repository.query.Procedure Creation of new objects "Spring Data Query" or "JPA SQL Query" for repository methods with the @Procedure annotation. A "callLink" is made from the repository method and the new Query objects.
Support for "named-native-query" tag in xml Creation of new object "Spring Data Query" and link to the Repository method for named query declared in xml. For the object to be created, the Repository method inheriting the proper Entity must be declared.

2.1.0-beta1

Note

This version is shipped with version 1.2.25 of string evaluation.

Other Updates

Details
Fixes a traceback error visible in the analysis log "TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'".
Fixes a bug that was logging the full stack of a failed evaluation from string evaluation.
Fixes a traceback error visible in the analysis log "AttributeError: 'NoneType' object has no attribute 'get_parameters'".

New Support

Summary Details
Support missing CRUD methods Support missing methods of "org.springframework.jdbc.core.simple.SimpleJdbcCall" and "org.springframework.jdbc.core.simple.SimpleJdbcCallOperations"
Support new CRUD APIs for QueryDsl Support "execute" methods of classes JPADeleteClause, JPAInsertClause and JPAUpdateClause of the packages "com.querydsl.jpa.impl" and "com.mysema.query.impl".
Support for org.springframework.jdbc.core.simple.SimpleJdbcInsert withTableName and withProcedureName Support has been added in official documentation (https://doc.castsoftware.com/technologies/jee/extensions/com.castsoftware.springdata/2.1/#simplejdbcinsert-andsimplejdbcinsertoperations-support )
Support new CRUD APIs Support added for CRUD methods of Classes named "ListQuerydslPredicateExecutor" and "ReactiveQuerydslPredicateExecutor".
Support new CRUD APIs Support new CRUD APIs for the package "org.springframework.data.repository.reactive".

2.1.0-alpha4

Other Updates

Details
Fixes an issue that caused: "AttributeError: 'NoneType' object has no attribute 'iter'" during the analysis.
Fixes an issue that caused: "RuntimeError: maximum recursion depth exceeded while getting the str of an object" during the analysis.

New Support

Summary Details
SPRINGDATA-152 Added Support for QueryDSL JPA for older release v3.7.x.

Performance Improvements

Summary
Performance and stability of the extension have been improved.

2.1.0-alpha3

Other Updates

Details
Add vendor property for Spring Data Query and Spring JDBC Query objects
Add links between methods and entity operations

2.1.0-alpha2

Resolved Issues

Customer Ticket Id Details
44161 Fixes missing JDBC query text after string evaluation fix.

New Support

Summary Details
Support jakarta package Support has been added for "jakarta.persistence" queries. See the documentation.
Support missing CRUD methods Support missing CRUD methods of "org.springframework.jdbc.core.simple.SimpleJdbcInsert".
Support new CRUD APIs Support ReactiveQueryByExampleExecutor and QueryByExampleExecutor CRUD APIs
Support missing CRUD methods Support missing CRUD methods of "org.springframework.data.jpa.repository.JpaSpecificationExecutor".

2.1.0-alpha1

Resolved Issues

Customer Ticket Id Details
43318 Fix missing links from Java method objects to table objects for CRUD calls.
43568 Fix missing links from Java method objects to table objects for JpaRepository calls.

Other Updates

Details
Remove duplicate support for "javax.persistence.EntityManager.createNamedQuery" which is now supported by the com.castsoftware.java.hibernate extension.
Add missing APIs for "org.springframework.jdbc.core.JdbcTemplate".
Create JPQL Queries for @Query annotated methods. For SQL queries, create Spring JDBC Query objects for spring JDBC and Spring Data Query objects for spring data.
Fixes a traceback warning in the analysis log ref. string evaluation.

New Support

Summary Details
Support for org.springframework.jdbc.core.JdbcOperations Support has been added for org.springframework.jdbc.core.JdbcOperations. See https://doc.castsoftware.com/display/TECHNOS/Spring+Data+-+2.1#SpringData2.1-SupportforSpringJDBC.