Skip to content

Instantly share code, notes, and snippets.

@dagvadorj
dagvadorj / ItemEntities
Last active August 29, 2015 14:01
Item properties
@Entity
public class Item implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String name;
@MapKeyJoinColumn
package com.mycompany;
import java.net.URISyntaxException;
import java.util.Date;
import java.util.UUID;
import javax.jms.Connection;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MapMessage;
import javax.jms.Message;