Этот коммит содержится в:
Ihar Hancharenka 2024-12-31 17:52:56 +03:00
родитель d803b471c0
Коммит b0d4900687
11 изменённых файлов: 75 добавлений и 6 удалений

Просмотреть файл

@ -0,0 +1,3 @@
https://www.baeldung.com/spring-boot-customize-jackson-objectmapper
spring.jackson.default-property-inclusion=always, non_null, non_absent, non_default, non_empty

Просмотреть файл

@ -1,7 +1,15 @@
2024
SpringDeveloper - Spring Tips: Spring Data JDBC 0:00 of 27:35
SpringDeveloper - Long - Spring Tips: Spring Data JDBC 0:00 of 27:35
https://www.youtube.com/watch?v=srBYXhhLVV4
! using records, cache
JPoint - Polivaha - Spring Data JDBC Problems 0:00 of 52:26
https://www.youtube.com/watch?v=dfANAAxfQ2c
https://jpoint.ru/archive/2024/talks/cd59886578984e3b8edb76f85ae4aea8
2023
https://www.youtube.com/playlist?list=PLbuI9mmWSoUFGL6B_NxB9IoGqyDq-vEen
2022
DanVega - Spring Data JDBC Tutorial: How to simplify data access in Spring Boot 0:00 of 41:47
https://www.youtube.com/watch?v=l_T0nQNbFiM
TechTrain - Belyaev - Exchange Spring Data JPA to Spring Data JDBC 0:00 of 1:01:52
https://www.youtube.com/watch?v=WB8S_miQNvM
https://squidex.jugru.team/api/assets/srm/ef7583f9-e5eb-49a3-b04b-36b3c670f627/6bda9419-2b7c-409b-943a-a42a0124e286.pdf

Просмотреть файл

@ -0,0 +1,2 @@
????
https://temofeev.ru/info/articles/kak-spring-data-jdbc-soedinyaet-tablitsy/

Просмотреть файл

@ -0,0 +1,6 @@
2020
Petrelevich - Spring Data JDBC of p3
https://www.youtube.com/playlist?list=PLfj4GrGKdyavcnfWnOO7d-MRFJcIAqxWO
https://vk.com/@javatutorial-kak-spring-data-jdbc-opredelyaet-chto-obekt-novyi
BasicPersistenceEntity -> Persistable i-face
PersistenceEntityIsNewStrategy

Просмотреть файл

@ -0,0 +1,23 @@
https://docs.spring.io/spring-data/relational/reference/jdbc/mapping.html
2022
TechTrain - Belyaev - Exchange Spring Data JPA to Spring Data JDBC 0:00 of 1:01:52
https://www.youtube.com/watch?v=WB8S_miQNvM
https://squidex.jugru.team/api/assets/srm/ef7583f9-e5eb-49a3-b04b-36b3c670f627/6bda9419-2b7c-409b-943a-a42a0124e286.pdf
https://www.youtube.com/watch?v=l_T0nQNbFiM
Persisting Entities
AggregatedReference<,>
https://spring.io/blog/2022/01/20/spring-data-jdbc-how-can-i-do-a-partial-update-of-an-aggregate-root
2021
https://spring.io/blog/2021/09/22/spring-data-jdbc-how-do-i-make-bidirectional-relationships
internal rel
https://github.com/spring-projects/spring-data-examples/tree/main/jdbc/howto/bidirectionalinternal
https://github.com/spring-projects/spring-data-examples/blob/main/jdbc/howto/bidirectionalinternal/src/main/java/example/springdata/jdbc/howto/bidirectionalinternal/Minion.java
https://github.com/spring-projects/spring-data-examples/blob/main/jdbc/howto/bidirectionalinternal/src/main/java/example/springdata/jdbc/howto/bidirectionalinternal/Toy.java
external rel
https://github.com/spring-projects/spring-data-examples/tree/main/jdbc/howto/bidirectionalexternal
https://github.com/spring-projects/spring-data-examples/blob/main/jdbc/howto/bidirectionalexternal/src/test/java/example/springdata/jdbc/howto/bidirectionalexternal/BidirectionalApplicationTests.java
https://github.com/spring-projects/spring-data-examples/blob/main/jdbc/howto/bidirectionalexternal/src/main/java/example/springdata/jdbc/howto/bidirectionalexternal/Minion.java
????
https://temofeev.ru/info/articles/kak-spring-data-jdbc-soedinyaet-tablitsy/
MappedCollection

Просмотреть файл

@ -1,5 +1,22 @@
ERROR: operator does not exist: = character varying Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
https://www.postgresql.org/docs/current/datatype-enum.html
https://docs.oracle.com/en/java/javase/21/docs/api/java.sql/java/sql/JDBCType.html
https://stackoverflow.com/questions/851758/java-enums-jpa-and-postgres-enums-how-do-i-make-them-work-together
jdbc-url:...&stringtype=unspecified
https://postgrespro.ru/list/thread-id/1932527
https://jdbc.postgresql.org/documentation/use/
spring:
datasource:
hikari:
data-source-properties:
stringtype=unspecified
PGPreparedStatement
private int getStringType() {
return connection.getStringVarcharFlag() ? Oid.VARCHAR : Oid.UNSPECIFIED;
}
https://github.com/spring-projects/spring-data-relational/issues/1136
https://github.com/spring-projects/spring-data-relational/pull/1517

Просмотреть файл

@ -0,0 +1,5 @@
java.sql.JDBCType
java.sql.Types
12 VARCHAR
org.postgresql.core.Oid

Просмотреть файл

@ -15,10 +15,14 @@ https://bootcamptoprod.com/spring-boot-data-jpa-print-sql-queries/
2022
https://www.baeldung.com/hibernate-logging-levels
https://www.baeldung.com/sql-logging-spring-boot2022
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG
logging.level.org.springframework.jdbc.core.StatementCreatorUtils=TRACE
????
https://sky.pro/wiki/java/otobrazhenie-sql-zaprosov-iz-jpa-v-ide-reshenie-bez-dostupa-k-bd/
logging.level:
org.hibernate.SQL: DEBUG
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.transaction: DEBUG
org.hibernate.engine.transaction.internal.TransactionImpl: DEBUG
logging.level:
org.springframework.jdbc.core.JdbcTemplate=DEBUG
org.springframework.jdbc.core.StatementCreatorUtils=TRACE

Просмотреть файл

@ -0,0 +1 @@
https://www.baeldung.com/java-enums-jpa-postgresql