• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Search - TransientObjectException when creating initial index

 
John Suave
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I have an odd issue. First off, all code can be found at:

https://github.com/jsvazic/hibernate-search-example

I'm getting the following stack trace when I try to create an initial index for my Division class:



I think the problem lies with the following block:



I cannot, for the life of me, figure out what is wrong here. Hibernate works as expected, but the search is blowing up when I try to create the index. Here's the code for creating the index:



Any help/suggestions would be more than welcome.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!