'How to Get spid using flyway tool?

I am using a flyway tool to run SQL script. I have requirements where I need to return the SPID during the run time in the flyway. Are there any config parameters or variables which can return SPID?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source