{"id":25188374,"url":"https://github.com/jfcardoso/exercicios-jpa","last_synced_at":"2026-05-05T07:31:43.327Z","repository":{"id":187308054,"uuid":"471458087","full_name":"jfcardoso/exercicios-jpa","owner":"jfcardoso","description":"Alguns exercícios básicos usando o JPA (Java Persistence API) e o  MySQL.","archived":false,"fork":false,"pushed_at":"2022-03-18T17:56:16.000Z","size":14525,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T09:45:56.143Z","etag":null,"topics":["dao","java11","jpa-persistence-applications","mysql-database","sql"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfcardoso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-18T17:26:50.000Z","updated_at":"2022-03-18T17:35:26.000Z","dependencies_parsed_at":"2023-08-09T20:54:26.552Z","dependency_job_id":null,"html_url":"https://github.com/jfcardoso/exercicios-jpa","commit_stats":null,"previous_names":["jfcardoso/exercicios-jpa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jfcardoso/exercicios-jpa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfcardoso%2Fexercicios-jpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfcardoso%2Fexercicios-jpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfcardoso%2Fexercicios-jpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfcardoso%2Fexercicios-jpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfcardoso","download_url":"https://codeload.github.com/jfcardoso/exercicios-jpa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfcardoso%2Fexercicios-jpa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32640533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dao","java11","jpa-persistence-applications","mysql-database","sql"],"created_at":"2025-02-09T20:20:20.583Z","updated_at":"2026-05-05T07:31:43.312Z","avatar_url":"https://github.com/jfcardoso.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Exercicios JPA \u0026 MYSQL\n\nAlguns exercícios básicos usando o JPA (Java Persistence API) e o banco de dados MySQL.\nAssuntos tratados:\n- Configurando o arquivo `persistence.xml`\n- Uso das anotações: @Entity, @Id, GeneratedValue, @Column, @Transient, @Table, dentre outras.\n- Uso das Interfaces `EntityManager` e `EntityManagerFactory`para instanciar objetos e realizar consultas.\n- Uso do DAO nas conexões com o Banco de Dados para a inserção e consulta de dados.\n- Anotações JPA para relacionamentos: @OneToOne, @OneToMany, @ManyToOne, @ManyToMany. Também @JoinColumn e @JoinTable.\n- Named Query (usando jpql) X Named Native Query (usando sql).\n- Embeddable. (mapeando composição usando JPA através da anotação @Embeddable)\n- Herança com JPA (mapeando herança usando JPA através da anotação @Inheritance (strategy= \"temos três opções que foram exploradas nos exercícios\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfcardoso%2Fexercicios-jpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfcardoso%2Fexercicios-jpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfcardoso%2Fexercicios-jpa/lists"}