Commit a83ba099 authored by michael.simon's avatar michael.simon
Browse files

Change Datatype for image_entity to @Basic instead of @Lob

parent c1b45729
......@@ -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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment