Class AssociateCommand<ENTITY>

java.lang.Object
org.seasar.doma.jdbc.criteria.command.AssociateCommand<ENTITY>
All Implemented Interfaces:
Command<List<ENTITY>>

public class AssociateCommand<ENTITY> extends Object implements Command<List<ENTITY>>
  • Constructor Details

  • Method Details

    • execute

      public List<ENTITY> execute()
      Description copied from interface: Command
      Executes the command and returns the result.

      This method is responsible for executing the database operation encapsulated by this command. It handles the execution of the SQL statement, processing of results, and any necessary resource management.

      Specified by:
      execute in interface Command<ENTITY>
      Returns:
      the result of executing the command, the type depends on the specific command implementation
    • getQuery

      public Query getQuery()
      Description copied from interface: Command
      Returns the query associated with this command.

      The query contains the SQL statement and parameters that will be executed by this command.

      Specified by:
      getQuery in interface Command<ENTITY>
      Returns:
      the query object that this command will execute