About 532,000 results
Open links in new tab
  1. spring boot - how to create table at runtime dynimically (with …

    Feb 22, 2024 · Because a large amount of data is accumulating in the log table, I want to dynamically create and save an additional table in log_yyyymm(log_202402, ...) format. In jpa, I have no idea how to "dynamically" create a table at runtime and select with a …

  2. java - Dynamically create columns / table using SpringBoot …

    Dec 13, 2018 · I am trying to generate a schema dynamically using Spring-Boot when I make a REST API call. For instance, I make a rest call to http://localhost:8080/school with two different JSON bodies. Call 1: Call 2: The request body is transformed into a schema of the table or collection for each request. table or collection name school. For Call 1.

  3. Creating tables on demand with Spring Boot Data JPA

    You can use model to create tables. Create a class having @Entity annotation and @Table(name="yourtablename"). Also in your application.propertirs file. Set spring.jpa.hibernate.ddl-auto=create –

  4. Spring Boot Dynamic Table Names - Restackio

    4 days ago · The primary way to define a table name in a Spring Boot entity is through the @Table annotation. You can specify the table name directly, but for dynamic naming, you can leverage the @DynamicUpdate annotation in conjunction with a custom naming strategy.

  5. Spring Hibernate Configuration and Create a Table in Database

    Mar 26, 2025 · In this article, we will walk you through configuring Hibernate with Spring Boot, setting up a MySQL database, and performing CRUD operations using Spring Data JPA. Simplified CRUD Operations: Easily perform Create, Read, Update, and Delete operations on data from multiple tables.

  6. Generate Database Schema with Spring Data JPA - Baeldung

    Jan 8, 2024 · When creating a persistence layer, we need to match our SQL database schema with the object model that we created in our code. This can be a lot of work to do manually. In this tutorial, we’ll learn how to generate and export our database schema based …

  7. Dynamic Multi Database Application with Spring Boot

    Nov 13, 2019 · In this article, we will provide steps to configure dynamic multiple data sources in Spring Boot and JPA. The Maven Dependencies Creating a DataSource implementation programmatically is ...

  8. How to get your DB Tables automatically created with Spring Boot

    Aug 2, 2019 · Configuration steps for automatic Table generation. Here is a sample application.properties configuration that will let Hibernate create the Database tables out of your Entity beans:

  9. Creating SQL Queries Dynamically in Spring Boot! - techwasti.com

    Dec 4, 2024 · Enter Spring Data JPA Specifications, a powerful tool for creating dynamic and type-safe SQL queries. In this article, we’ll explore how to use Spring Data JPA Specification to craft flexible SQL queries programmatically without getting bogged down by boilerplate code.

  10. Automatically Create a Database Schema With Spring Boot

    Apr 17, 2025 · In this article, we’ll briefly talk about how we can leverage the power of Spring Boot and JPA to automatically create the database schema without having to write SQL statements. We’ll also see some common pitfalls to avoid during configuration.

  11. Some results have been removed
Refresh