Closed s4ke closed 9 years ago
this behaviour should be configurable by properties, something along the lines of:
org.hibernate.search.genericjpa.searchfactory.triggers.createstrategy=create/drop-create
create can be done by trying to create everything and ignoring the exeptions at startup. this should be logged with at least INFO level so users can jump in and remove the old triggers if they upgraded and the behaviour of the Triggersource has changed.
this will be a problem for supporting multiple applications in the database.