1416 links
  • Animal
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
5 results tagged SpringBoot x
  • Spring Boot 2.0 Migration Guide · spring-projects/spring-boot Wiki · GitHub

    Pour migrer de spring-boot 1.5.X vers spring-boot 2.0.X .

    Matrice de compatibilité spring-boot 1.5.X

    Matrice de compatibilité spring-boot 2.0.X

    Thu Aug 5 18:36:33 2021 * - permalink -
    QRCode
    - https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide
    Migration SpringBoot Version
  • java - How to create fat jar with all dependencies for spring application - Stack Overflow

    Ajouter dans la balise build le plugin spring-boot-maven-plugin ainsi :

    <build>
      ...
      <plugins>
        ...
        <plugin>
          <groupId>org.springframework.boot</groupId>
          <artifactId>spring-boot-maven-plugin</artifactId>
          <version>2.3.3.RELEASE</version> // or your version
          <executions>
            <execution>
              <goals>
                <goal>repackage</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        ...
      </plugins>
      ...
    </build>
    Thu Sep 24 01:50:36 2020 - permalink -
    QRCode
    - https://stackoverflow.com/questions/59350847/how-to-create-fat-jar-with-all-dependencies-for-spring-application/59351830#59351830
    Fatjar Maven Plugin Spring SpringBoot
  • Spring Data JPA - Reference Documentation

    Tous les mots-clefs utilisables pour créer les méthodes findByXXX de JPA.

    Tue Sep 22 14:32:13 2020 - permalink -
    QRCode
    - https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods.query-creation
    FindBy JPA Query Requêtes SpringBoot
  • Spring Data JPA Many To Many Relationship Mapping Example

    Un exemple de mise en place de relation many-to-many.

    Sources disponibles ici

    Fri Sep 18 20:17:58 2020 - permalink -
    QRCode
    - https://attacomsian.com/blog/spring-data-jpa-many-to-many-mapping#configure-mysql-database
    JPA ManyToMany Relation SpringBoot
  • java - JPA many-to-many relationship causing infinite recursion and stack overflow error - Stack Overflow

    Encore une surprise fumante de JPA.

    Dans mon cas il s'agissait d'une relation many-to-many. Et l'erreur rencontrée était en effet une récursion infinie, qui concrètement se matérialisait par l'envoi d'un JSON dans lequel une ressource A contient une ressource B, qui est contenue par ressource A, qui contient une ressource B ...

    Le plugin RESTED m'indiquait gentiment que du fait de la taille excessive (>20ko) du JSON, il devait enlever la coloration syntaxique.

    Bref.

    Pour résoudre le problème, il faut ajouter une annotation @JsonIgnore au dessus de l'attribut annoté @ManyToMany de l'une des deux entités de la relation l'entité owner de la relation (Edit: merci @Antichesse).

    Plus d'explications ici

    Fri Sep 18 20:01:26 2020 * - permalink -
    QRCode
    - https://stackoverflow.com/questions/43481353/jpa-many-to-many-relationship-causing-infinite-recursion-and-stack-overflow-erro/43481692#43481692
    Erreur JPA JSON ManyToMany Relation SpringBoot
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation