Don’t know of JPA property for this either. But you could just add the Hibernate property (assuming you use Hibernate as provider) as
...
<property name="hibernate.default_schema" value="myschema"/>
...
Hibernate should pick that up
More Related Contents:
- Error creating bean with name ‘entityManagerFactory’ defined in class path resource : Invocation of init method failed
- Bypass GeneratedValue in Hibernate (merge data not in db?)
- How does the FetchMode work in Spring Data JPA
- How to fetch FetchType.LAZY associations with JPA and Hibernate in a Spring Controller
- No Dialect mapping for JDBC type: 1111
- @Transactional method called from another method doesn’t obtain a transaction
- Why does Hibernate disable INSERT batching when using an IDENTITY identifier generator
- Transaction marked as rollback only: How do I find the cause
- Spring data JPA and hibernate detached entity passed to persist on ManyToMany relationship
- Can I combine a @Query definition with a Specification in a Spring Data JPA repository method?
- How to set a default query timeout with JPA and Hibernate?
- When are connections returned to the connection pool with Spring JPA (Hibernate) Entity Manager?
- Could not commit JPA transaction: Transaction marked as rollbackOnly
- Change database schema during runtime based on logged in user
- Spring JpaRepository – Detach and Attach entity
- How to map sql native query result into DTO in spring jpa repository?
- Difference between save and saveAndFlush in Spring data jpa
- The onFlushDirty Hibernate Interceptor method is never called
- spring data jpa @query and pageable
- Hibernate, spring, JPS & isolation – custom isolation not supported
- Error creating bean with name ‘entityManagerFactory
- Spring, JPA, and Hibernate – how to increment a counter without concurrency issues
- Mapping JPA or Hibernate projection query to DTO (Data Transfer Object)
- java.lang.IllegalStateException: No transactional EntityManager available
- FetchMode join makes no difference for ManyToMany relations in spring JPA repositories
- TransactionRequiredException Executing an update/delete query
- How to find distinct rows with field in list using JPA and Spring?
- Understanding spring @Configuration class
- Create the perfect JPA entity [closed]
- DAO and Service layers (JPA/Hibernate + Spring) [duplicate]