Spring Boot Connect to Oracle Database Example

preview_player
Показать описание
Learn how to write Java code that connects to Oracle Database Server in a Spring Boot application with two ways:
- Using JdbcTemplate and connect a local instance of Oracle database server
- Using Spring Data JPA with Hibernate framework and connect to a remote instance of Oracle database server.

You will also learn how to specify dependency for Oracle JDBC driver and configure data source properties (JDBC URL, username, password, show SQL, format SQL and database dialect).

Software programs:
- Java Development Kit (JDK)
- Spring Tool Suite IDE (STS)
- Oracle Express & SQL Developer tool
Рекомендации по теме
Комментарии
Автор

Real Guru !! Fantastic example !! amazing video .. thanks alot for this hands on session !!

arulprakasan
Автор

can you give us a example using Oracle's enterprise DB (not XE) to connect to spring boot. I have hard time if I had serviceName instead of SID

ysc
Автор

very helpful video!! thank you so much.

HuongNguyen-slpw
Автор

Thanks Brother. I tried various videos, but this helped me.

cutenessoverloaded
Автор

Very straight forward tutorial... new subs here.

LiMITZERO
Автор

Hello! Thanks for this tutorial. I'm having an issue : when i run the java app, i dont have any query result. What could it be? The Database is OK, i can access through SQL Developer, created the table, populated too. Not getting any connection errors either. Thanks in advance.

juanmanuelcataldopavan
Автор

Thanks a lot for your excellent examples. I was wondering what is the difference between jpa repository and crudrepository. Please, keep your good work up!

sukurumuku
Автор

This was a very good video. Thanks for sharing.

guitarDad
Автор

Thanks for the tutorial it was very helpful.
I am able to connect to the DB, even though there is data in the table it's returning null values.
Any idea what's the reason?

saitarun
Автор

Here you're fetching...like how to insert the record here??? Can anyone help me please

aruldaspaul
Автор

Nice work.

I am trying to use Spring Boot JPA and getting below error-
Failed to initialize JPA EntityManagerFactory: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is Cannot invoke "String.length()" because "str" is null

Any inputs on this issue?

indian-cricket-lover
Автор

How can we set up oracle native encryption for spring boot application?

shubhamswaraj
Автор

can you please make some tutorial on making report like using BIRT report ?
or suggest any sources ? i really need help

MahadiHasan-qbzw
Автор

Would be helpful push to git and attach the link in description

mukeshmahadev
Автор

Can we then use this to connect to a react.js frontend?

TheLEGOman
Автор

It is saying Jdbc template is null..
Can you please help me on this?

anindyabasak
Автор

Excelente, unir listado ==> web with angular?

yesidcalle
Автор

could I have the GIT source of this tutorial? :D great video though! Thank you

BBonable
Автор

How to know my Local host number can plz tell me

vadderamanjineyulu
Автор

I think this is nice tutorial, but it's so hard to understand you! PLEASE make english subtitles

vehmszo