Package org.apache.aries.samples.ariestrader.beans

Examples of org.apache.aries.samples.ariestrader.beans.AccountDataBeanImpl


            stmt.close();

            commit(conn);

            accountData =
                new AccountDataBeanImpl(accountID, loginCount, logoutCount, lastLogin, creationDate, balance, openBalance,
                    userID);
            if (Log.doTrace())
                Log.traceExit("TradeJdbc:register");
        } catch (Exception e) {
            Log.error("TradeJdbc:register -- error registering new user", e);
View Full Code Here


        if (!rs.next())
            Log.error("TradeJdbc:getAccountDataFromResultSet -- cannot find account data");

        else
            accountData =
                new AccountDataBeanImpl(new Integer(rs.getInt("accountID")), rs.getInt("loginCount"), rs
                    .getInt("logoutCount"), rs.getTimestamp("lastLogin"), rs.getTimestamp("creationDate"), rs
                    .getBigDecimal("balance"), rs.getBigDecimal("openBalance"), rs.getString("profile_userID"));
        return accountData;
    }
View Full Code Here

TOP

Related Classes of org.apache.aries.samples.ariestrader.beans.AccountDataBeanImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.