How to Init Databases With Quarkus

  Рет қаралды 5,403

Sebastian Daschner

Sebastian Daschner

Күн бұрын

Пікірлер: 13
@ferjava
@ferjava Жыл бұрын
Good tips! We actually don't need Postman, plain shellscript is waaay more efficient, nice ^^
@yaojunshi3037
@yaojunshi3037 2 ай бұрын
do I have to use panache or other ORM framwork? I tried to inject a datasouce manually but it showed the UnsatisfiedResolutionException..
@SebastianDaschnerIT
@SebastianDaschnerIT Ай бұрын
No both should work. See here: quarkus.io/guides/datasource#named-datasource-injection
@manee427
@manee427 Жыл бұрын
Thanks perfect video. do we have something like JPARepository in Quarkus that make most of queried available out of the box or we have to always use plain SQL?
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
kzbin.info/www/bejne/pnW2fKqPnruShNU :)
@RafaelDurelli
@RafaelDurelli Жыл бұрын
Awesome vid :D
@stefanholtker3944
@stefanholtker3944 Жыл бұрын
How about using liquibase with context / label for test environments testdata?
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
Haven't really used it as such, but yes, can surely work. What was your experience with it?
@Markosiiiiii
@Markosiiiiii Жыл бұрын
Great Sebastian! I have a question. I have my query sql: " select p.* from pcr_perfil p order by( select count(ppu.id_usu_perfil) from pcr_perfil_usuario ppu where ppu.id_perfil = p.id_perfil ) asc " that's works fine in sql. Question. How to make that query from panache quarkus? Please can anyone translate it to panache query?
@SebastianDaschnerIT
@SebastianDaschnerIT Жыл бұрын
Well, in general you can directly execute native SQL queries, i.e. you can paste that into your code (e.g. with entity manager). But it might make sense to consider rewriting this query, in JPA query language in fact.
@chandanupadhyay-oi7vo
@chandanupadhyay-oi7vo 8 ай бұрын
Can we create only one Entity for two database ( with same attributes ) in the project
@SebastianDaschnerIT
@SebastianDaschnerIT 8 ай бұрын
Yes, that should work
@chandanupadhyay-oi7vo
@chandanupadhyay-oi7vo 8 ай бұрын
@@SebastianDaschnerIT how can u explain... or share any github link for reference
Why You Want to Code With Quarkus in 2023
18:21
Sebastian Daschner
Рет қаралды 23 М.
Persistence With Quarkus Panache
14:48
Sebastian Daschner
Рет қаралды 7 М.
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 138 МЛН
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 79 М.
Docker and PostgreSQL in [10 Minutes]
21:06
Amigoscode
Рет қаралды 272 М.
How to Use Java Records With Quarkus
20:57
Sebastian Daschner
Рет қаралды 5 М.
Effective Developer Workflows With Quarkus
19:47
Sebastian Daschner
Рет қаралды 4,6 М.
Quarkus Panache Active Record vs. Repository Pattern
14:32
Sebastian Daschner
Рет қаралды 6 М.
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 74 М.
We look into Keycloak and OpenID using Quarkus
18:20
Daniel Persson (Kalaspuffar)
Рет қаралды 2,1 М.
Pull data from API using Python
6:27
The BI Hub
Рет қаралды 50 М.
How To Configure Cloud-Native Quarkus Projects
12:01
Sebastian Daschner
Рет қаралды 2,3 М.
Stephen Margheim - How (and why) to run SQLite in production
34:53