I would not force it, but I would allow it to happen probably by a config option. As you know optimize causes a rewrite of the Lucene document numbers and the user may not want to do that until THEY decide to do it. My 2 cents.
John G. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, July 13, 2008 10:00 AM To: hibernate-dev@lists.jboss.org Subject: hibernate-dev Digest, Vol 25, Issue 13 Send hibernate-dev mailing list submissions to hibernate-dev@lists.jboss.org To subscribe or unsubscribe via the World Wide Web, visit https://lists.jboss.org/mailman/listinfo/hibernate-dev or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of hibernate-dev digest..." Today's Topics: 1. fullTextSession.purgeAll() (Emmanuel Bernard) 2. Hibernate join problem (sylvain mouquet) ---------------------------------------------------------------------- Message: 1 Date: Sat, 12 Jul 2008 15:57:18 -0400 From: Emmanuel Bernard <[EMAIL PROTECTED]> Subject: [hibernate-dev] fullTextSession.purgeAll() To: hibernate-dev@lists.jboss.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Should we force an optimize call after a purgeAll operation? This sounds sensible as it will reclaim unused space. OTOH it will likely break opened readers. -- Emmanuel Bernard http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com | http://twitter.com/emmanuelbernard Hibernate Search in Action (http://is.gd/Dl1) ------------------------------ Message: 2 Date: Sun, 13 Jul 2008 12:20:36 +0200 From: "sylvain mouquet" <[EMAIL PROTECTED]> Subject: [hibernate-dev] Hibernate join problem To: hibernate-dev@lists.jboss.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi I have not understand why you tell that you have 3 tables. HQL is based on core model (mapping files) not on SQL tables. You must write the query in hql and you must use objects in your core model not id : select dm.id, dm.drug_name, sum(cds.qty_available) from drug_master dm left join cds_drugstore.drug_master cds and cds.cds_id = 1 and cds.source_id = 'sourceName' and cds.source_type = 'c' group by dm.id -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20080713/bc5c5c6c /attachment-0001.html ------------------------------ _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev End of hibernate-dev Digest, Vol 25, Issue 13 ********************************************* _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev