Skip to content
Snippets Groups Projects
Commit a83ba099 authored by Michael Simon's avatar Michael Simon
Browse files

Change Datatype for image_entity to @Basic instead of @Lob

parent c1b45729
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,9 @@
******************************************************************************/
package edu.kit.scc.webreg.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
@Entity(name = "ImageDataEntity")
......@@ -22,7 +22,7 @@ public class ImageDataEntity extends AbstractBaseEntity {
private static final long serialVersionUID = 1L;
@Column(name = "image_data")
@Lob
@Basic
private byte[] data;
public byte[] getData() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment