Is it possible to use spring boot property placeholder notations in JPA entity defitinions ? For instance following is not working :
@Entity
@Table(schema=@Value("schemaname") , name="tablename")
public class InterfaceModel {
Is there a way to make this work ?
No there isn't. Check #829 in the Spring Boot issue tracker for more details.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments