The time has come to create our first queries. Let’s start with the most straightforward technique. Writing queries with it is a child’s play, and I’ll teach you the rules.
READ MORE
Jakarta EE, Spring & Android
The time has come to create our first queries. Let’s start with the most straightforward technique. Writing queries with it is a child’s play, and I’ll teach you the rules.
This chapter covers the basics of transaction handling in Spring Framework for JPA—and yet it’s pretty long! I want to give you the essential tools to deal effectively with the most common scenarios.
READ MORESpring Data is based on the repository concept. I showed you an astonishing example at the end of the first chapter. The present chapter discusses that concept, focusing on JPA.
Read moreIn this chapter we’ll create the sample project for the course from scratch. Since the course focuses on Spring Data JPA, I’ll ensure the project doesn’t require a deep understanding of the Spring Framework and JPA. The simpler, the better. Simplicity is beautiful.
READ MOREWelcome to my course! In sixteen chapters, you’ll learn to harness the power of Spring Data JPA, always with a practical approach. Apart from being a progressive learning tool suitable for all levels, this course also serves as a quick reference guide.
If you’ve never used Spring Data, you’ll have many questions. What problems does it solve? How does it work? In this introductory chapter I give you the answers. Spoiler: Spring Data JPA is the best way to work with relational databases.
READ MOREThe app developed in the tutorial “Android Design: Light and Dark Theme with Material Components” features both a light and a dark theme—but it has a flaw. Users can only switch themes by turning Android’s dark or power-saving modes on and off. In this tutorial, I’ll explain how to create a theme selector like the one that WhatsUp —and many other popular apps— provides.
READ MOREIn essence, a dark theme displays mostly dark surfaces with lodw light. It contrasts with light themes, where white backgrounds and light surfaces predominate.
What are the advantages of dark themes? How are they implemented in Android? Can a light and a dark theme live together in the same app? In this post I give you the answers. A second part explains how to create a preferences screen with a theme selector. The approach is purely technical—we’ll talk about code, not graphic design.
READ MOREEl registro de los cambios efectuados en los datos es una capacidad habitual de los programas de gestión. Si quieres esta función en tus entidades, en este último capítulo del curso te explico cómo configurarla en Spring Data JPA.
Spring Data en una herramienta irresistible por la simplicidad de sus repositorios: interfaces con métodos sin cuerpo. Esto nos ahorra mucho código.
¿Y si las capacidades de esos métodos fueran insuficientes? Necesitaremos escribir código. ¡Ningún problema! En este breve capítulo te explico cómo incorporar cualquier método con cuerpo a una interfaz-repositorio. Así, seráz capaz de programar lo que quieras sin salir de Spring Data.
En muchas bases de datos puedes crear rutinas SQL reutilizables. En este capítulo descubrirás su utilidad y cómo ejecutarlas con Spring Data JPA. La clave de todo, la anotación @Procedure
.
The bottom navigation bar is one of the essential navigation components defined by Material Design. You see it every day in popular apps such as Spotify, Instagram, TikTok or YouTube. It displays several icons, sometimes with a text label, that provide access to the main sections of an app.
READ MOREDespués de doce capítulos, hemos conseguido mucho sin escribir ni una sola sentencia SQL. Tal es el poder de Spring Data JPA. Entonces, ¿por qué querríamos escribir SQL? Y llegado el caso, ¿cómo lo hacemos? Este capítulo responde ambas preguntas.
Seguir leyendo