152,630 questions
0
votes
1
answer
38
views
Oracle UCP stale connections cleanup / maxConnectionReuseTime
Environment
Oracle server v19c
Using jdbc driver and ucp from com.oracle.database.jdbc:ojdbc10-production:19.29.0.0
Tomcat10/Java17/SpringBoot3.5 application
UCP logging enabled with oracle.ucp.level ...
-4
votes
1
answer
83
views
Aggregate rows from another table to the select of one table [closed]
Let's say I have a table named People with a column PeopleID. I have another table Payment. Each row in this table has 3 columns:
PeopleId, Amount, Date
The date is always the fist day of the month. ...
2
votes
2
answers
97
views
MongoDB to Oracle insert runs in reverse date order
I have Python code in which I am reading data from MongoDB and insert it into a table in Oracle database. I have removed some parts of the code (importing libraries, connecting to MongoDB and Oracle, ...
1
vote
2
answers
101
views
Convert the string date type into date type while creating a table
I am trying to convert the string date type that retrieved from a column.
Below is the scenario
#input
date_str
02/08/24
21/09/2023
25.02.16
null
null
I need to convert above column into a new ...
0
votes
0
answers
56
views
"DefaultJpaDialect does not support custom isolation levels" when upgrading to spring batch 5
I am upgrading an app to newest Spring Boot 3, and because of that Spring Batch is upgraded to 5.2.3 (from 4.3.10).
The application did not persist batch states previously, it was using the "map ...
Advice
1
vote
4
replies
66
views
Check valid identifier name in Oracle
The database tool in IntelliJ can detect if an identifier needs to be quoted to make a statement work.
If I use a valid table name, the quotes are removed.
How can I do the same?
The best would be a ...
-2
votes
2
answers
90
views
Oracle SQL Test to identify missing rows for unique identifier
I am trying to find an Oracle SQL to test whether a table (CONTACTS) contains two rows of data for each primary key (PK) called REF_NO.
The table has a PK called REF_NO and a second PK called CONT_IND....
Advice
0
votes
3
replies
43
views
Permission to view the body of a procedure/view/function from a read-only user on Oracle Database
I was wondering if there is any privilege or work around that allows a read-only user I created on Oracle to see the DDL of procedure/view/function from third party apps like SQL Developer.
Currently ...
0
votes
1
answer
84
views
Error when calling dbms_cloud.export_data
I'm trying to do my first CSV export into an existing AWS S3 bucket. Calling with type CSV:
call dbms_cloud.export_data(credential_name => 'cred', file_uri_list => 'https://s3.us-east-2....
Advice
0
votes
0
replies
53
views
How data length is calculated for a column with ref data type to a table object?
Refer to following example, my question is how data length is calculated for ITEM100_ ?
create or replace type object_test_0 as object
(item1_ varchar2(100),
item2_ varchar2(10),
item3_ varchar2(10))...
Advice
0
votes
0
replies
34
views
Data Pipeline for Bringing Data from Oracle Fusion to Azure Databricks
I am trying to bring Oracle Fusion (SCM, HCM, Finance) Data and push to ADLS Gen2. Databricks used for Data Transformation and Powerbi used for Reports Visualization.
I have 3 Option.
Option 1 :
...
3
votes
1
answer
91
views
+100
Testcontainers Oracle XE works locally but fails with ORA-12514 on GitLab CI using Podman service
I'm running integration tests using Testcontainers with Oracle XE.
Locally, everything works fine.
On GitLab CI, using a Kubernetes executor with Podman as a Docker service, the tests fail with:
java....
0
votes
1
answer
110
views
Connecting to Oracle database is fast with C# ADO.NET, but slow with Java JDBC
Here is the Java test code I wrote. It takes about 40 seconds to connect to the Oracle database using JDBC, but similar code in C# using the OracleConnection.Open method completes in less than 1 ...
1
vote
2
answers
64
views
XML in Oracle PL/SQL - How to read a big hexBinary node?
I have an XML file with a node containing a file that has been converted into hexbinary.
The ultimate goal is to read that node, convert it back to an actual file and store the path of that file in a ...
Best practices
0
votes
7
replies
161
views
Oracle - how to extract the date from string?
I am trying to find the right pattern which can extract the date from any string
"""
28/11/22 11-23333 to 28/11/22
11-23333 28/11/22 to 28/11/22
something 20.02.2022 end to 20....