a guest Jan 13th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Exception while initializing hibernate util..
  2. org.hibernate.AnnotationException: @OneToOne or @ManyToOne on Survey.Question.surveyID references an unknown entity: int
  3.     at org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(
  4.     at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processEndOfQueue(
  5.     at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processFkSecondPassesInOrder(
  6.     at org.hibernate.boot.internal.InFlightMetadataCollectorImpl.processSecondPasses(
  7.     at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(
  8.     at
  9.     at
  10.     at
  11.     at org.hibernate.cfg.Configuration.buildSessionFactory(
  12.     at Database.HibernateUtil.loadSessionFactory(
  13.     at Database.HibernateUtil.<clinit>(
  14.     at Database.UserDAO.main(
  15. Exception while getting session..
  16. java.lang.NullPointerException
  17.     at Database.HibernateUtil.getSession(
  18.     at Database.UserDAO.main(
  19. session is discovered null
  20. java.lang.NullPointerException
  21.     at Database.UserDAO.main(
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