Better heuristic added for query string evaluation for to improve the identification of objects (see the entry in "Other Updates" for more information).
Other Updates
Details
Better heuristic added for query string evaluation to improve the identification of objects in some edge cases, including the case of multiple Spring Data JDBC queries from the same java method. Now, each query is resolved and modelized with one Spring Data JDBC Query object per query.
2.1.2-funcrel
Other Updates
Details
Fixes a traceback error seen in the analysis log: "NameError: name 'log' is not defined".
2.1.1-funcrel
Note
This version is shipped with version 1.2.27 of string evaluation.
Resolved Issues
Customer Ticket Id
Details
40682
Fixes an issue causing the creation of incorrect links from Java methods to SQL tables.
Other Updates
Details
Corrects performance issues that were causing the creation of identical links several times during an analysis.
Add missing support of "org.springframework.data.jpa.repository.support.SimpleJpaRepository" CRUD methods.
Added support for Java Text Blocks in Annotations.
New Support
Summary
Details
Support new CRUD methods of Spring JDBC
Add CRUD methods support for BatchSqlUpdate, StoredProcedure, SqlFunction, SqlQuery, SqlUpdate
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 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