Created
September 14, 2018 02:46
-
-
Save gpedro/20c9d6cdc4a87d9a479e8a47b57c3769 to your computer and use it in GitHub Desktop.
Configuração do Projeto - context.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Context> | |
<!-- aqui você coloca aquelas credenciais de desenvolvimento que estavam em persistence.xml --> | |
<Resource name="jdbc/xablau" auth="Container" | |
type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" | |
url="jdbc:postgresql://localhost:5432/xablau" | |
username="postgres" password="postgres" /> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment