How to use for Abstract Class ?
Opened this issue · 0 comments
vedant280 commented
Suppose We have 3 classes
public abstract class Shape { {
@id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
}
public class Circle extends Shape {
private double radius;
}
public class Book {
private Shape shape;
}
How can i find Radius using Specification written for BOOK