GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Check all dba_objects used in the data access layer to fix #99 · utPLSQL/utPLSQL-SQLDeveloper@f6fbba0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • sqldev/src/main/java/org/utplsql/sqldev/dal
    • UtplsqlDao.xtend
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎sqldev/src/main/java/org/utplsql/sqldev/dal/UtplsqlDao.xtend‎

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/dal/UtplsqlDao.xtend
+9-1Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,17 @@ class UtplsqlDao {
121121
if (cachedDbaViewAccessible === null) {
122122
try {
123123
val sql = '''
124-
SELECT 1
124+
SELECT 1 AS dummy
125125
FROM dba_objects
126126
WHERE 1=2
127+
UNION ALL
128+
SELECT 1
129+
FROM dba_synonyms
130+
WHERE 1=2
131+
UNION ALL
132+
SELECT 1
133+
FROM dba_dependencies
134+
WHERE 1=2
127135
'''
128136
jdbcTemplate.execute(sql)
129137
cachedDbaViewAccessible = true

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.