mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 13:46:02 +03:00
[GH-ISSUE #1432] Oracle DB procedural language block #318
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#318
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DanHartman on GitHub (Jan 25, 2023).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/1432
Describe the bug
PL/SQL blocks are receiving an error.
To Reproduce
Steps to reproduce the behavior:
SQLbutton in the top bannerselect connectiondrop down to use a previously defined connection to an oracle databaseScreenshots

Desktop (please complete the following information):
dbeaver/cloudbeaver:22.3.0Expected result
Issuing this function via Oracle's
sqlplustool returns the followingThere was no output because the
SET SERVEROUTPUT ON;statement had not been issued. But the block was compiled, which is the primary objective. I find it interesting that the error message saysThe symbol ";" was substituted for "end-of-file" to continueand then it appears that the absence of that semi-colon is then producing errorPLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:If you remove that final semi-colon and execute it again via
sqlplusit returns the same error@DanHartman commented on GitHub (Jan 25, 2023):
It looks like this removing the semi-colon: https://github.com/dbeaver/cloudbeaver/blob/devel/webapp/packages/plugin-sql-editor/src/SQLParser.ts#L259-L264
@MarinaVorobeva21 commented on GitHub (Jan 26, 2023):
Thank you for the issue. It reproduces in our environments and will be fixed in future releases.
@dariamarutkina commented on GitHub (Mar 6, 2023):
Fixed in milestone 23.0.0