-
-
Notifications
You must be signed in to change notification settings - Fork 27k
DAO Factory pattern #1270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, I would like to work on this issue. Can you assign it to me? |
Ok @ilhan-mstf |
@ilhan-mstf are you still working on this issue? Thanks. |
not actually, sorry |
@iluwatar I'd like to work on this issue, can you assign it to me? Thanks! |
Ok @NatalieSty |
Which databases should this factory support? Just the ones listed in the document, or others like mySQL or MSSQL? |
@iluwatar I am working on it with AlexTamulaitis. Can you advise which database should this factory support? Thanks!! |
Let's say we need 3 different storages: relational database (e.g. HyperSQL in-memory database), document database (e.g. Mongo), and flat file. @NatalieSty |
@iluwatar we are almost done implementing using mySQL and Derby. Can we support two relational database and one document database? |
Yeah, it's a good start |
@iluwatar We went into some hiccups with mySQL; it seems like mysql is no longer supported by SonarQube, and it would be the same for the cloud version. even if it still supports it, it might require the you to install it and create a sonar user with permissions: https://docs.sonarqube.org/7.4/setup/install-server/. Is derby DB enough for demonstrating this Factory supports relational database? Can we fulfill this issue requirement with just supporting Derby and Mongo? |
Yes, it's good enough for now @NatalieSty |
@iluwatar Do you want us to include the mySQL code in the pull request and raise another issue to try to get it to run on Sonar? We can comment it out to avoid errors. |
I'm not sure that I understand the issue you are having with MySQL and SonarQube. Are you trying to install SonarQube for yourself to scan the code? |
Hi @iluwatar, I am interested and would like to give this issue a try. Can you assign it to me? Thanks! |
Ok @rrreynaldo |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is stale because it has been open 60 days with no activity. |
Could you assign this issue to me? I'd like to resolve it |
@iluwatar I've completed the implementation and am now writing unit tests. Could you let me know what the target code coverage percentage should be for this project ? |
Description:
The DAO (Data Access Object) Factory design pattern is used to abstract and encapsulate all access to the data source, providing a clean separation between the business logic and the data access logic. This pattern enables the application to switch between different data sources and provides a mechanism to manage the data access objects efficiently.
Main elements of the pattern:
References:
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: