TechnionYP5777 / Bugquery

Bug query
9 stars 1 forks source link

Change the database access to use the spring framework #76

Closed tonylekhtman closed 7 years ago

tonylekhtman commented 7 years ago

Change the data access from using strings(jdbc) to using objects(ORM), creating a virtual object database. Making the access more object oriented.

tonylekhtman commented 7 years ago

Making a sample using this guide: https://spring.io/guides/gs/accessing-data-mysql/#scratch

Amit-Oha commented 7 years ago

After a research, @tonylekhtman and myself have figured out how to store entities with embedded classes, and we made a simple demo project which seems to work. So research phase seems to be over, now we need to implement on our project

AdiOmari commented 7 years ago

Nice work guys!

tonylekhtman commented 7 years ago

I got a problem. The StackOverflowRepository is null after I start the application but it should be autowired via the spring boot to be an sql table. Currently debugging this problem.

Amit-Oha commented 7 years ago

helped @tonylekhtman with debugging and the problem was solved

yonzarecki commented 7 years ago

Hey guys, is this issue finished ?

Amit-Oha commented 7 years ago

In progress, @tonylekhtman is on it

tonylekhtman commented 7 years ago

As stated in #102 @AmitOhayon and I have come to conclusion ORM is not the right way for us. Further discussion regarding db design will continue on #102 . closing.Won't do.

yonzarecki commented 7 years ago

@tonylekhtman Is this branch still needed ?

selection_008

tonylekhtman commented 7 years ago

No