Questions tagged [ojdbc]

OJDBC is the Oracle JDBC driver.

OJDBC is the JDBC driver provided by Oracle, see Oracle JDBC page

666 questions
0
votes
1 answer

my OS is windows7,i want to build the developing environment of sakai oae

my OS is windows7,i want to Deployment the environment of sakai oae When I run mvn deploy:deploy-file -DgroupId=com.oracle-jdbc-6 -DartifactId=ojdbc6 -Dversion=10.2.0.1.0 -Dpackaging=jar -Dfile=org.sakaiproject.nakamura.ojdbc.jar -Durl=url…
liu jing
  • 3
  • 5
0
votes
2 answers

Jboss 7 - Oracle Datasource not working

I'm working on a Web App with just one WAR project. It uses JPA and has a DataSource that I need to configure to run on JBOSS 7. The database is Oracle. I'm getting this error: JBAS014775: New missing/unsatisfied dependencies: service…
RicardoS
  • 2,088
  • 1
  • 21
  • 22
0
votes
2 answers

Exhausetd ResultSet Error when fetching from a perticular column

In my project, I am creating a Cancel Account facility to delete the account from user table. The user table name is newuser. The cancelaccount jsp looks like: <%@ page language="java" contentType="text/html;…
Mistu4u
  • 5,132
  • 15
  • 53
  • 91
-1
votes
1 answer

How to set serverTimeZone in Oracle JDBC database URL?

I'm getting an error when I try to start a spring-boot application with Oracle connection: csm-security | 2022-06-29 19:26:21.571 INFO [csm-security,,] 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root…
Aldo Inácio da Silva
  • 824
  • 2
  • 14
  • 38
-1
votes
2 answers

ORA-17132 Invalid conversion requested during inserting an entity

I have a problem with application made with Java 8, Spring 5, Hibernate 5.4.8 and Oracle 18c database. Speaking about fundamental database config, I'm using the oracle.jdbc.OracleDriver driver class and org.hibernate.dialect.Oracle12cDialect dialect…
-1
votes
1 answer

java ojdbc DELETE PreparedStatement won't work

i'm building a java program that basically manage a oracle xe 11.2g database using ojdbc6 driver. I wrote succesfully the methods to search and insert rows but the method that use delete statement do nothing at all. private void…
-1
votes
1 answer

Calling oracle stored procedure with input parameter using SqlInOutParameter gives assert exception with ojdbc8

I have a stored procedure with one in and one out parameter. The input parameter is defined by SqlInOutParameter and output by SqlOutParameter. Everything works fine with ojdbc6 but with ojbc8 it gives assert exception in tests. Since I don't have…
-1
votes
1 answer

ojdbc6 driver not in classpath when deployed via Wildfly 10 admin console?

We are using Wildfly 10 for the first time, upgrading from JBoss EAP 5.1.2. One thing that we need is to have our datasources using the ojdbc6 Oracle driver. I know there are 3 ways to configure them: 1 - Installing the driver and configuring the…
rsoliveira
  • 21
  • 3
-1
votes
2 answers

Performance of setString() and setDate() in Oracle JDBC?

I'm have some problems about setString() and setDate() in Oracle JDBC. When I try take some tests about setString() and setDate(), I realize setDate() is faster than setString() in most case. Can someone help me to explain this? Here my test…
Tea
  • 873
  • 2
  • 7
  • 25
-1
votes
1 answer

Unable to get oracle database connection

1.JAVA_HOME is set to IBM JAVA SDK. 2.Unable to get oracle database connection. Where as tried running the same on machine having Oracle java set as JAVA_HOME 3.Placed ojdbc14.jar under AppServer/lib. try { connection =…
kusumat
  • 319
  • 3
  • 9
  • 21
-1
votes
1 answer

Spring and OJDBC driver

I ran "mvn install..." on ojdbc7.jar, added it as a dependency to a maven project, wrote a function that connects to the database, tested it, and it worked. I opened a new spring mvc project, added the above project as maven dependency and also to…
Gilad Baruchian
  • 930
  • 3
  • 14
  • 30
-1
votes
2 answers

How to fix com.oracle:ojdbc14:jar:10.2.0.1.0

How can I solve the Maven error ? Missing artifact com.oracle:ojdbc14:jar:10.2.0.1.0 I tried to add another dependency hibernate-entitymanager but it does not work.
-1
votes
1 answer

where is the mistake about this command?

mvn deploy:deploy-file -DgroupId=org.sakaiproject.nakamura \ -D artifactId=org.sakaiproject.nakamura.ojdbc \ -Dversion=CURRENT-VERSION -Dpackaging=jar \ -Dfile=maven-launchpad-plugin-2.0.10.jar \ -Durl=D:\sakai3\nakamura \ …
liu jing
  • 3
  • 5
-2
votes
1 answer

Why is return error java.net.UnknownHostException: h-cluster02-n1

I use ojdbc6.jar connect to db with ip scan, Url connect: jdbc:oracle:thin:@IP_SCAN:1521/SERVICE_NAME but it return error 'java.net.UnknownHostException: h-cluster02-n1' Why it returned exception, Please help me! Thanks!
Hoang Vinh
  • 193
  • 1
  • 2
  • 11
-2
votes
1 answer

java.sql.SQLException: SQL string is not Query in glassfish server

we have used executeQuery() for deleting the data in a table using java code.It is able to delete properly when we run the program using Eclipse, but while build the sources and deployed in glassfish server am getting error. java.sql.SQLException:…
sravani reddy
  • 45
  • 1
  • 2
  • 9
1 2 3
44
45