Skip to main content
Shape the future of the Stack Exchange API - get early access to what’s new!
Database Administrators

Questions tagged [java]

Use ONLY if Java is directly relevant to the question and likely to be the source of your problem, not just because you're using a Java library to connect to a database. Java is an object-oriented language and runtime environment. Java programs can run unchanged on most platforms in a Virtual Machine called the JVM. If you have a general programming question about Java, please ask it on Stack Overflow instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

When I hit iiq console in command prompt my Sailpoint says database version doesn't match the system version

In mine it says Application's system version 8.4-104 does not match IdentityIQ database's system version 8.4-87 I tried to update the database its still not working. If it works I can import xml files ...
3 votes
1 answer
110 views

Db2 - Upgrade Java JDK/JRE

After installing via alternatives the latest IBM JDK on redhat 8.10 (Ootpa) x86 and when trying to update the Java Version for Db2 with db2 UPDATE DBM CFG USING jdk_path SDK for Java-path to (...) (...
1 vote
0 answers
17 views

GridDB How to properly delete a database with containers?

I'm working with GridDB CE in a Java application and trying to programmatically delete a database. However, I'm encountering that error. 145045 JC_DATABASE_NOT_EMPTY ERROR Checking of client request ...
0 votes
2 answers
81 views

How do I update Java prepared statements from Postgres 12 to Postgres 16?

I have a Java/JSP webapp that uses a Postgres database. I recently migrated the webapp from one server running Ubuntu 20.04 and Postgres 12 to another server running Ubuntu 24.04 and Postgres 16. I'...
0 votes
2 answers
108 views

Handling DriverTimeoutException in DataStax Java Driver 4.13.0 Without Retrying Non-Idempotent Requests

Using datastax-java-driver-core 4.13.0 to connect the Java application to Cassandra. When a Cassandra node goes down, all in-flight requests to that node fail with a DriverTimeoutException. This ...
0 votes
0 answers
26 views

Help with Creating an ERD and Logical Data Model for a Medical Management Application

A social security organization wishes to develop an application to manage patients, their attending a generalist, and specialist doctors. A person is either a beneficiary or a doctor; a doctor can ...
0 votes
0 answers
43 views

Metabase error when connecting to SQL Server 2016, happens on RHEL9 but not on RHEL7, why?

We are testing an upgraded instance of Metabase, and the upgraded components include RHEL (from v7 to v9) operating system, Java (from 11 to 21), and Metabase software (from v0.32.x to v0.50.x as the ...
Mike's user avatar
  • 57
1 vote
2 answers
146 views

How to upgrade Java version on Cassandra 4.0.5

I want to upgrade java version from 8 to 11 on my Cassandra cluster. How better to do this? Can I upgrade java version node by node. For example: Stop 1 node Upgrade java Start 1 node And repeat for ...
1 vote
1 answer
342 views

Which version of Java should I use with Cassandra 5.x [closed]

I've installed Cassandra on my Linux machine (Ubutnu). I had OpenJDK 11 installed, I then installed JDK 17 and set it to the default and restarted Cassandra. I can see the new version is being used ...
adinas's user avatar
  • 149
1 vote
2 answers
384 views

Startup error "Cassandra 5.0 requires Java 11 or Java 17"

I can only find that Cassandra supports JDK17, and no Java flavor specifics. First I installed OpenJDK11 and received the same message as below. I then found that Cassandra 5.0 only supports JDK17. ...
0 votes
2 answers
565 views

Failed to link the C library against JNA, Cannot open shared object file

I am having issues with installing Cassandra 4.0 and 4.1 on my rhel 8 server. I've tried using java 11 openjdk and Corretto 11 openjdk. When I start Cassandra I would receive: Native LibraryLinux.java ...
jexport's user avatar
0 votes
0 answers
120 views

JDBC using DataSource, DB2 and Kerberos

I am trying to set up a JDBC using DataSource interface, DB2 database and Kerberos for authentication. I am using IBMs documentation which refers in Kerberos security with no user ID or password link ...
bagb's user avatar
  • 1
1 vote
1 answer
168 views

Apache Cassandra node restarts randomly

I have a cluster of 11 nodes, Apache Cassandra version 3.11.4, where certain nodes are restarted at random times. Nodes characteristics: CPU(s): 32 Model name: Intel(R) Xeon(R) Silver 4110 CPU @ 2....
0 votes
1 answer
1k views

Oracle DB - can it run without JDK, JRE that is installed together with?

Our client is scanning for outdated JDKs or JREs and found those in Oracle DB instance files, installed files. Is it safe for Oracle DB to remove JDK, JRE? Name="Java(TM) SE Runtime Environment&...
Jakub P's user avatar
  • 167
1 vote
0 answers
55 views

Possible explanation for why "SELECT" query executed from JDBC returning just the first row in the table

I installed OracleDB(XE - free version) and I tried to use it in Java. I have this code: static final String DB_URL = "jdbc:oracle:thin:@localhost:1521/XE"; static final String ...

15 30 50 per page
1
2 3 4 5
...
17

AltStyle によって変換されたページ (->オリジナル) /