Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.37 KB | None | 0 0
  1. lip 14, 2017 10:40:28 PM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation
  2. INFO: HHH000204: Processing PersistenceUnitInfo [
  3. name: baza.podataka.za.blog
  4. ...]
  5. lip 14, 2017 10:40:28 PM org.hibernate.Version logVersion
  6. INFO: HHH000412: Hibernate Core {5.2.10.Final}
  7. lip 14, 2017 10:40:28 PM org.hibernate.cfg.Environment <clinit>
  8. INFO: HHH000206: hibernate.properties not found
  9. lip 14, 2017 10:40:28 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
  10. INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  11. lip 14, 2017 10:40:29 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
  12. INFO: HHH010002: C3P0 using driver: org.apache.derby.jdbc.ClientDriver at URL: jdbc:derby://localhost:1527/blogBaza
  13. lip 14, 2017 10:40:29 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
  14. INFO: HHH10001001: Connection properties: {useUnicode=true, user=blogDBAdmin, password=****, CharSet=utf8, characterEncoding=utf8}
  15. lip 14, 2017 10:40:29 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
  16. INFO: HHH10001003: Autocommit mode: false
  17. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  18. SLF4J: Defaulting to no-operation (NOP) logger implementation
  19. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  20. MLog initialization issue: slf4j found no binding or threatened to use its (dangerously silent) NOPLogger. We consider the slf4j library not found.
  21. lip 14, 2017 10:40:29 PM com.mchange.v2.log.MLog
  22. INFO: MLog clients using java 1.4+ standard logging.
  23. lip 14, 2017 10:40:29 PM com.mchange.v2.c3p0.C3P0Registry
  24. INFO: Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
  25. lip 14, 2017 10:40:30 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
  26. INFO: HHH10001007: JDBC isolation level: READ_COMMITTED
  27. lip 14, 2017 10:40:30 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource
  28. INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@a4e16dc7 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@cb49f1a [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, identityToken -> 1hgfcox9o1apgmrx17jk3i3|647e447, idleConnectionTestPeriod -> 3600, initialPoolSize -> 5, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1800, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 5, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@7269fd27 [ description -> null, driverClass -> null, factoryClassLocation -> null, forceUseNamedDriverClass -> false, identityToken -> 1hgfcox9o1apgmrx17jk3i3|1e802ef9, jdbcUrl -> jdbc:derby://localhost:1527/blogBaza, properties -> {useUnicode=true, user=******, password=******, CharSet=utf8, characterEncoding=utf8} ], preferredTestQuery -> null, privilegeSpawnedThreads -> false, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, extensions -> {}, factoryClassLocation -> null, identityToken -> 1hgfcox9o1apgmrx17jk3i3|3835c46, numHelperThreads -> 3 ]
  29. lip 14, 2017 10:40:30 PM org.hibernate.dialect.Dialect <init>
  30. INFO: HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect
  31. lip 14, 2017 10:40:32 PM org.hibernate.cache.spi.UpdateTimestampsCache <init>
  32. INFO: HHH000250: Starting update timestamps cache at region: org.hibernate.cache.spi.UpdateTimestampsCache
  33. lip 14, 2017 10:40:32 PM org.hibernate.cache.internal.StandardQueryCache <init>
  34. INFO: HHH000248: Starting query cache at region: org.hibernate.cache.internal.StandardQueryCache
  35. lip 14, 2017 10:40:33 PM org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl getIsolatedConnection
  36. INFO: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@7bdf6bb7] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode.
  37. lip 14, 2017 10:40:33 PM org.hibernate.hql.internal.QueryTranslatorFactoryInitiator initiateService
  38. INFO: HHH000397: Using ASTQueryTranslatorFactory
  39. Dodajem blog zapis.
  40. Hibernate:
  41.  
  42. values
  43. next value for hibernate_sequence
  44. Hibernate:
  45. /* insert hr.fer.zemris.java.tecaj_13.model.BlogEntry
  46. */ insert
  47. into
  48. blog_entries
  49. (createdAt, lastModifiedAt, text, title, id)
  50. values
  51. (?, ?, ?, ?, ?)
  52. Dodajem blog zapis - gotovo.
  53. Dodajem komentar.
  54. Hibernate:
  55.  
  56. values
  57. next value for hibernate_sequence
  58. Hibernate:
  59. /* insert hr.fer.zemris.java.tecaj_13.model.BlogComment
  60. */ insert
  61. into
  62. blog_comments
  63. (blogEntry_id, message, postedOn, usersEMail, id)
  64. values
  65. (?, ?, ?, ?, ?)
  66. Dodajem komentar - gotovo.
  67. Dodajem komentar.
  68. Hibernate:
  69.  
  70. values
  71. next value for hibernate_sequence
  72. Hibernate:
  73. /* insert hr.fer.zemris.java.tecaj_13.model.BlogComment
  74. */ insert
  75. into
  76. blog_comments
  77. (blogEntry_id, message, postedOn, usersEMail, id)
  78. values
  79. (?, ?, ?, ?, ?)
  80. Dodajem komentar - gotovo.
  81. Dodajem komentar.
  82. Hibernate:
  83.  
  84. values
  85. next value for hibernate_sequence
  86. Hibernate:
  87. /* insert hr.fer.zemris.java.tecaj_13.model.BlogComment
  88. */ insert
  89. into
  90. blog_comments
  91. (blogEntry_id, message, postedOn, usersEMail, id)
  92. values
  93. (?, ?, ?, ?, ?)
  94. Dodajem komentar - gotovo.
  95. Primjer upita.
  96. Hibernate:
  97. /* select
  98. b
  99. from
  100. BlogComment as b
  101. where
  102. b.blogEntry=:be */ select
  103. blogcommen0_.id as id1_0_,
  104. blogcommen0_.blogEntry_id as blogEntr5_0_,
  105. blogcommen0_.message as message2_0_,
  106. blogcommen0_.postedOn as postedOn3_0_,
  107. blogcommen0_.usersEMail as usersEMa4_0_
  108. from
  109. blog_comments blogcommen0_
  110. where
  111. blogcommen0_.blogEntry_id=?
  112. Blog [Moj prvi blog] ima komentar: [Blog ti je super!]
  113. Blog [Moj prvi blog] ima komentar: [Vau!]
  114. Blog [Moj prvi blog] ima komentar: [Još jedan komentar.]
  115. Primjer upita - gotovo.
  116. Primjer upita 2.
  117. Hibernate:
  118. /* BlogEntry.upit1 */ select
  119. blogcommen0_.id as id1_0_,
  120. blogcommen0_.blogEntry_id as blogEntr5_0_,
  121. blogcommen0_.message as message2_0_,
  122. blogcommen0_.postedOn as postedOn3_0_,
  123. blogcommen0_.usersEMail as usersEMa4_0_
  124. from
  125. blog_comments blogcommen0_
  126. where
  127. blogcommen0_.blogEntry_id=?
  128. and blogcommen0_.postedOn>?
  129. Blog [Moj prvi blog] ima komentar: [Još jedan komentar.]
  130. Primjer upita 2 - gotovo.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement