return st;
}
public Image addImage(User owner, byte[] image) {
try {
Image im = new Image();
im.setImage(new SerialBlob(image));
im.setUser(owner);
im.setTimestamp(new Date());
em.persist(im);
addLinked(owner, im);
return im;
} catch (SQLException e) {
throw new IllegalArgumentException(e);