---
title: "Discussion on \"Hibernate – Save Image and Other Types of Values to Database\" | Hashnode"
description: "Discussion on \"Hibernate – Save Image and Other Types of Values to Database\". Overview\n\nIn Hibernate, you can save images and other types of values as attributes of your entity classes using appropriate data types and mappings.\n\nTo save images, you can use the @Lob annotation with a data type of byte[] or Blob to indicate that..."
url: "https://hashnode.com/posts/hibernate-save-image-and-other-types-of-values-to-database-1/643d1d3bda81bbd2681998f6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hibernate – Save Image and Other Types of Values to Database](https://pranayblog.hashnode.dev/hibernate-save-image-and-other-types-of-values-to-database-1?utm_source=hashnode&utm_medium=feed)

Overview In Hibernate, you can save images and other types of values as attributes of your entity classes using appropriate data types and mappings. To save images, you can use the @Lob annotation with a data type of byte\[\] or Blob to indicate that...

Apr 17, 2023 · 4 min read · pranayblog.hashnode.dev  
Read the article

-   [#springboot](https://hashnode.com/tag/springboot)
-   [#spring-boot-cj3rk5tin007imsk8uz3eg4kz](https://hashnode.com/tag/spring-boot-cj3rk5tin007imsk8uz3eg4kz)
-   [#spring-data-jpa](https://hashnode.com/tag/spring-data-jpa)

## Written by

[Pranay Gaikwad](https://hashnode.com/@Pranay911)

@Pranay911 · India

  
[View profile](https://hashnode.com/@Pranay911)

Software Engineer at Persistent Systems

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
