DbUp / dbup-oracle

Oracle provider for DbUp
MIT License
2 stars 5 forks source link

TryConnect() doesnt work with Oracle #5

Open bbalon opened 9 months ago

bbalon commented 9 months ago

Using TryConnect() on Oracle database results in ORA-00923: FROM keyword not found where expected.

SELECT 1 FROM DUAL should probably be used for oracle: https://github.com/DbUp/DbUp/blob/master/src/dbup-core/Engine/Transactions/DatabaseConnectionManager.cs#L102