incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r906253 - in /incubator/aries/trunk/ariestrader-sample/modules: ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/ ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/ ariestrader-entities/src...
Date Wed, 03 Feb 2010 21:23:40 GMT
Author: jbohn
Date: Wed Feb  3 21:23:39 2010
New Revision: 906253

URL: http://svn.apache.org/viewvc?rev=906253&view=rev
Log:
ARIES-143 move parts from daytrader package to ariestrader package

Added:
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/
      - copied from r906250, incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/daytrader/
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/ariestrader/
      - copied from r906250, incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/daytrader/
Removed:
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/daytrader/
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/daytrader/
Modified:
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountDataBeanImpl.java
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountProfileDataBeanImpl.java
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/HoldingDataBeanImpl.java
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/OrderDataBeanImpl.java
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/QuoteDataBeanImpl.java
    incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/ariestrader/persist/jpa/TradeJpaAm.java

Modified: incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountDataBeanImpl.java?rev=906253&r1=906250&r2=906253&view=diff
==============================================================================
--- incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountDataBeanImpl.java
(original)
+++ incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountDataBeanImpl.java
Wed Feb  3 21:23:39 2010
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.geronimo.samples.daytrader.beans;
+package org.apache.aries.samples.ariestrader.beans;
 
 import java.io.Serializable;
 import java.math.BigDecimal;
@@ -40,12 +40,12 @@
 import javax.persistence.TemporalType;
 import javax.persistence.Transient;
 
-import org.apache.geronimo.samples.daytrader.util.Log;
-import org.apache.geronimo.samples.daytrader.util.TradeConfig;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountProfileDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.HoldingDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.OrderDataBean;
+import org.apache.aries.samples.ariestrader.util.Log;
+import org.apache.aries.samples.ariestrader.util.TradeConfig;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountProfileDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.HoldingDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.OrderDataBean;
 
 @Entity (name = "accountejb")
 @Table(name = "accountejb")

Modified: incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountProfileDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountProfileDataBeanImpl.java?rev=906253&r1=906250&r2=906253&view=diff
==============================================================================
--- incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountProfileDataBeanImpl.java
(original)
+++ incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/AccountProfileDataBeanImpl.java
Wed Feb  3 21:23:39 2010
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.geronimo.samples.daytrader.beans;
+package org.apache.aries.samples.ariestrader.beans;
 
 import javax.persistence.Column;
 import javax.persistence.Entity;
@@ -25,10 +25,10 @@
 import javax.persistence.OneToOne;
 import javax.persistence.Table;
 
-import org.apache.geronimo.samples.daytrader.util.Log;
-import org.apache.geronimo.samples.daytrader.util.TradeConfig;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountProfileDataBean;
+import org.apache.aries.samples.ariestrader.util.Log;
+import org.apache.aries.samples.ariestrader.util.TradeConfig;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountProfileDataBean;
 
 @Entity(name = "accountprofileejb")
 @Table(name =  "accountprofileejb")

Modified: incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/HoldingDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/HoldingDataBeanImpl.java?rev=906253&r1=906250&r2=906253&view=diff
==============================================================================
--- incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/HoldingDataBeanImpl.java
(original)
+++ incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/HoldingDataBeanImpl.java
Wed Feb  3 21:23:39 2010
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.geronimo.samples.daytrader.beans;
+package org.apache.aries.samples.ariestrader.beans;
 
 import java.io.Serializable;
 import java.math.BigDecimal;
@@ -34,11 +34,11 @@
 import javax.persistence.TableGenerator;
 import javax.persistence.Transient;
 
-import org.apache.geronimo.samples.daytrader.util.Log;
-import org.apache.geronimo.samples.daytrader.util.TradeConfig;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.HoldingDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.QuoteDataBean;
+import org.apache.aries.samples.ariestrader.util.Log;
+import org.apache.aries.samples.ariestrader.util.TradeConfig;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.HoldingDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.QuoteDataBean;
 
 @Entity(name = "holdingejb")
 @Table(name = "holdingejb")

Modified: incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/OrderDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/OrderDataBeanImpl.java?rev=906253&r1=906250&r2=906253&view=diff
==============================================================================
--- incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/OrderDataBeanImpl.java
(original)
+++ incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/OrderDataBeanImpl.java
Wed Feb  3 21:23:39 2010
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.geronimo.samples.daytrader.beans;
+package org.apache.aries.samples.ariestrader.beans;
 
 import java.io.Serializable;
 import java.math.BigDecimal;
@@ -37,12 +37,12 @@
 import javax.persistence.TemporalType;
 import javax.persistence.Transient;
 
-import org.apache.geronimo.samples.daytrader.util.Log;
-import org.apache.geronimo.samples.daytrader.util.TradeConfig;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.HoldingDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.OrderDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.QuoteDataBean;
+import org.apache.aries.samples.ariestrader.util.Log;
+import org.apache.aries.samples.ariestrader.util.TradeConfig;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.HoldingDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.OrderDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.QuoteDataBean;
 
 @Entity(name = "orderejb")
 @Table(name = "orderejb")

Modified: incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/QuoteDataBeanImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/QuoteDataBeanImpl.java?rev=906253&r1=906250&r2=906253&view=diff
==============================================================================
--- incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/QuoteDataBeanImpl.java
(original)
+++ incubator/aries/trunk/ariestrader-sample/modules/ariestrader-entities/src/main/java/org/apache/aries/samples/ariestrader/beans/QuoteDataBeanImpl.java
Wed Feb  3 21:23:39 2010
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.geronimo.samples.daytrader.beans;
+package org.apache.aries.samples.ariestrader.beans;
 
 import java.io.Serializable;
 import java.math.BigDecimal;
