#625 - Rename @DocStoreEmbedded to @DocEmbedded (with deprecation)

This commit is contained in:
Robin Bygrave
2016-03-29 15:46:10 +13:00
parent fdb2965d6e
commit 04965892f0
8 changed files with 64 additions and 41 deletions
@@ -1,15 +1,14 @@
package com.avaje.tests.model.basic;
import com.avaje.ebean.annotation.DocStoreEmbedded;
import java.io.Serializable;
import java.sql.Timestamp;
import com.avaje.ebean.annotation.DocEmbedded;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Version;
import java.io.Serializable;
import java.sql.Timestamp;
/**
* Order Detail entity bean.
@@ -33,7 +32,7 @@ public class OrderDetail implements Serializable {
Double unitPrice;
@ManyToOne
@DocStoreEmbedded(doc = "id,name,sku")
@DocEmbedded(doc = "id,name,sku")
Product product;
Timestamp cretime;