[hibernate-dev] Using a checksum for version properties

2008-04-14 Thread Tom
ke I'll need to dig deeper. My plan would be to create the checksum code automatically depending on the 'versionability' of the properties. If this sounds useful/sane I am happy to work on a patch. Regards, Tom ___ hibernate-

[hibernate-dev] HSEARCH-679 status

2011-03-21 Thread Tom Waterhouse
the issue during product demonstrations to potential customers, hence the urgency on our end to see the issue resolved. Cheers, Tom ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] HSEARCH-679 status

2011-03-21 Thread Tom Waterhouse
Sanne, the unit test doesn't make any assertions, so I don't know how useful it would be as a test. It allows a user to view the Hibernate-generated SQL, illustrating the entities loaded. On Mon, Mar 21, 2011 at 2:46 PM, Sanne Grinovero wrote: > Hi Tom, > thanks for the reminder

Re: [hibernate-dev] HSEARCH-679 status

2011-03-22 Thread Tom Waterhouse
ented() returns false). Any other ideas on how I can tell if a lazy property has been initialized? Tom On Mon, Mar 21, 2011 at 4:40 PM, Sanne Grinovero wrote: > 2011/3/21 Tom Waterhouse : > > Sanne, the unit test doesn't make any assertions, so I don't know how > useful &g

Re: [hibernate-dev] HSEARCH-679 status

2011-03-22 Thread Tom Waterhouse
#x27;m not sure what the Hibernate development testing methodology is, but my suggestion would be to create a unit test of processCollectionEvent with mocks as necessary. Tom On Tue, Mar 22, 2011 at 11:34 AM, Sanne Grinovero wrote: > Hi Tom, > sorry, copy

[hibernate-dev] Mocking for unit tests

2011-03-28 Thread Tom Waterhouse
he library used for the test. I don't know that mocks have been used to this point for Hibernate Search testing. Mockito/mocking is acceptable? You can see the test I created as an attachment to HSEARCH-679. Tom ___ hibernate-dev mailing lis

Re: [hibernate-dev] Mocking for unit tests

2011-03-29 Thread Tom Waterhouse
that is palatable then I will leave the test as-is and introduce Mockito as a dependency. Tom On Tue, Mar 29, 2011 at 8:48 AM, Emmanuel Bernard wrote: > Hi Tom, > > Most tests in HSearch are more integration / functional tests than true > unit tests. Since we can tests everything wi

[hibernate-dev] How do I determine that the underlying database is a MySQL database?

2011-04-01 Thread Tom Muldoon
underlying database at runtime? Thanks in advance, Tom ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] HSEARCH-679 status

2011-04-04 Thread Tom Waterhouse
Sanne, I've added a comment to HSEARCH-679 that includes the instructions necessary to add the attached unit test to the hibernate-search code base. Let me know if you need anything more to check in the fix for HSEARCH-679. Tom On Tue, Mar 22, 2011 at 12:17 PM, Tom Waterhouse wrote: &g

Re: [hibernate-dev] HSEARCH-679 status

2011-04-04 Thread Tom Waterhouse
FullTextIndexEventListener as suggested below 3) fixed - ooops! The tests are attached to HSEARCH-679 as HSEARCH-679-test-updated. Tom On Mon, Apr 4, 2011 at 12:34 PM, Sanne Grinovero wrote: > Hi Tom, > thank you, I'm playing with it right now. > > As I mentioned on JIRA, the main reason for w

[hibernate-dev] Where to start with MongoDB support for OMG?

2011-06-21 Thread Tom Waterhouse
If a person wanted to start down the road of adding MongoDB support for OMG, where would the best place to start be? Tom ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Where to start with MongoDB support for OMG?

2011-06-22 Thread Tom Waterhouse
Outstanding, this is a good list. I'll jump in head-first and see what happens (probably lots of bumps and bruises, of course...). Cheers, Tom On Wed, Jun 22, 2011 at 3:05 AM, Emmanuel Bernard wrote: > Hello Tom, > If such person existed, that would be awesome :) > > H

[hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-25 Thread Tom Waterhouse
ration. A lock is never able to be obtained, see the stack from a thread dump below. The same MassIndexer call works fine when using FSDirectoryProvider. Should MassIndexer work with Infinispan as the directory? Tom java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sl

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-27 Thread Tom Waterhouse
rations work as expected. It is only the MassIndexer that has had trouble to this point. Tom On Fri, Aug 26, 2011 at 7:02 AM, Sanne Grinovero wrote: > Hi Tom, > > the MassIndexer needs to acquire the Directory lock, which is in this > case distributed, i.e. it's a single lock to coor

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-29 Thread Tom Waterhouse
oLoadObjects(30); massIndexer.threadsForSubsequentFetching(8); massIndexer.threadsToLoadObjects(4); logger.info("starting MassIndexer"); massIndexer.startAndWait(); On Sun, Aug 28, 2011 at 9:28 AM, Sanne Grinovero wrote: > Hi Tom, > I've cr

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-29 Thread Tom Waterhouse
Mon, Aug 29, 2011 at 2:49 PM, Tom Waterhouse wrote: > I set a breakpoint inside of org.apache.lucene.store.Lock.obtain(long) and > noticed something peculiar - the method is called twice. The first call > succeeds, the second fails, my guess because the first call obtained the > lock.

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-31 Thread Tom Waterhouse
A testcase would help; as pointed out in my previous mail I've written > one and found no issues, so please help me reproducing the issue. You > could also open an issue and attach both your Infinispan and Search > configurations. > > Regards, > Sanne > > 2011/8/29 T

Re: [hibernate-dev] MassIndexer have any known issues when InfinispanDirectory is used?

2011-08-31 Thread Tom Waterhouse
https://hibernate.onjira.com/browse/HSEARCH-893 On Wed, Aug 31, 2011 at 12:46 PM, Sanne Grinovero wrote: > 2011/8/31 Tom Waterhouse : > > I have a test case available. In the test case a > > org.apache.lucene.store.LockObtainFailedException instance is thrown. > > > &g

[hibernate-dev] session-per-application in a rich client an antipattern?

2006-09-24 Thread Tom Hughes
I've searched the boards for a while and seen a few posts alluding to the same issue but never a conclusive answer. The application - swing rich client on a single user local db. In this situation I think a session-per-application is desirable. If I load an entity, say the contact

RE: [hibernate-dev] session-per-application in a rich client an antipattern?

2006-09-24 Thread Tom Hughes
Tried that : http://forum.hibernate.org/viewtopic.php?t=965080 no reply. If this is not the correct channel for this follow up apologies and would somebody indicate the correct one please. Thanks, Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [hibernate-dev] session-per-application in a rich client an antipattern?

2006-09-24 Thread Tom Hughes
Great, thanks for the help... -Original Message- From: Christian Bauer [mailto:[EMAIL PROTECTED] Sent: Monday, 25 September 2006 10:17 AM To: Tom Hughes Cc: hibernate-dev@lists.jboss.org Subject: Re: [hibernate-dev] session-per-application in a rich client an antipattern? On Sep 25

[hibernate-dev] Shortcomings in org.hibernate.id.enhanced.TableGenerator class

2008-04-24 Thread Tom Muldoon
I'm working with the org.hibernate.id.enhanced.TableGenerator class and I've noticed a couple of shortcomings (imho). First and foremost, it creates one row in the hibernate_sequences table for each configured segment_value (as opposed to one row for each "target_table" as implemented within the

[hibernate-dev] Shortcomings in org.hibernate.id.enhanced.TableGenerator class

2008-04-27 Thread Tom Muldoon
I apologize if this is a 2nd posting. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Muldoon Sent: Thursday, April 24, 2008 8:04 AM To: 'hibernate-dev@lists.jboss.org' Subject: [hibernate-dev] Short