(get-childitem -recurse -include *.java | select-string -pattern PrepareStatement | foreach {$_.line}).Count
I developed this fairly quickly to count the occurrences of "PrepareStatement" in *.java in all sub-directories. Worked like a charm. Just in case it does you any good :-)
Subscribe to:
Posts (Atom)
DBT-50000 when using DBCA.bat on Windows (Oracle 19.11)
I’ve been having some trouble getting DBCA to run in order to create databases. Thought I’d share it with you, and thus document it for la...
-
Most of what we're going to want to look at when you're having production issues are available through DMV's. If granti...
-
I’ve been having some trouble getting DBCA to run in order to create databases. Thought I’d share it with you, and thus document it for la...
-
On one of our internal WebSphere application server network deployment v7 environments, I hit the following error. The error was: com.ibm....