IT engineer's scheduled leave Tips

このブログを検索

Powered by Blogger.

ブログ アーカイブ

JPA Sample in Spring

It is efficient to use JPA when retrieving data from the DB. You can return on time. Create a POJO (Entity) mapping columns you want to us...

Featured Posts

Sports

Games

2018年10月10日水曜日

JPA Sample in Spring

0 件のコメント :
It is efficient to use JPA when retrieving data from the DB. You can return on time.

Create a POJO (Entity) mapping columns you want to use from the DB.


Create a Repojitory that pulls Entity.


Autowired Repojitory with Controller. With this you can retrieve DB data with Controller.


This is the only basics.

When using ORACLE, write the following in apprication.properties of Spring Boot. (Do not forget the description of pom.xml!)


It will be more convenient to apply. It's also next time.

Hello

0 件のコメント :
I write Tips in English.