About 84,600 results
Open links in new tab
  1. How to validate website URL field of an JPA entity?

    Aug 31, 2017 · You should use @URL constraint. If you want to allow a specific protocol - there's a protocol attribute for this constraint: @URL(protocol = "http") private String companyUrl; In …

  2. JPA property java.net.URL - Stack Overflow

    Mar 1, 2010 · Currently I save this URL in a simple String property, but java.net.URL would provide me with additional goodies such as detection of malformed URLs etc. On the other …

  3. Configuring the REST URL Path :: Spring Data REST

    You can configure the segments of the URL path under which the resources of a JPA repository are exported. To do so, add an annotation at the class level or at the query method level.

  4. How to represent and validate website URLs for a JPA entity

    Aug 31, 2017 · The only requirement (as of now) beyond entry of the website URL is to validate that the URL is valid and display the URL with other company information. The application …

  5. A Guide to JPA with Spring - Baeldung

    Oct 27, 2023 · This tutorial shows how to set up Spring with JPA, using Hibernate as a persistence provider. See this article for a step-by-step introduction to setting up the Spring …

  6. How to specify a jdbc.url in the persistence.xml relative to the ...

    Aug 7, 2010 · All connection URLs have the following form: The dbName portion of the URL identifies a specific database. A database can be in one of many locations: in the current …

  7. JPA Query Methods :: Spring Data JPA

    Generally, the query creation mechanism for JPA works as described in Query Methods. The following example shows what a JPA query method translates into: Example 1. Query creation …

  8. Spring Boot JpaRepository with Example - GeeksforGeeks

    Aug 8, 2024 · In this article, we are going to discuss how to use JpaRepository to manage data in a Spring Boot application. But beyond just the basics, Spring Boot opens the door to …

  9. Spring Data JPA

    Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA-based (Java Persistence API) repositories. It makes it easier to build Spring-powered …

  10. Spring Boot - Spring Data JPA - GeeksforGeeks

    Apr 3, 2024 · Spring Data JPA is part of the spring framework. The goal of spring data repository abstraction is to significantly reduce the amount of boilerplate code required to implement a …

  11. Some results have been removed
Refresh