Interface NativeSqlStrategy

    • Method Detail

      • isValid

        boolean isValid​(javax.persistence.EntityManager em)
        Is this strategy valid for the given entity manager.
        Parameters:
        em - The entity manager instance to check
        Returns:
        Whether or not this strategy is valid
      • getName

        String getName()
        The name of the strategy
        Returns:
        The name of the strategy
      • getSql

        String getSql​(Map<String,​Object> args)
        The fully formed SQL query
        Parameters:
        args - Arguments passed to the strategy that could be useful during sql generation
        Returns:
        The fully formed SQL query
      • getOrder

        default int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered