File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Hibernate Search - TransientObjectException when creating initial index Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Search - TransientObjectException when creating initial index" Watch "Hibernate Search - TransientObjectException when creating initial index" New topic
Author

Hibernate Search - TransientObjectException when creating initial index

John Suave
Greenhorn

Joined: Apr 14, 2003
Posts: 2
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.
 
GeeCON Prague 2014
 
subject: Hibernate Search - TransientObjectException when creating initial index