daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest May 7th, 2016 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <properties>
  2.         <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/Dados" />
  3.         <property name="javax.persistence.jdbc.user" value="root" />
  4.         <property name="javax.persistence.jdbc.password" value="root" />
  5.         <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" />
  6.  
  7.         <property name="hibernate.hbm2ddl.auto" value="update" />
  8.         <property name="hibernate.show_sql" value="true" />
  9.         <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect" />
  10.  
  11.         <property name="javax.persistence.sql-load-script-source" value="META-INF/cidades.sql"/>
  12.     </properties>
  13. </persistence-unit>
  14.    
  15. <dependency>
  16.         <groupId>org.hibernate</groupId>
  17.         <artifactId>hibernate-entitymanager</artifactId>
  18.         <version>4.3.6.Final</version>
  19.     </dependency>
  20.  
  21.     <!-- Bean validator -->
  22.     <dependency>
  23.         <groupId>org.hibernate</groupId>
  24.         <artifactId>hibernate-validator</artifactId>
  25.         <version>4.3.2.Final</version>
  26.         <scope>compile</scope>
  27.     </dependency>
  28.  
  29.  
  30.     <!-- Driver JDBC do MySQL -->
  31.     <dependency>
  32.         <groupId>mysql</groupId>
  33.         <artifactId>mysql-connector-java</artifactId>
  34.         <version>5.1.25</version>
  35.         <scope>compile</scope>
  36.     </dependency>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top