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
    Modifier and Type
    Field
    Description
    static final String
    Path to the generated entities.idx file
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.boot.archive.scan.spi.Scanner

    setArchiveDescriptorFactory
  • Field Details

    • ENTITIES_IDX_PATH

      public static final String 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:
      scan in interface org.hibernate.boot.archive.scan.spi.Scanner