filmov
tv
Distributed SQL Tips: Java to PostgreSQL Enums Conversion

Показать описание
With enums, we can enforce data integrity in a human-readable format. As a result, it’s unsurprising that this data type is natively supported in Java, PostgreSQL, and YugabyteDB. However, the conversion between Java and PostgreSQL enums doesn’t work out of the box.
The video shows a generic way of handling the Java and PostgreSQL enums conversion. The approach works for plain JDBC APIs and popular ORM frameworks such as Spring Data, Hibernate, Quarkus, and Micronaut.
Curious to learn more? Check out the following article:
DISCOVER MORE IN OUR DISTRIBUTED SQL TIPS FOR JAVA SERIES:
Video chapters:
0:00 Introduction
0:41 Test Overview
1:39 Testing enums on the database end
2:38 Passing Java enum as a String to YugabyteDB
5:00 Creating the cast operator
5:40 Repeating the test
6:37 Summary
About Yugabyte: YugabyteDB is an open source, high-performance distributed SQL database built for your mission-critical applications. It is PostgreSQL compatible, cloud native, and runs on any public or hybrid cloud.
RESOURCES:
COMMUNITY:
The video shows a generic way of handling the Java and PostgreSQL enums conversion. The approach works for plain JDBC APIs and popular ORM frameworks such as Spring Data, Hibernate, Quarkus, and Micronaut.
Curious to learn more? Check out the following article:
DISCOVER MORE IN OUR DISTRIBUTED SQL TIPS FOR JAVA SERIES:
Video chapters:
0:00 Introduction
0:41 Test Overview
1:39 Testing enums on the database end
2:38 Passing Java enum as a String to YugabyteDB
5:00 Creating the cast operator
5:40 Repeating the test
6:37 Summary
About Yugabyte: YugabyteDB is an open source, high-performance distributed SQL database built for your mission-critical applications. It is PostgreSQL compatible, cloud native, and runs on any public or hybrid cloud.
RESOURCES:
COMMUNITY:
Distributed SQL Tips: Java to PostgreSQL Enums Conversion
Distributed SQL Tips for Java: Sequence-Based Id Generation
Distributed SQL Tips for Java: YugabyteDB JDBC Smart Driver
Distributed SQL Tips for Java: @DynamicUpdate Annotation, Part 1
Distributed SQL Tips for Java: @DynamicUpdate Annotation, Part 2
Secret To Optimizing SQL Queries - Understand The SQL Execution Order
Top 7 Most-Used Distributed System Patterns
Go in 100 Seconds
7 SQL tips to optimize your queries👈🏻
SQL Query Optimization - Tips for More Efficient Queries
Spring Tips: Brave, Bold, and Boring YugabyteDB
Is web scraping legal? 🫢😳
Cache Systems Every Developer Should Know
What is PUBLIC STATIC VOID MAIN ( STRING[] Args ) in JAVA | Most Asked interview Question
Meeting my College Juniors❤️
Old SQL, New SQL, Distributed SQL? What’s the Difference? Why Would I Care?
what it’s like to work at GOOGLE…
What is SQL vs No SQL database in 60 seconds? #shorts #sqlvsnosql
How I would learn Data Engineering (if I could start over)
Which jobs will AI replace first? #openai #samaltman #ai
Debugging Like A Pro
20 System Design Concepts Explained in 10 Minutes
Kubernetes Explained in 100 Seconds
Redis in 100 Seconds
Комментарии