About 373,000 results
Open links in new tab
  1. Mapping a row from a SQL data to a Java object - Stack Overflow

    I have a Java class with instance fields (and matching setter methods) that match the column names of a SQL database table. I would like to elegantly fetch a row from the table (into a …

  2. java - JPA Instant/ZonedDateTime Database mapping - Stack …

    Dec 29, 2021 · Mapping Instant and ZonedDateTime to TIMESTAMP but convert them to UTC when serializing, and back to JVM timezone when deserializing. (not ideal, but good enough) I …

  3. java - Storing a Map<String,String> using JPA - Stack Overflow

    Aug 25, 2014 · I am wondering if it is possible using annotations to persist the attributes map in the following class using JPA2 public class Example { long id; // .... Map&lt;String, String&gt;

  4. java - Mapping objects in database - Stack Overflow

    Dec 9, 2022 · I am trying to learn hibernate and going through a tutorial i was trying to implement OneToOne mapping. I have a Question and an Answer class/entity. I have mapped an Answer …

  5. java - Database mapping library - Stack Overflow

    Oct 3, 2012 · You can use object-relationship mapping (ORM) technique (Example As Hibernate, TopLink) for mapping database table to Java Object. For parsing from Java Object to JSON …

  6. How to map database column names to Java class fields using …

    Apr 24, 2015 · How to map database column names to Java class fields using apache-commons-dbutils Asked 10 years, 7 months ago Modified 2 years, 9 months ago Viewed 12k times

  7. java - Difference between ORM and Object Mapping? - Stack …

    MyBatis can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records. So my guess is that Object …

  8. java - Snowflake Database: JPA Entity Mapping Issue with Null …

    Feb 12, 2024 · Despite these efforts, the issue persists, and null values in the Snowflake database are not being properly mapped to my entity class in JPA. I would greatly appreciate …

  9. How to map oracle dataType to java dataType? - Stack Overflow

    Nov 21, 2021 · how can mapping oracle dataType to java dataType? I tried as below but Not accurate . DatabaseMetaData databaseMetaData = this.getConnection().getMetaData(); …

  10. What Java ORM do you prefer, and why? - Stack Overflow

    SimpleORM provides similar functionality to Hibernate by mapping data in a relational database to Java objects in memory. Queries can be specified in terms of Java objects, object identity is …