diff --git a/product/roundhouse.databases.oracle/OracleDatabase.cs b/product/roundhouse.databases.oracle/OracleDatabase.cs index cfb25c1b..67962fa2 100644 --- a/product/roundhouse.databases.oracle/OracleDatabase.cs +++ b/product/roundhouse.databases.oracle/OracleDatabase.cs @@ -132,7 +132,7 @@ public override long insert_version_and_get_version_id(string repository_path, s run_sql(insert_version_script(), ConnectionType.Default, insert_parameters); var select_parameters = new List> { create_parameter("repository_path", DbType.AnsiString, repository_path, 255) }; - return Convert.ToInt64((decimal)run_sql_scalar(get_version_id_script(), ConnectionType.Default, select_parameters)); + return Convert.ToInt64(run_sql_scalar(get_version_id_script(), ConnectionType.Default, select_parameters)); } public override void run_sql(string sql_to_run, ConnectionType connection_type)