About 6,610,000 results
Open links in new tab
  1. java - What's the difference between JPA and Hibernate? - Stack …

    Mar 27, 2012 · Think of JPA as the guidelines that must be followed or an interface, while Hibernate's JPA implementation is code that meets the API as defined by the JPA specification and provides the …

  2. java - JPA vs ORM vs Hibernate? - Stack Overflow

    JPA is the Java Persistence API, specified as part of the JavaEE spec. Hibernate is one of the implementations or that API. There are many versions of JPA and different versions of Hibernate …

  3. java - How to print a query string with parameter values when using ...

    Nov 11, 2009 · Is it possible in Hibernate to print generated SQL queries with real values instead of question marks? How would you suggest to print queries with real values if it is not possible with …

  4. java - How to store date/time and timestamps in UTC time zone with …

    May 11, 2017 · How can I configure JPA/Hibernate to store a date/time in the database as UTC (GMT) time zone? Consider this annotated JPA entity: public class Event { @Id public int id; @Temporal(

  5. java - How to fetch FetchType.LAZY associations with JPA and …

    Mar 12, 2013 · In Hibernate there is a dedicated method for this (Hibernate.initialize()), but JPA has no equivalent of that. Of course you will have to make sure that the invocation is done, when the …

  6. java - Unable to resolve name [org.hibernate.dialect ...

    Nov 26, 2022 · Unable to resolve name [org.hibernate.dialect.MySQL5InnoDBDialect] as strategy [org.hibernate.dialect.Dialect] Asked 3 years ago Modified 1 year, 7 months ago Viewed 30k times

  7. java - Turning off hibernate logging console output - Stack Overflow

    Nov 22, 2008 · I'm using hibernate 3 and want to stop it from dumping all the startup messages to the console. I tried commenting out the stdout lines in log4j.properties but no luck. I've pasted my log file …

  8. hibernate - Difference between FetchType LAZY and EAGER in Java ...

    Jun 7, 2010 · What is the difference between FetchType.LAZY and FetchType.EAGER in Java Persistence API?

  9. java - mapping Hibernate query results to custom class? - Stack Overflow

    May 25, 2016 · Following up on a question I posted yesterday: How to populate POJO class from custom Hibernate query? Can someone show me an example of how to code the following SQL in …

  10. java - JPA Hibernate. How to find the dialect? - Stack Overflow

    Nov 26, 2022 · Spring Boot 3 uses Hibernate 6. Hibernate 6 changed how dialects work, and you need to use org.hibernate.dialect.MySQLDialect (which configures itself based on your actual server …