Guest User

Ошибки

a guest
Mar 24th, 2016
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. Тест Hibernate
  2. мар 24, 2016 11:17:22 AM org.hibernate.Version logVersion
  3. INFO: HHH000412: Hibernate Core {5.0.6.Final}
  4. мар 24, 2016 11:17:22 AM org.hibernate.cfg.Environment <clinit>
  5. INFO: HHH000206: hibernate.properties not found
  6. мар 24, 2016 11:17:22 AM org.hibernate.cfg.Environment buildBytecodeProvider
  7. INFO: HHH000021: Bytecode provider name : javassist
  8. мар 24, 2016 11:17:22 AM org.hibernate.boot.jaxb.internal.stax.LocalXmlResourceResolver resolveEntity
  9. WARN: HHH90000012: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/hibernate-configuration. Use namespace http://www.hibernate.org/dtd/hibernate-configuration instead. Support for obsolete DTD/XSD namespaces may be removed at any time.
  10. мар 24, 2016 11:17:22 AM org.hibernate.annotations.common.reflection.java.JavaReflectionManager <clinit>
  11. INFO: HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  12. мар 24, 2016 11:17:22 AM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
  13. WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)
  14. мар 24, 2016 11:17:22 AM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  15. INFO: HHH10001005: using driver [oracle.jdbc.driver.OracleDriver] at URL [jdbc:oracle:thin:@192.168.0.11:1521:ORCL]
  16. мар 24, 2016 11:17:22 AM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  17. INFO: HHH10001001: Connection properties: {user=CJ, password=****}
  18. мар 24, 2016 11:17:22 AM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator
  19. INFO: HHH10001003: Autocommit mode: false
  20. мар 24, 2016 11:17:22 AM org.hibernate.engine.jdbc.connections.internal.PooledConnections <init>
  21. INFO: HHH000115: Hibernate connection pool size: 20 (min=1)
  22. мар 24, 2016 11:17:23 AM org.hibernate.dialect.Dialect <init>
  23. INFO: HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect
  24. getall
  25. GETALL
  26. Hibernate: select this_.id as id1_0_0_, this_.text as text2_0_0_ from CJ.city this_ order by this_.id asc
  27. 1 МОСКВА
  28. мар 24, 2016 11:17:27 AM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop
  29. INFO: HHH10001008: Cleaning up connection pool [jdbc:oracle:thin:@192.168.0.11:1521:ORCL]
  30. Выход
  31. Exception in thread "main" org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: objectsdb.cj.kz.City.people, could not initialize proxy - no Session
  32. at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:567)
  33. at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:205)
  34. at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:146)
  35. at org.hibernate.collection.internal.PersistentSet.size(PersistentSet.java:143)
  36. at main.cj.kz.JMain.main(JMain.java:50)
Add Comment
Please, Sign In to add comment