jpa-entitymanager-spring-boot-feature-image

JPA EntityManager example in Spring Boot

In this tutorial, you will know how to use JPA EntityManager in Spring Boot example (with CRUD operations and query methods). I will show you:

  • Way to access JPA EntityManager in Spring Boot
  • How to use EntityManager methods: execute SQL query using createQuery and CRUD operations
  • JPA EntityManager query with parameters

Related Posts:
JPA Native Query example
Spring JPA Derived query example
Spring JPA @Query example
Spring Boot, Spring Data JPA – Rest CRUD API example
Spring Boot Pagination and Sorting example
Spring Boot File upload example with Multipart File
Spring Boot Authentication with Spring Security & JWT
Spring JPA + H2 example
Spring JPA + MySQL example
Spring JPA + PostgreSQL example
Spring JPA + Oracle example
Spring JPA + SQL Server example

Associations:
JPA One To Many example with Hibernate and Spring Boot
JPA Many to Many example with Hibernate in Spring Boot

Read More

react-custom-hooks-typescript-feature-image

React Custom Hook in Typescript example

In addition to the familiar Hooks like useState, useEffect, useRef…, React also allows us to create custom Hooks with unique features that extracts component logic into reusable functions. Let’s learn how to write a React Custom Hook for API call in Typescript through a simple useAxiosFetch example.

More Practice:
React Hook Form Typescript example with Validation
React Typescript and Axios with API call example
React Table example: CRUD App | react-table 7
React Hooks File Upload example with Axios & Progress Bar
React Typescript Authentication example with Hooks

Javascript version: React Custom Hook tutorial with example

Read More