Class Main


  • public class Main
    extends Object
    Demonstrates the use of Hibernate Reactive with the CompletionStage-based API. Here we use stateless sessions and handwritten SQL.
    • Constructor Detail

      • Main

        public Main()
    • Method Detail

      • main

        public static void main​(String[] args)
      • persistenceUnitName

        public static String persistenceUnitName​(String[] args)
        Return the persistence unit name to use in the example.
        Parameters:
        args - the first element is the persistence unit name if present
        Returns:
        the selected persistence unit name or the default one