Git Product home page Git Product logo

yorku-citrus / citrus Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 13.07 MB

EECS4413 Building eCommerce Systems at York University. This course covers the software development life cycle of e-commerce applications. It focuses on four software engineering phases: analysis, design, implementation and testing.

Home Page: https://citrus.yuri.moe

License: MIT License

Java 73.32% HTML 20.85% CSS 4.48% JavaScript 1.36%
ecommerce eecs4413 java javaee responsive-design york-university

citrus's People

Contributors

loveritsu929 avatar mc256 avatar vishal0027 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

citrus's Issues

AddressDAO addBillingAddress:" Parameter at position 1 is not set."

public int addBillingAddress(BillingAddressBean billing) throws SQLException{
	System.out.println(billing);
	System.out.println(billing.getUserId());
        /*BillingAddressBean [id=0, userId=3, timestamp=2018-04-08 22:53:45.085, firstName= My dad , lastName=pays for me, credit=TD 11223344, cvv=CVV, street=Jane, province=AN, country=Wakada, zip=666 666]
             3
             */
	addBillingAddressStatement.setInt(1, billing.getUserId());
	addBillingAddressStatement.setString(2, billing.getFirstName());
	addBillingAddressStatement.setString(3, billing.getLastName());
	addBillingAddressStatement.setString(4, billing.getCredit());
	addBillingAddressStatement.setString(5, billing.getCvv());
	addBillingAddressStatement.setString(6, billing.getStreet());
	addBillingAddressStatement.setString(7, billing.getProvince());
	addBillingAddressStatement.setString(8, billing.getCountry());
	addBillingAddressStatement.setString(9, billing.getZip());
	
	
	return addAddressStatement.executeUpdate();
}

partNumber

book Id is the corresponding column in the database that you can use to map into Part Number.

Possible defect - database connection timeout issue

public Connection getConnection() { return this.db_connection; } in CitrusDAO.java

In case the connection idle for a long time, the connection might timeout, therefore, it requires to reconnect. Please do not forget the verify the connection before return.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.