Closed cdelaet closed 1 year ago
In addition, but unrelated to this issue I think, it's strange that schemacrawler lists all Stored Procedures as "function" (see output in How to Reproduce above).
@cdelaet Would you be able to give me "testinfordat.ser", or scripts to create the database? If you are not comfortable posting here, email them to sualeh@hotmail.com.
In addition, but unrelated to this issue I think, it's strange that schemacrawler lists all Stored Procedures as "function" (see output in How to Reproduce above).
Let me take a look at that. It may be how the driver is reporting something. Please file another bug for that, to keep the issues separate. Thanks.
I did as you requested, Sualeh. Thank you for looking into this.
Let me know if there is anything else I can do to help with this issue. I would like to use Schemacrawler to help document our (huge) database, but this limits the usability for me.
@cdelaet My laptop is down. 😢 Waiting for it to get repaired. Please could you resend the .ser file - the link expired. Thanks.
@cdelaet Please try SchemaCrawler v16.20.5, and let me know if it works for you. Thanks.
regex searches in Stored Procedures work perfectly now. Thank you, Sualeh!
Description
This line in schemacrawler.config.properties:
schemacrawler.grep.definition.pattern.include=.*
should match all routine definitions (I thought), however it matches nothing. If I put the line in # comments, it matches everything.If I add a pattern which should match (part of a Stored Procedure definition), it also doesn't match while it should match:
schemacrawler.grep.definition.pattern.include=.*Versie.*
What am I doing wrong?
How to Reproduce
Using SQL Server (or an offline copy), running this command, produces the correct output:
schemacrawler.sh --server=offline --database=testinfordat.ser --info-level=maximum --command=list --schemas=TESTINFORDAT.dbo --routines=".*\"SA_NewStudent\;?[0-9]?\"" --tables=
However, if I use the same command and I uncomment the line
schemacrawler.grep.definition.pattern.include=.*
in the configuration file, I get this output:Relevant log output
SchemaCrawler Version
16.20.4
Java Version
Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 19.0.2+7-44
Operating System and Version
Mac OS X 14.0
Relational Database System and Version
SQL Server 2019
JDBC Driver and Version
com.microsoft.sqlserver.jdbc.SQLServerDriver 12.2