I'm working with the spring data graph samples and created a few simple projects of my own to learn the proper use of annotations. After running a few examples, I noticed consistent messages in the log about "Non clean shutdown detected" and "Corrupt index exception", etc. Is it required to use explicit try/catch/finally with trx.success and trx.finish, even if the method is marked as @Transactional? The spring data graph examples don't show it that way.
What are the best practices for starting and shutting down an in-memory graph service? I'm using spring injection and repositories (not using the GraphService directly), so I'm not sure where to call close() when my app is finished. Should I just call close on the spring context? Is that sufficient? The other problem is that in Eclipse STS when using the AspectJ options, eclipse does not always recognize necessary aspects to implicitly convert classes marked with @NodeEntity to the NodeBacked type; sometimes it works and the compiler does not complain, but other times it doesn't work at all; this causes major headaches when trying to use relateTo() or any of the <T> substitutions where a graph-backed type is required. Raffi _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

