Developing Spring Boot Applications With Joy

  Рет қаралды 9,095

IntelliJ IDEA, a JetBrains IDE

IntelliJ IDEA, a JetBrains IDE

Күн бұрын

Пікірлер
@AntonArhipov
@AntonArhipov 3 ай бұрын
59:56 "Never trust a test that hasn't failed at least once" - Kudos for this!
@DineshkumarPuli
@DineshkumarPuli 3 ай бұрын
Thank you Siva and IntelliJ team, for the informative presentation!
@jesper2455
@jesper2455 2 ай бұрын
Great video, learnt several useful things🙂
@gallardofabian
@gallardofabian 3 ай бұрын
Excelent video, I see a lote of feature of intellij that I missed, thanks a lot
@pravinppatil2116
@pravinppatil2116 3 ай бұрын
Thanks Siva Learnt lot of things from this video
@bhargavvandana3541
@bhargavvandana3541 3 ай бұрын
One of the best tutorials :)
@nicolasfelipe1
@nicolasfelipe1 Ай бұрын
thanks, learned a couple of things like executing queries from the repository.
@sivalabs
@sivalabs 3 ай бұрын
During the session, one of the questions asked was: "In database script why did you start the sequences with "101" and increment by "50"? what are those magic numbers?" "create sequence bookmark_id_seq start with 101 increment by 50;" By default, the sequence starts with 1 and increments by 1. But, I want to insert some sample data along with the primary key values. So I reserve the first 100 and configure the sequence to start with 101. With this, when the application tries to insert a new record it is going to take the next primary key value as 101. If you create sequence that start with 1 and insert sample records using SQL statement with primary key value 1, then when you try to save a new entity from the application it is going to generate the primary key value as 1 which will conflict with the existing row. So, the starts with 101 is just a convenience to insert some sample data. About the increment by 50: By default, Hibernate uses allocationSize as 50 for performance optimization. To follow the same default, I have configured the sequence to increment by 50.
@bqc-rl9tu
@bqc-rl9tu 3 ай бұрын
thank you
@AlekseyStukalov
@AlekseyStukalov 3 ай бұрын
I believe we can do a separate session to cover different types of Ids and how they work with Hibernate.
@PraveenKumar-uj2ih
@PraveenKumar-uj2ih 3 ай бұрын
Thanks a lot Siva , Great Presentation
@backtoGodhead0
@backtoGodhead0 3 ай бұрын
very nice thanks Siva! :)
@user-fh5re1rf1g
@user-fh5re1rf1g 3 ай бұрын
fantabulous❤❤❤👏👏👏👌👌👌 Looking for part 2
@gabrielbonilla2238
@gabrielbonilla2238 3 ай бұрын
Thanks Siva! 👏👏👏👏👏
@hy32906
@hy32906 3 ай бұрын
is it possible to have flyway migration script for different environment say test db, qa db and production db.
@sivalabs
@sivalabs 3 ай бұрын
Yes. We can use "spring.flyway.locations" property to configure different paths for different environments. For dev environment, you can create application-dev.properties file and set "spring.flyway.locations=classpath:db/migration/dev" and store your flyway db migration files in "db/migration/dev" directory.
@momedalhouma14
@momedalhouma14 3 ай бұрын
waiting for episode 2.
@xinguangduanvipxinguangdua6393
@xinguangduanvipxinguangdua6393 3 ай бұрын
how to show runing JPA directly in method?
@xinguangduanvipxinguangdua6393
@xinguangduanvipxinguangdua6393 3 ай бұрын
I know that, just need upgrade to latest version of IDEA Ultimate
@VivaVlogsYT
@VivaVlogsYT 3 ай бұрын
can someone help how to get the boot-datasource-jpa auto completion ?
@sivalabs
@sivalabs 3 ай бұрын
The "boot-datasource-jpa" is a custom LiveTemplate I have created. You can learn how to use or create your own LiveTemplates from this video kzbin.info/www/bejne/pqicdYiaoJuXf68
@zeptitejute
@zeptitejute 3 ай бұрын
​​​@@sivalabsonce the properties are back to application files, what happens if you change the compose file ? Password for exemple ? Spring will use compose info or properties file ones?
@sivalabs
@sivalabs 3 ай бұрын
@@zeptitejute What is defined in the compose.yml file takes higher precedence over application.properties configuration.
@avidee91
@avidee91 3 ай бұрын
Java records for projection is more readable, clearer than compared to interface version.
@sivalabs
@sivalabs 3 ай бұрын
We can also use Records and JPA constructor expressions to build DTOs. However, if we want to load a DTO with nested DTOs I think its not possible with Constructor-expressions as of now.
@avidee91
@avidee91 3 ай бұрын
@@sivalabs thanks for sharing this.
Introduction to Workspaces in IntelliJ IDEA
55:47
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 9 М.
Build GraphQL Services with Spring Boot like Netflix
1:27:47
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 6 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
The JUnit Crew Presents What's New
1:12:00
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 4 М.
GraalVM and GraalPy Meet IntelliJ IDEA
1:09:40
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 2 М.
From Code to Clarity With the Redesigned Structure Tool Window
58:26
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 2,9 М.
Kotlin After 2.0 | Talking Kotlin #133
1:06:31
Kotlin by JetBrains
Рет қаралды 21 М.
Code comments: Everything you need to know
3:34
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 2,6 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН