Class JPADatasourceEntityScanner
java.lang.Object
org.exoplatform.commons.persistence.impl.JPADatasourceEntityScanner
- All Implemented Interfaces:
org.hibernate.boot.archive.scan.spi.Scanner
public class JPADatasourceEntityScanner
extends Object
implements org.hibernate.boot.archive.scan.spi.Scanner
Hibernate 7 scanner for Meeds JPA entities. This scanner does not delegate to
Hibernate's old default scanner. It returns Hibernate ScanResult descriptors
directly from Meeds entity indexes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.boot.archive.scan.spi.ScanResultscan(org.hibernate.boot.archive.scan.spi.ScanEnvironment environment, org.hibernate.boot.archive.scan.spi.ScanOptions options, org.hibernate.boot.archive.scan.spi.ScanParameters params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.archive.scan.spi.Scanner
setArchiveDescriptorFactory
-
Field Details
-
ENTITIES_IDX_PATH
Path to the generated entities.idx file- See Also:
-
-
Constructor Details
-
JPADatasourceEntityScanner
public JPADatasourceEntityScanner()
-
-
Method Details
-
scan
public org.hibernate.boot.archive.scan.spi.ScanResult scan(org.hibernate.boot.archive.scan.spi.ScanEnvironment environment, org.hibernate.boot.archive.scan.spi.ScanOptions options, org.hibernate.boot.archive.scan.spi.ScanParameters params) - Specified by:
scanin interfaceorg.hibernate.boot.archive.scan.spi.Scanner
-