ikismail / ShoppingCart

E-Commerce Website Using Java - Spring MVC in Maven - PROJECT IS NOT MAINTAINED
MIT License
364 stars 410 forks source link

DB Schema #21

Closed sandip-narwade closed 6 years ago

sandip-narwade commented 6 years ago

Hello Sir, I want try ur project for that I need .sql file can u provide it

ikismail commented 6 years ago

Hello @sandipJava yu dnt need .sql file to import if you run the application #Hibernate automatically create your tables and column in your configured database schema just try it. If you face any problem ping me. Thanks

sandip-narwade commented 6 years ago

@ikismail thank You sir, I will try... If any prob I will connect u

sandip-narwade commented 6 years ago

it needs H2 DB. How I can used mysql db

ikismail commented 6 years ago

Just add mysql dependency to the pom.xml and in the applicationContext.xml modify the database properties here is the link. Change the dialect, driverClass and database properties according to your db.

sandip-narwade commented 6 years ago

Ok ... I will do, is it will create tables in mySql

fatimazahrachaker commented 6 years ago

hiiiii i have problem in Database did i shoud created ?!!!! i use mySql

ikismail commented 6 years ago

what problem are you facing ?. You can use mySQL. you have to configure you database properties correctly. Check it twice.