Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lip 14, 2017 10:40:28 PM org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation
- INFO: HHH000204: Processing PersistenceUnitInfo [
- name: baza.podataka.za.blog
- ...]
- lip 14, 2017 10:40:28 PM org.hibernate.Version logVersion
- INFO: HHH000412: Hibernate Core {5.2.10.Final}
- lip 14, 2017 10:40:28 PM org.hibernate.cfg.Environment <clinit>
- INFO: HHH000206: hibernate.properties not found
- lip 14, 2017 10:40:28 PM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
- INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
- lip 14, 2017 10:40:29 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
- INFO: HHH010002: C3P0 using driver: org.apache.derby.jdbc.ClientDriver at URL: jdbc:derby://localhost:1527/blogBaza
- lip 14, 2017 10:40:29 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
- INFO: HHH10001001: Connection properties: {useUnicode=true, user=blogDBAdmin, password=****, CharSet=utf8, characterEncoding=utf8}
- lip 14, 2017 10:40:29 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
- INFO: HHH10001003: Autocommit mode: false
- SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
- SLF4J: Defaulting to no-operation (NOP) logger implementation
- SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
- MLog initialization issue: slf4j found no binding or threatened to use its (dangerously silent) NOPLogger. We consider the slf4j library not found.
- lip 14, 2017 10:40:29 PM com.mchange.v2.log.MLog
- INFO: MLog clients using java 1.4+ standard logging.
- lip 14, 2017 10:40:29 PM com.mchange.v2.c3p0.C3P0Registry
- INFO: Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
- lip 14, 2017 10:40:30 PM org.hibernate.c3p0.internal.C3P0ConnectionProvider configure
- INFO: HHH10001007: JDBC isolation level: READ_COMMITTED
- lip 14, 2017 10:40:30 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource
- 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 ]
- lip 14, 2017 10:40:30 PM org.hibernate.dialect.Dialect <init>
- INFO: HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect
- lip 14, 2017 10:40:32 PM org.hibernate.cache.spi.UpdateTimestampsCache <init>
- INFO: HHH000250: Starting update timestamps cache at region: org.hibernate.cache.spi.UpdateTimestampsCache
- lip 14, 2017 10:40:32 PM org.hibernate.cache.internal.StandardQueryCache <init>
- INFO: HHH000248: Starting query cache at region: org.hibernate.cache.internal.StandardQueryCache
- lip 14, 2017 10:40:33 PM org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl getIsolatedConnection
- 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.
- lip 14, 2017 10:40:33 PM org.hibernate.hql.internal.QueryTranslatorFactoryInitiator initiateService
- INFO: HHH000397: Using ASTQueryTranslatorFactory
- Dodajem blog zapis.
- Hibernate:
- values
- next value for hibernate_sequence
- Hibernate:
- /* insert hr.fer.zemris.java.tecaj_13.model.BlogEntry
- */ insert
- into
- blog_entries
- (createdAt, lastModifiedAt, text, title, id)
- values
- (?, ?, ?, ?, ?)
- Dodajem blog zapis - gotovo.
- Dodajem komentar.
- Hibernate:
- values
- next value for hibernate_sequence
- Hibernate:
- /* insert hr.fer.zemris.java.tecaj_13.model.BlogComment
- */ insert
- into
- blog_comments
- (blogEntry_id, message, postedOn, usersEMail, id)
- values
- (?, ?, ?, ?, ?)
- Dodajem komentar - gotovo.
- Dodajem komentar.
- Hibernate:
- values
- next value for hibernate_sequence
- Hibernate:
- /* insert hr.fer.zemris.java.tecaj_13.model.BlogComment
- */ insert
- into
- blog_comments
- (blogEntry_id, message, postedOn, usersEMail, id)
- values
- (?, ?, ?, ?, ?)
- Dodajem komentar - gotovo.
- Dodajem komentar.
- Hibernate:
- values
- next value for hibernate_sequence
- Hibernate:
- /* insert hr.fer.zemris.java.tecaj_13.model.BlogComment
- */ insert
- into
- blog_comments
- (blogEntry_id, message, postedOn, usersEMail, id)
- values
- (?, ?, ?, ?, ?)
- Dodajem komentar - gotovo.
- Primjer upita.
- Hibernate:
- /* select
- b
- from
- BlogComment as b
- where
- b.blogEntry=:be */ select
- blogcommen0_.id as id1_0_,
- blogcommen0_.blogEntry_id as blogEntr5_0_,
- blogcommen0_.message as message2_0_,
- blogcommen0_.postedOn as postedOn3_0_,
- blogcommen0_.usersEMail as usersEMa4_0_
- from
- blog_comments blogcommen0_
- where
- blogcommen0_.blogEntry_id=?
- Blog [Moj prvi blog] ima komentar: [Blog ti je super!]
- Blog [Moj prvi blog] ima komentar: [Vau!]
- Blog [Moj prvi blog] ima komentar: [Još jedan komentar.]
- Primjer upita - gotovo.
- Primjer upita 2.
- Hibernate:
- /* BlogEntry.upit1 */ select
- blogcommen0_.id as id1_0_,
- blogcommen0_.blogEntry_id as blogEntr5_0_,
- blogcommen0_.message as message2_0_,
- blogcommen0_.postedOn as postedOn3_0_,
- blogcommen0_.usersEMail as usersEMa4_0_
- from
- blog_comments blogcommen0_
- where
- blogcommen0_.blogEntry_id=?
- and blogcommen0_.postedOn>?
- Blog [Moj prvi blog] ima komentar: [Još jedan komentar.]
- Primjer upita 2 - gotovo.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement