Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我正在考虑在我的代码中我必须将调用方法放在我的索引服务(solR)中的最佳位置。
事实是我必须确保存储在数据库中的每个实体都被索引,我正在使用休眠,我将尝试使用拦截器来实现它。
任何建议 | 主意 ?
我们已经在hibernate的实体拦截器上调用了。作为只有一个
允许EntityInterceptor,我们实现filterchain模式来传递实体
跨越许多拦截器。
希望它可以帮助某人...