@@ -28,9 +28,9 @@
 import javax.persistence.NamedQuery;
 import javax.persistence.Table;
 
-import org.apache.geronimo.samples.daytrader.util.Log;
-import org.apache.geronimo.samples.daytrader.util.TradeConfig;
-import org.apache.geronimo.samples.daytrader.persistence.api.QuoteDataBean;
+import org.apache.aries.samples.ariestrader.util.Log;
+import org.apache.aries.samples.ariestrader.util.TradeConfig;
+import org.apache.aries.samples.ariestrader.persistence.api.QuoteDataBean;
 
 @Entity(name = "quoteejb")
 @Table(name = "quoteejb")
@@ -47,7 +47,7 @@
     @NamedQuery(name = "quoteejb.findByChange1", query = "SELECT q FROM quoteejb q WHERE
q.change1 = :change1")
 })
 @NamedNativeQueries({
-    @NamedNativeQuery(name="quoteejb.quoteForUpdate", query="select * from quoteejb q where
q.symbol=? for update",resultClass=org.apache.geronimo.samples.daytrader.beans.QuoteDataBeanImpl.class)
+    @NamedNativeQuery(name="quoteejb.quoteForUpdate", query="select * from quoteejb q where
q.symbol=? for update",resultClass=org.apache.aries.samples.ariestrader.beans.QuoteDataBeanImpl.class)
 })
 
 public class QuoteDataBeanImpl implements QuoteDataBean, Serializable {

Modified: incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/ariestrader/persist/jpa/TradeJpaAm.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/ariestrader/persist/jpa/TradeJpaAm.java?rev=906253&r1=906250&r2=906253&view=diff
==============================================================================
--- incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/ariestrader/persist/jpa/TradeJpaAm.java
(original)
+++ incubator/aries/trunk/ariestrader-sample/modules/ariestrader-persist-jpa-am/src/main/java/org/apache/aries/samples/ariestrader/persist/jpa/TradeJpaAm.java
Wed Feb  3 21:23:39 2010
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.geronimo.samples.daytrader.persist.jpa;
+package org.apache.aries.samples.ariestrader.persist.jpa;
 
 import java.math.BigDecimal;
 import java.sql.Timestamp;
@@ -28,21 +28,21 @@
 import javax.persistence.PersistenceUnit;
 import javax.persistence.Query;
 
-import org.apache.geronimo.samples.daytrader.api.TradeServices;
-import org.apache.geronimo.samples.daytrader.beans.AccountDataBeanImpl;
-import org.apache.geronimo.samples.daytrader.beans.AccountProfileDataBeanImpl;
-import org.apache.geronimo.samples.daytrader.beans.HoldingDataBeanImpl;
-import org.apache.geronimo.samples.daytrader.beans.OrderDataBeanImpl;
-import org.apache.geronimo.samples.daytrader.beans.QuoteDataBeanImpl;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.AccountProfileDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.HoldingDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.MarketSummaryDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.OrderDataBean;
-import org.apache.geronimo.samples.daytrader.persistence.api.QuoteDataBean;
-import org.apache.geronimo.samples.daytrader.util.FinancialUtils;
-import org.apache.geronimo.samples.daytrader.util.Log;
-import org.apache.geronimo.samples.daytrader.util.TradeConfig;
+import org.apache.aries.samples.ariestrader.api.TradeServices;
+import org.apache.aries.samples.ariestrader.beans.AccountDataBeanImpl;
+import org.apache.aries.samples.ariestrader.beans.AccountProfileDataBeanImpl;
+import org.apache.aries.samples.ariestrader.beans.HoldingDataBeanImpl;
+import org.apache.aries.samples.ariestrader.beans.OrderDataBeanImpl;
+import org.apache.aries.samples.ariestrader.beans.QuoteDataBeanImpl;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.AccountProfileDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.HoldingDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.MarketSummaryDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.OrderDataBean;
+import org.apache.aries.samples.ariestrader.persistence.api.QuoteDataBean;
+import org.apache.aries.samples.ariestrader.util.FinancialUtils;
+import org.apache.aries.samples.ariestrader.util.Log;
+import org.apache.aries.samples.ariestrader.util.TradeConfig;
 
 /**
  * TradeJpaAm uses JPA via a Application Managed (AM)
@@ -52,16 +52,16 @@
  * by customers of the brokerage such as login, logout, get a
  * stock quote, buy or sell a stock, etc. and are specified in
  * the {@link
- * org.apache.geronimo.samples.daytrader.TradeServices}
+ * org.apache.aries.samples.ariestrader.TradeServices}
  * interface
  * 
- * @see org.apache.geronimo.samples.daytrader.TradeServices
+ * @see org.apache.aries.samples.ariestrader.TradeServices
  * 
  */
 
 public class TradeJpaAm implements TradeServices {
 
-    @PersistenceUnit(unitName="daytrader-am")
+    @PersistenceUnit(unitName="ariestrader-am")
     private static EntityManagerFactory emf;
 
     private static BigDecimal ZERO = new BigDecimal(0.0);
@@ -515,7 +515,7 @@
                                                         + "a.OPENBALANCE, "
                                                         + "a.PROFILE_USERID "
                                                         + "from accountejb a where a.profile_userid
= ?",
-                                                        org.apache.geronimo.samples.daytrader.beans.AccountDataBeanImpl.class);
+                                                        org.apache.aries.samples.ariestrader.beans.AccountDataBeanImpl.class);
                 findaccountid.setParameter(1, userID);
                 AccountDataBeanImpl account = (AccountDataBeanImpl) findaccountid.getSingleResult();
                 Integer accountid = account.getAccountID();



Mime
View raw message