incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r966487 - /incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/
Date Thu, 22 Jul 2010 03:07:44 GMT
Author: jbohn
Date: Thu Jul 22 03:07:44 2010
New Revision: 966487

URL: http://svn.apache.org/viewvc?rev=966487&view=rev
Log:
ARIES-367 AriesTrader - eliminate some of the warnings about inconsistent column size

Modified:
    incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountDataBeanImpl.java
    incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountProfileDataBeanImpl.java
    incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/HoldingDataBeanImpl.java
    incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/OrderDataBeanImpl.java
    incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/QuoteDataBeanImpl.java

Modified: incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountDataBeanImpl.java?rev=966487&r1=966486&r2=966487&view=diff
==============================================================================
--- incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountDataBeanImpl.java
(original)
+++ incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountDataBeanImpl.java
Thu Jul 22 03:07:44 2010
@@ -103,7 +103,7 @@ public class AccountDataBeanImpl impleme
     private Collection<HoldingDataBeanImpl> holdings;
     
     @OneToOne(fetch=FetchType.LAZY)
-    @JoinColumn(name="PROFILE_USERID")
+    @JoinColumn(name="PROFILE_USERID", columnDefinition="VARCHAR(250)")
     private AccountProfileDataBeanImpl profile;
 
     /* Accessor methods for relationship fields are only included for the AccountProfile
profileID */

Modified: incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountProfileDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountProfileDataBeanImpl.java?rev=966487&r1=966486&r2=966487&view=diff
==============================================================================
--- incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountProfileDataBeanImpl.java
(original)
+++ incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/AccountProfileDataBeanImpl.java
Thu Jul 22 03:07:44 2010
@@ -43,22 +43,22 @@ import org.apache.aries.samples.ariestra
 public class AccountProfileDataBeanImpl implements AccountProfileDataBean, java.io.Serializable
{
 
 	@Id
-    @Column(name = "USERID", nullable = false)
+    @Column(name = "USERID", nullable = false, length = 250)
     private String userID;              /* userID */
     
-	@Column(name = "PASSWD")
+	@Column(name = "PASSWD", length = 250)
     private String passwd;              /* password */
     
-	@Column(name = "FULLNAME")
+	@Column(name = "FULLNAME", length = 250)
     private String fullName;            /* fullName */
     
-	@Column(name = "ADDRESS")
+	@Column(name = "ADDRESS", length = 250)
     private String address;             /* address */
     
-	@Column(name = "email")
+	@Column(name = "email", length = 250)
     private String email;               /* email */
     
-	@Column(name = "creditcard")
+	@Column(name = "creditcard", length = 250)
 	//why was it credit?
     private String creditCard;          /* creditCard */
     

Modified: incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/HoldingDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/HoldingDataBeanImpl.java?rev=966487&r1=966486&r2=966487&view=diff
==============================================================================
--- incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/HoldingDataBeanImpl.java
(original)
+++ incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/HoldingDataBeanImpl.java
Thu Jul 22 03:07:44 2010
@@ -74,7 +74,7 @@ public class HoldingDataBeanImpl impleme
 	private AccountDataBeanImpl account;
 
 	@ManyToOne(fetch = FetchType.EAGER)
-	@JoinColumn(name = "QUOTE_SYMBOL")
+	@JoinColumn(name = "QUOTE_SYMBOL", columnDefinition="VARCHAR(250)")
 	private QuoteDataBeanImpl quote;
 
 	public HoldingDataBeanImpl() {

Modified: incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/OrderDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/OrderDataBeanImpl.java?rev=966487&r1=966486&r2=966487&view=diff
==============================================================================
--- incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/OrderDataBeanImpl.java
(original)
+++ incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/OrderDataBeanImpl.java
Thu Jul 22 03:07:44 2010
@@ -70,10 +70,10 @@ public class OrderDataBeanImpl implement
 	@Column(name = "ORDERID", nullable = false)
 	private Integer orderID; /* orderID */
 
-	@Column(name = "ORDERTYPE")
+	@Column(name = "ORDERTYPE", length = 250)
 	private String orderType; /* orderType (buy, sell, etc.) */
 
-	@Column(name = "ORDERSTATUS")
+	@Column(name = "ORDERSTATUS", length = 250)
 	private String orderStatus; /*
 								 * orderStatus (open, processing, completed,
 								 * closed, canceled)
@@ -100,7 +100,7 @@ public class OrderDataBeanImpl implement
     private AccountDataBeanImpl account;
 
 	@ManyToOne(fetch = FetchType.EAGER)
-	@JoinColumn(name = "QUOTE_SYMBOL")
+	@JoinColumn(name = "QUOTE_SYMBOL", columnDefinition="VARCHAR(250)")
     private QuoteDataBeanImpl quote;
 
 	@OneToOne(fetch = FetchType.LAZY)

Modified: incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/QuoteDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/QuoteDataBeanImpl.java?rev=966487&r1=966486&r2=966487&view=diff
==============================================================================
--- incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/QuoteDataBeanImpl.java
(original)
+++ incubator/aries/trunk/samples/ariestrader/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/entities/QuoteDataBeanImpl.java
Thu Jul 22 03:07:44 2010
@@ -58,10 +58,10 @@ public class QuoteDataBeanImpl implement
 	private static final long serialVersionUID = 8476917690278143517L;
 	
 	@Id
-    @Column(name = "SYMBOL", nullable = false)
+    @Column(name = "SYMBOL", nullable = false, length = 250)
 	private String symbol;          /* symbol */
     
-	@Column(name = "COMPANYNAME")
+	@Column(name = "COMPANYNAME", length = 250)
     private String companyName;     /* companyName */
     
 	@Column(name = "VOLUME", nullable = false)



Mime
View raw message