Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8173399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:08:26+00:00 2026-06-06T22:08:26+00:00

I have configured the maven-sql plugin to execute the insert and delete scripts for

  • 0

I have configured the maven-sql plugin to execute the insert and delete scripts for the integration testing.

The delete script is running for longer time from sql plugin. I ran the same script from the OracleSQLDeveloper and it took few seconds to execute. I want to know which sql query is running out of resources.

<!-- Maven SQL plugin to insert test data to DB. -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>sql-maven-plugin</artifactId>
                <version>1.3</version>

                <configuration>
                    // DB CONFIGS
                </configuration>
                <executions>
                    <execution>
                        <id>create-database-tables</id>
                        <phase>process-test-resources</phase>
                        <goals>
                            <goal>execute</goal>
                        </goals>
                        <configuration>
                            <autocommit>false</autocommit>
                            <onError>continue</onError>
                            <srcFiles>
                                <srcFile>sql/delete_data.sql</srcFile>
                                <srcFile>sql/load_data.sql</srcFile>
                            </srcFiles>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

Is there a configuration to display the running query in the console.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:08:28+00:00Added an answer on June 6, 2026 at 10:08 pm

    I tried many ways but no use. The only way is to run the build in debug mode As per .

    Thanks @Andyb

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have successfully installed & configured the M2E Maven plugin for Eclipse, along with
I have configured my pom file to use maven-embedded-glassfish-plugin. In fact this is the
I have configured my POM to include the Maven-Surefire plugin, as well as a
I have some Maven plugins configured in my pom.xml. I only want to execute
I have maven configured to run gunit (an ANTLR grammar unit testing tool) through
I have configured the maven pluggin for liquibase as specified in maven configuration .
I have configured Service Broker communication between two SQL Server 2008 instances using Windows
I have flex application consisting of several modules which is configured using maven. I'm
I've got a following problem: I have configured a ant plugin within my pom.xml
I am building my project with Apache Maven and have a custom repository configured

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.