Questions tagged [oracle-xe]
Oracle Database Express Edition (Oracle Database XE) is an entry-level, small-footprint database, free to develop, deploy, and distribute; fast to download; and simple to administer.
395
questions
0
votes
0
answers
91
views
Could not obtain JDBC connection Oracle-xe with testcontainers - SpringBoot
I am working on integrating testconatiners with oracle-xe with spring boot application. Container is starting but not able to connect to DB
Error- Caused by: org.testcontainers.exception....
0
votes
1
answer
455
views
Running Oracle XE docker container with colima not working on Apple M2
I followed the steps in this blog post using colima, but I am still running into issues and I don't know what I'm missing.
Here is my docker-compose YAML file:
version: '3.1'
services:
oracle:
...
0
votes
0
answers
198
views
Oracle Database XE21C Error 203 1297 after moving to another machine
I'm using Oracle Database XE21C and I want to move the database to another PC as that one is going to become a server. To start/stop the database a made a bat file for each, that is starting/stopping ...
0
votes
0
answers
62
views
I can't connect my javafx project to an Oracle 11 database [duplicate]
Project tree:
ReparacionesElectronicas
controlador: Principal.java VClientesController.java
modelo: Conexion.java Reparacion.java ReparacionDao.java
recursos: Utilidades.java
-recursos.imagenes: some ...
-1
votes
1
answer
225
views
SQL Oracle 21c XE, ORA-01017 Invalid User / Password
SQL Plus command prompt
Hello everyone,
New to programming and I'm taking a PL SQL course. I am supposed to enter the commands listed above, but I can't seem to connect to the database. It says I ...
0
votes
1
answer
821
views
ORA-01017: invalid username/password error with oracle express:21.3.0-xe container
I am using MAC book with apple M1 chip, and I am using [Colima][1] to run the oracle container over M1 chip.
I have a requirement to run integration test cases over the oracle container. And I am ...
0
votes
2
answers
175
views
Connecting oracle XE db on AWS EC2 - configure TNSLIstenr for internal and external IP
I am trying to connect to an Oracle XE instance on an AWS EC2 instance. I found this answer: Connecting dto an oracle database running on ec2. The answer gave some info which I had found already , and ...
0
votes
1
answer
366
views
Why does the creation of a pluggable database in Oracle XE 21c fail with ORA-65100: "missing or invalid path prefix"?
I need to set up a new Oracle XE database after the server holding our old XE testing database suddenly died.
To do this I do have a .dmp file from when the database was functional.
The server is a ...
0
votes
1
answer
413
views
Oracle XE 21c: cannot associate tablespace with user
This is the first time that I am using Oracle.
I am using Oracle XE 21c, within a Docker container (gvenzl/oracle-xe:latest).
I create a tablespace.
I create a user, and I want to associate the ...
0
votes
1
answer
187
views
Oracle database 21c Express editon: startup ORA-01031: insufficient privileges
Oracle database 21c Express editon: startup ORA-01031: insufficient privileges
SQL*Plus: Release 21.0.0.0.0 - Production on Wed Jan 11 14:07:51 2023
Version 21.3.0.0.0
Copyright (c) 1982, 2021, ...
0
votes
1
answer
510
views
Windows 10 pro x64, Oracle database 21c express edition: How to set ORACLE_HOME correct?
I am using Windows 10 pro x64, Oracle database 21c Express edition, Oracle SQL Developer 22.2.1 . How to set ORACLE_HOME correct?
I know this my setting was wrong (because sqlplus.exe cannot run/open ...
0
votes
1
answer
824
views
Cannot install HR schema for Oracle 21c express
I watched video tutorial at https://www.youtube.com/watch?v=IalqQN09OaA . My Oracle database version
select * from v$version;
Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production
I ...
0
votes
1
answer
239
views
Connecting to XE database
I am on Oracle Developer suite 10g. I am trying to connect Oracle Reports to Oracle db XE 18c.
Here's is my tnsnames.ora files...
1- XE db
tnsnames.ora Network Configuration File: D:\app\product\18.0....
0
votes
2
answers
95
views
Reserve Number Format from Original JSON Data
I am using Oracle Apex 22.2 and Oracle Database XE 21c on CentOS7. I am traversing all the nested elements of JSON data with the procedure shown below. However when I get the value of a number, the ...
0
votes
1
answer
539
views
Oracle Apex (PL/SQL) Loop through all JSON nested elements (Objects, Arrays, Strings, Numbers)
I am using Oracle Apex 22.2 and Oracle Database XE 21c on CentOS 7. I want to be able to loop through all the nested elements in a JSON document/CLOB. I couldn't find any online functions/procedures ...
0
votes
1
answer
72
views
How To Create a PL/SQL Trigger That Detects an Inserted or Updated Row and updates a Record in a Different Table?
I am creating a book tracking database for myself that holds information about my books and allows me to keep track of who is borrowing them. I am trying to create a trigger on my Checkouts table that ...
0
votes
1
answer
190
views
Setting up a role and linking it to an user is not working as expected in SQL
I created a role R_CLIENTE:
CREATE ROLE R_CLIENTE IDENTIFIED BY RolCliente;
Then I granted some privileges on it:
GRANT SELECT ON alquiler.CLIENTE TO R_CLIENTE;
(Schema alquiler and table CLIENTE ...
2
votes
2
answers
641
views
ORA-01031: insufficient privileges even though it has been granted the rights
I have a user named BT_MASTER when connected to SYSTEM, and granted BT_MASTER the role MAIN_ADMIN_ROLE:
select * from dba_role_privs where grantee = 'BT_MASTER';
GRANTEE
GRANTED_ROLE
ADMIN_OPTION
...
0
votes
1
answer
421
views
Oracle: "no privileges" error when creating table with SEGMENT CREATION IMMEDIATE, success with DEFERRED - why?
I am recreating the schema of a database (without its data) on a local instance of Oracle 21c XE instance, using the DDL scripts exported with SQL Developer. The CREATE TABLE statements include the ...
1
vote
1
answer
192
views
Oracle XE configuring for benchmark
Have a good day.
The task is to configure Oracle XE for performance benchmark using HammerDB. Well, the HammerDB script for creating schema and driver script are both done. But trying to create schema ...
0
votes
1
answer
1k
views
what is the solution, I cant install oracle XE 21c showing this error
enter image description hereit keeps telling me to install the environment variables and I'm just getting started installing the Oracle XE 21c.oracle xe environment variables error
1
vote
0
answers
706
views
21C XE Installation does not start on Windows 10
I try to install Oracle 21C Express Edition on Windows 10 Enterprise(on virtual machine). But after setting installation directory, it does not forward more. "Next" click does not give any ...
0
votes
1
answer
5k
views
Testcontainers oracle DB
I'm trying to setup a integration test Using Testcontainers and Oracle-xe database.
I'm getting the error below:
application.properties entry:spring.datasource.driver-class-name=org.testcontainers....
0
votes
1
answer
215
views
ORA-03297: the file contains the data used outside the value requested for RESIZE
there is a problem, I have a table space, it takes 6.6 gig. But it takes 400 MB. I want to reduce it to at least 2 gigs. But I have a problem "ORA-03297: the file contains the data used outside ...
-1
votes
2
answers
1k
views
How do I install a demo schema like SCOTT / TIGER on Oracle Database 21c XE?
How can I install a demo schema like SCOTT / TIGER on Oracle Database 21c XE if there are no files in my [ORACLE_HOME]/sqlplus/demo directory?
0
votes
0
answers
247
views
Creating a non-ORACLE_MAINTAINED user in ORACLE XE 18 via JDBC
I want to create a user from JDBC (if possible) in an ORACLE Express database. That user can't have the ORACLE_MAINTAINED flag in the DBA_USERS view.
Trying CREATE USER newuser IDENTIFIED BY xxx, but ...
0
votes
0
answers
424
views
How can I add users and grant rights to database objects using code-first?
Setting up a new Oracle XE database (using Entity Framework Core dbContext.Database.EnsureCreated()), I need to create db users and grant appropriate rights to them for all objects I create (e.g. ...
0
votes
1
answer
360
views
Configure Oracle XE logging running on Windows 10, prevent writing to Windows Event Log
Environment:
Oracle XE 18 running on Windows 10 (my laptop!).
I run database commands using specific users and sys.
Problem:
The windows application event log has 1000's of verbose Oracle database ...
0
votes
0
answers
145
views
Reduce the SYS_LOB file in Oracle
I have expanded the table space to Oracle, 9 GB in size. But faced with the problem a few months later, the file SYS_LOB0000098796C00006 $$ took 8.5 GB (and 500 MB left for different index tables and ...
1
vote
1
answer
2k
views
How to solve ORA-65096 from Oracle SQL Developer?
I am trying to create a new user from Oracle SQL Developer. I made a connection with the user Sys and the password that I entered in the installation of Oracle Database XE 18c.
When creating the user ...
0
votes
1
answer
578
views
Spring boot test doesn't Autowire all dependencies
I have a bit of a confusing error in my test scenario.
We want to refactor an Application that is not tested at all. To ensure that we have the same outcame after refactoring I'll write some ...
0
votes
2
answers
1k
views
Spring boot test containers
Is it possible to use test containers ie oracle-xe with spring boot, but have it used as DB for local deploy.. for instance get spring boot to start up in say develop profile and have the test ...
0
votes
1
answer
68
views
Copy oracle table data from two tables to another table
Here are my tables:
create table country(
country_id number(5) primary key,
country varchar2(36)
);
create table city(
city_id number(5) primary key,
country_id number(5) constraint ...
0
votes
3
answers
9k
views
While Installing Oracle database 11g Checking For Oracle XE Service instance FAILED what should I do
I am getting this error while installing the Oracle database 11g
it giving me an error Checking For Oracle XE Service instance FAILED
1
vote
0
answers
748
views
Cannot Alter PDB to Open state, throwing error ORA-00604: error occurred at recursive SQL level 1
Oracle XE 18c database, had failed APEX installation which apparently set my (only PDB) to Mounted and now I can't move it back to Read only/Open.
ALTER PLUGGABLE DATABASE XEPDB1 OPEN;
Error starting ...
2
votes
1
answer
2k
views
APEX installation fails, PLS-00201: identifier 'SYS.DBMS_DB_VERSION' must be declared
Trying to install Oracle APEX 20.2 on Oracle XE 18c database following official instructions but I receive error when running @apexins.sql SYSAUX SYSAUX TEMP /i/
...set_appun.sql
$if sys....
1
vote
1
answer
264
views
Oracle shows "no data found" when I try to retrieve data from existing column
I have created DriversTable that stores details like Name, Age, Gender etc as shown in the screenshots below.
When I try to retrieve data in a row based on the Availability column that exists in the ...
0
votes
2
answers
422
views
OracleXE installation and permission problems
Reference:
How to connect using PDB userid on Oracle 18c XE?
TNS Protocol adapter error
Product I am trying to install / configure: OracleXE 18c
Problem 1:
Attempting to log in as described in the ...
2
votes
0
answers
1k
views
sqlcl-20.4.2.35 Error Message = no ocijdbc21 in java.library.path , when trying to connect as SYSDBA
i try to connect as SYSDBA to private oracle 11g which running remotely in docker
when i connect with a simple user everything working the problem is only with SYSDBA
but i keep getting :
C:\Dev\...
0
votes
1
answer
598
views
Unable to create Oracle XE HR sample
I'm completely new to Oracle database and trying to follow steps in the 2 day guide: https://docs.oracle.com/en/database/oracle/oracle-database/21/tdddg/two-day-developer-intro.html
I downloaded an ...
0
votes
0
answers
552
views
Setup Oracle SSL Listener
I am trying to create an Oracle Database container that has an SSL enabled listener for connections.
But I am having trouble getting the listener to start.
I have tried many configurations but here is ...
0
votes
2
answers
444
views
Using string concatenation in Oracle SQL Developer not outputting in desired format
I have a CUSTOMER table and have to concatenate the FirstName and LastName columns seperated by a comma and a space ', ' into one new column called CustomerName.
The desired output is something like:
...
0
votes
1
answer
2k
views
Is it possible to auto drop trigger and sequence when I drop table
I am using Oracle XE.
Is there any way to drop trigger and sequence automatically when I drop table?
Here is my table, sequence and trigger:
create table country(
country_id number(5) primary key,
...
0
votes
0
answers
121
views
Dequeuing messages from queue from Oracle 10 using cx_oracle
I have a queue set up named 'ORGS_QUEUE' in which messages are enqueued using a trigger when a record is inserted into a table. The trigger works fine and when i can successfully dequeue messages ...
3
votes
0
answers
1k
views
Hibernate starts slow on local dev machine - 1 minute delay between two DEBUG log lines
When I start a spring boot application with Hikari since some months it takes over a minute for startup.
I use an OracleXE on my local machine
Logoutput with com.zaxxer: TRACE
2021-01-05 17:21:17.187 ...
1
vote
1
answer
3k
views
Whats the difference between oracle database 11g and 18c? and what do oracle sql developer and oracle apex have to do with these?
I have recently decided to learn DBMS and SQL starting with the oracle database (express edition/XE). I came across its versions such as 11g and the new 18c/19c and the most recent 21c, and would like ...
0
votes
0
answers
141
views
Cannot connect to database SQLdeveloper oracle xe version
I tried many ways to connect to the database but it all failed. I used to be able to connect to the database through selecting TNS then network alias XE. But after I installed SAS and connected to ...
0
votes
1
answer
54
views
Is it possible to specify in the execution code, which is in the variable CLOB, the values that are in another CLOB (JSON)
JSON comes to me via api. I keep it in a removable clob (v_clob)
{
"devices":{
"id":"d652f632-0835-871b-a140-58701f019000",
"scale_id":"88348A32BD3D149FE055000000000001"
},
"data":{
"external_id":"...
2
votes
3
answers
3k
views
ORACLE 18c XE (18.0.0.0.0) - MAX_STRING_SIZE = EXTENDED (COLLATE BINARY_CI) problem
I set MAX_STRING_SIZE from STANDARD to EXTENDED with this command:
ALTER SYSTEM SET MAX_STRING_SIZE=EXTENDED SCOPE=spfile;
This query is finished with "Done".
I checked it with this command:...