Guest User

Untitled

a guest
Feb 2nd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. 018-01-31 14:21:38 INFO org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [
  2. name: persistence_unit_meudb
  3. ...]
  4. 2018-01-31 14:21:38 WARN org.hibernate.orm.connections - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  5. 2018-01-31 14:21:38 INFO org.hibernate.orm.connections - HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/meudb]
  6. 2018-01-31 14:21:38 INFO org.hibernate.orm.connections - HHH10001001: Connection properties: {user=root, password=****}
  7. 2018-01-31 14:21:38 INFO org.hibernate.orm.connections - HHH10001003: Autocommit mode: false
  8. 2018-01-31 14:21:38 INFO org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl - HHH000115: Hibernate connection pool size: 20 (min=1)
  9. 2018-01-31 14:21:38 INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
  10. 2018-01-31 14:21:42 INFO org.hibernate.jpa.internal.util.LogHelper - HHH000204: Processing PersistenceUnitInfo [
  11. name: persistence_unit_meudb
  12. ...]
  13. 2018-01-31 14:21:42 WARN org.hibernate.orm.connections - HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  14. 2018-01-31 14:21:42 INFO org.hibernate.orm.connections - HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost:3306/meudb]
  15. 2018-01-31 14:21:42 INFO org.hibernate.orm.connections - HHH10001001: Connection properties: {user=root, password=****}
  16. 2018-01-31 14:21:42 INFO org.hibernate.orm.connections - HHH10001003: Autocommit mode: false
  17. 2018-01-31 14:21:42 INFO org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl - HHH000115: Hibernate connection pool size: 20 (min=1)
  18. 2018-01-31 14:21:42 INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
  19. 2018-01-31 14:21:45 WARN org.hibernate.jpa.internal.EntityManagerFactoryRegistry - HHH000436: Entity manager factory name (persistence_unit_meudb) is already registered. If entity manager will be clustered or passivated, specify a unique value for property 'hibernate.ejb.entitymanager_factory_name'
  20. Antes do Try: 2018-01-31 14:21:45.345
  21. 2018-01-31 14:21:45 INFO org.hibernate.hql.internal.QueryTranslatorFactoryInitiator - HHH000397: Using ASTQueryTranslatorFactory
  22. Hibernate:
  23. select
  24. [ Campos ]
  25. from
  26. tbusuario usuario0_
  27. where
  28. usuario0_.login=?
  29. Antes do Return: 2018-01-31 14:21:45.387
  30. 2018-01-31 14:21:45 INFO org.hibernate.orm.connections - HHH10001008: Cleaning up connection pool [jdbc:mysql://localhost:3306/meudb]
  31. 2018-01-31 14:21:45 INFO org.hibernate.orm.connections - HHH10001008: Cleaning up connection pool [jdbc:mysql://localhost:3306/meudb]
  32. Antes do Return: 2018-01-31 14:21:45.389
  33.  
  34. <?xml version="1.0" encoding="UTF-8"?>
  35. <persistence xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
  36. http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
  37. version="2.0"
  38. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  39. xmlns="http://java.sun.com/xml/ns/persistence">
  40.  
  41. <persistence-unit name="persistence_unit_meudb" transaction-type="RESOURCE_LOCAL">
  42. <provider>org.hibernate.ejb.HibernatePersistence</provider>
  43. <properties>
  44. <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
  45. <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
  46. <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/meudb"/>
  47. <property name="javax.persistence.jdbc.user" value="root"/>
  48. <property name="javax.persistence.jdbc.password" value="root"/>
  49. <property name="hibernate.show_sql" value="true"/>
  50. <property name="hibernate.format_sql" value="true"/>
  51.  
  52. <property name="hibernate.hbm2ddl.auto" value="update"/>
  53. </properties>
  54. </persistence-unit>
  55. </persistence>
  56.  
  57. <property name="hibernate.show_sql" value="true"/>
  58. <property name="hibernate.format_sql" value="true"/>
  59.  
  60. <property name="hibernate.hbm2ddl.auto" value="update"/>
Add Comment
Please, Sign In to add comment