我的名片

网名:轻舞肥羊

职业:Java Python 架构 PM

现居:武汉

企鹅号:43131588

  • Hibernate One to One Unidirectional Foreign Key

    Hibernate One to One Unidirectional Foreign Key

    In this tutorial, we show you how to configure a Hibernate One-to-One Unidirectional Association with Foreign keys using either annotations or xml mapping files.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate One to One Unidirectional Shared Primary Key

    Hibernate One to One Unidirectional Shared Primary Key

    In this tutorial, we show you how to configure a Hibernate One-to-One Unidirectional Association with shared primary key using either annotations or xml mapping files.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate Date, Time and DateTime Mapping

    Hibernate Date, Time and DateTime Mapping

    In this tutorial we show how to work with java.lang.Date to store Date, Time and DateTime using Hibernate Annotations or XML Mappings. Hibernate allows various Java Date/Time classes to be mapped. Like the java.sql.Date, java.sql.Time or java.sql.Timestamp. But to avoid dependencies on the java.sql package, it’s common to use java.util or java.time Date/Time classes instead.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Mapping Enum Types with Hibernate Example

    In this tutorial we show how to persist Java Enum types using Hibernate. Hibernate supports the mapping of Java enums as basic value types in various ways.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate @Embeddable and @Embedded Annotation Example

    Hibernate @Embeddable and @Embedded Annotation Example

    In this tutorial we show how to embed one entity inside another entity, so they are mapped to a single table. With Hibernate we can use the @Embeddable annotation to mark a class to be eligible as an embeddable class. We can use the @Embedded annotation to embed an embeddable class. The attributes of embedded class can be overridden using the @AttributeOverrides and the @AttributeOverride annotations. Let’s see how this works, by following this example.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate dynamic-insert attriburte example

    This tutorial shows how to use the dynamic-insert attribute or @DynamicInsert annotation used by Hibernate. This attribute/annotation tells Hibernate whether to include null properties in the SQL INSERT statement.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate Dynamic-Update Attriburte Example

    This tutorial shows how to use the dynamic-update attribute or @DynamicUpdate annotation used by Hibernate. This attribute/annotation tells Hibernate to only include the updated properties of the entity in the SQL UPDATE Statement.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • JPA EntityManager Example

    JPA EntityManager Example

    This tutorial shows how to work with the Java Persistence API. The purpose of JPA is to create an abstraction layer between the database layer and an ORM framework. This enables us to loosely couple our code with any ORM framework and easily change from vendor.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate/JPA Single Table Inheritance Example

    Hibernate/JPA Single Table Inheritance Example

    In this tutorial, we show how to map entity hierarchies onto database tables. There are several ways of mapping inheritance to the database. Here, we’ll look into Hibernate/JPA single table inheritance.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate/JPA Joined Table Inheritance Example

    Hibernate/JPA Joined Table Inheritance Example

    In this tutorial, we show how to map entity hierarchies onto database tables. There are several ways of mapping inheritance to the database. Here, we’ll look into Hibernate/JPA joined table inheritance.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate/JPA Table Per Class Inheritance Example

    Hibernate/JPA Table Per Class Inheritance Example

    In this tutorial, we show how to map entity hierarchies onto database tables. There are several ways of mapping inheritance to the database. Here, we’ll look into Hibernate/JPA table per class inheritance.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate/JPA Named Query XML and Annotation Example

    This tutorial show how to use Hibernate/JPA Named Queries. We start by explaining why we would use named queries. Next, we show an example of how to use named queries, either with annotations or XML configuration.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate/JPA Named Native Query XML and Annotation Example

    Previously, we saw how to use named queries. This tutorial, we show how to use Hibernate/JPA Named Native Queries. With Named Native Queries, we can use native SQL statements.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate/JPA Named Stored Procedure XML and Annotation Example

    This tutorial show how to use Named Stored Procedures using JPA with either XML and Annotations. We show a concrete example how to use Named Stored Procedures.

    轻舞肥羊2019-08-10[Java]

    阅读更多
  • Hibernate/JPA Batch Insert and Batch Update Example

    This tutorial shows how to create batch insert and batch update statements using JPA and Hibernate. JDBC offers support for batching together SQL statements that can be represented as a single PreparedStatement. The JDBC driver will send the batched operation to the server in one call. This can potentially lead in a reduction to network bandwidth usage.

    轻舞肥羊2019-08-10[Java]

    阅读更多
共有 1564 条记录 首页 << 909192939495969798 >> 末页

 


  • 微信公众号

  • 我的微信

站点声明:

1、一号门博客CMS,由Python, MySQL, Nginx, Wsgi 强力驱动

2、部分文章或者资源来源于互联网, 有时候很难判断是否侵权, 若有侵权, 请联系邮箱:summer@yihaomen.com, 同时欢迎大家注册用户,主动发布无版权争议的 文章/资源.

3、鄂ICP备14001754号-3, 鄂公网安备 42280202422812号