Skip to content

Instantly share code, notes, and snippets.

View natanaeldeveloper's full-sized avatar
♨️
Focusing

Natanael Oliveira natanaeldeveloper

♨️
Focusing
View GitHub Profile
@natanaeldeveloper
natanaeldeveloper / README-Template.md
Created March 1, 2020 03:25 — forked from professorjosedeassis/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@natanaeldeveloper
natanaeldeveloper / persistence.xml
Created May 1, 2020 16:06 — forked from samuelsonbrito/persistence.xml
Configuração JPA Hibernate
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<!-- Unidade de persistencia -->
<persistence-unit name="seuPU">
<!-- Implementação do JPA -->
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<!-- Lista de entidades -->
<class>suaClasse</class>
<properties>
<!-- Propriedades JDBC -->