package com.sap.core.odata.processor.ref.jpa;

import javax.persistence.*;

@Entity
@Table(name = "T_SALESORDERHEADER")
@NamedQuery(name = "AllSOHeader", query = "select so from SalesOrderHeader so")
public class SalesOrderHeader {

	@Id
	private long id;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

}
@@ -40,16 +40,44 @@
 f.jpa;%0A%0A
+import java.util.Calendar;%0A%0A
 import j
@@ -276,16 +276,758 @@
 long id;
+%0A%09@Column(name = %22NAME%22)%0A%09  private String name;%0A%09@Column(name = %22DESCRIPTION%22)%0A%09  private String description;%0A%09@Column(name = %22PRICE%22)%0A%09%09private int price;%0A%09@Temporal(TemporalType.TIMESTAMP)%0A%09%09private Calendar deliveryDate;%0A%0A%09public Calendar getDeliveryDate() %7B%0A%09%09return deliveryDate;%0A%09%7D%0A%0A%09public void setDeliveryDate(Calendar deliveryDate) %7B%0A%09%09this.deliveryDate = deliveryDate;%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public void setName(String name) %7B%0A%09%09this.name = name;%0A%09%7D%0A%0A%09public String getDescription() %7B%0A%09%09return description;%0A%09%7D%0A%0A%09public void setDescription(String description) %7B%0A%09%09this.description = description;%0A%09%7D%0A%0A%09public int getPrice() %7B%0A%09%09return price;%0A%09%7D%0A%0A%09public void setPrice(int price) %7B%0A%09%09this.price = price;%0A%09%7D
 %0A%0A%09publi

Change in JPA model Change-Id: I5b3f40602b67084c27ef75372c7b8bbe3be15979 Signed-off-by: Anirban Roy <anirban.roy@sap.com>