You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ri...@apache.org on 2006/10/05 12:28:35 UTC

svn commit: r453177 - /incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java

Author: rineholt
Date: Thu Oct  5 03:28:28 2006
New Revision: 453177

URL: http://svn.apache.org/viewvc?view=rev&rev=453177
Log: (empty)

Modified:
    incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java

Modified: incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java?view=diff&rev=453177&r1=453176&r2=453177
==============================================================================
--- incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java (original)
+++ incubator/tuscany/java/sampleapps/bigbank/account/src/main/java/bigbank/account/services/accountdata/AccountDataServiceDASImpl.java Thu Oct  5 03:28:28 2006
@@ -94,24 +94,6 @@
 
     protected static final String protocol = "jdbc:derby:";
 
-    public CustomerProfileData testgetCustomerByLoginIDThroughDASRead(final String logonID) throws Exception {
-
-        InputStream mapping = createConfigStream();
-
-        Connection conn = getConnection();
-        DAS das = DAS.FACTORY.createDAS(mapping, conn);
-        Command select = das.createCommand("SELECT firstName, lastName, loginID, password, id FROM customers where loginID = ?");
-             
-        select.setParameter(1, logonID);     
-     
-        DataObject root = select.executeQuery();
-        conn.close();
-
-        Collection customers = root.getList("CustomerProfileData");
-        CustomerProfileData customerProfileData = (CustomerProfileData) customers.iterator().next();
-        return customerProfileData;
-
-    }
 
     public CustomerProfileData createAccount(CustomerProfileData customerProfile, boolean createSavings, boolean createCheckings)
             throws RemoteException {
@@ -325,7 +307,7 @@
     public static class DateConverter implements Converter {
         public final static DateConverter INSTANCE = new DateConverter();
 
-        public DateConverter() {
+        public DateConverter() { //public empty constructor
         }
 
         public Object getPropertyValue(Object columnData) {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org