How to replace table name with parameter value while using Spring Data JPA nativeQuery

This is not possible. Parameters are only allowed in the where clause.

Leave a Comment