shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/ProxySQLExecutor.java
/**
     * Check execute prerequisites.
     *
     * @param executionContext execution context
     */
Check execute prerequisites.
@param executionContext execution context
Check execute prerequisites . @param executionContext execution context
public void checkExecutePrerequisites(final ExecutionContext executionContext) {
        if (isExecuteDDLInXATransaction(executionContext.getSqlStatementContext().getSqlStatement()) 
                || isExecuteDDLInPostgreSQLTransaction(executionContext.getSqlStatementContext().getSqlStatement())) {
            throw new TableModifyInTransactionException(executionContext.getSqlStatementContext());
        }
    }
public void checkExecutePrerequisites ( final ExecutionContext executionContext ) { if ( isExecuteDDLInXATransaction ( executionContext . getSqlStatementContext ( ) . getSqlStatement ( ) ) || isExecuteDDLInPostgreSQLTransaction ( executionContext . getSqlStatementContext ( ) . getSqlStatement ( ) ) ) { throw new TableModifyInTransactionException ( executionContext . getSqlStatementContext ( ) ) ; } }
Check execute prerequisites.
Check execute prerequisites .