Some of the objects from JPA Entity, which were getting created on 7.3 are not getting created in 8.x.x.
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | x<4 |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
- Run analysis of an application containing JPA Entity.
- Check in Enlighten.
The solution for this issue is to annotate all the JPA entity analysis unit in one execution unit by putting the annotation and then running the analysis.
- Find out which analysis unit has JPA entity
- Search for "javax.persistence.Entity" (this package is use for JPA entity) in the source code and see the corresponding AU which has JPA entity.
If you have 7.3.x base then you can run the below query to find out the AU which has JPA entity. For example to see the presence of JPA entity in the AU run the below query in the KB of 7.3.5 as you have JPA objects in 7.3.5.
select k.keynam, kpro.keynam from keys k join objpro op on op.idobj=k.idkey join keys kpro on kpro.idkey=op.idpro where k.objtyp=136021 order by kpro.keynam
You will get JPA objects as an output of this query and using these objects you can get the corresponding AU.
- Annotate all the JPA entity analysis unit in one execution unit by putting the annotation
- Run the analysis
Impact: The impact after applying the above WA might lead you to missing links as we are annotating the analysis units.
Ticket # 8708
The issue has been fixed in CAST 8.2.4