[hibernate-dev] Various "row value construct" alike syntax and Dialect class

2012-05-25 Thread Łukasz Antoniak
Hello Community, Really quick question. There are quite few SQL syntax tricks similar to "row value construct". CREATE TABLE test ( a1 NUMBER, b1 NUMBER ); SELECT * FROM test WHERE (a1, b1) = ( 1, 1 ); -- Fails on Oracle SELECT * FROM test WHERE (a1, b1) IN ( ( 1, 1 ), ( 2, 2 ) ); -- Passes on O

Re: [hibernate-dev] Length of test methods

2012-05-25 Thread Gail Badner
- Original Message - > From: "Hardy Ferentschik" > To: "Hibernate" > Sent: Friday, May 25, 2012 8:08:07 AM > Subject: [hibernate-dev] Length of test methods > > Hi, > > looking at some metamodel test code today I found a test method > 'doTest' w/ 200 lines of code and countless asserti

Re: [hibernate-dev] brainstorming hibernate search integration Solr

2012-05-25 Thread Hardy Ferentschik
Np. Just shows that great minds think alike :-) On 25 May 2012, at 18:12, Sanne Grinovero wrote: > Hardy, > sorry for having ignored your email and saying basically the same > thing. I just received your email, but it seems you sent it a long > ago! I guess some server between us had trouble to

[hibernate-dev] JPA 2.1

2012-05-25 Thread Steve Ebersole
I spent yesterday getting the JPA API project set up for version 2.1 and bringing the code up-to-date up through the latest draft (Draft 6). Feel free to peruse the code and point out anything I might have missed : https://github.com/hibernate/hibernate-jpa-api As a side note, that hibernate-jp

Re: [hibernate-dev] brainstorming hibernate search integration Solr

2012-05-25 Thread Sanne Grinovero
Hardy, sorry for having ignored your email and saying basically the same thing. I just received your email, but it seems you sent it a long ago! I guess some server between us had trouble today. Cheers, Sanne On 25 May 2012 09:53, Hardy Ferentschik wrote: > Hi, > > > On May 25, 2012, at 9:08 AM,

[hibernate-dev] Length of test methods

2012-05-25 Thread Hardy Ferentschik
Hi, looking at some metamodel test code today I found a test method 'doTest' w/ 200 lines of code and countless assertions of the form 'assertTrue/False(condition)', 'assertEquals(expected, actual)'. I am having several problems with this type of testing: * test method should be descriptive, fo

Re: [hibernate-dev] metamodel work

2012-05-25 Thread Steve Ebersole
Yes we will do that, but I think we need to wait until master, metamodel and this new jpa branch are merged back together to start down this path On Fri 25 May 2012 04:47:18 AM CDT, Hardy Ferentschik wrote: > > On May 23, 2012, at 8:25 PM, Gail Badner wrote: >>> Well thats also not the only way

Re: [hibernate-dev] brainstorming hibernate search integration Solr

2012-05-25 Thread Gustavo Candela
Hi, Thanks for the response... At this moment I dont know how to generate the solr schema, i mean any solr schema. I only worked a little bit with solr but just asking, not any administration task. So, i think that first task is make work hibernate search with solr using a shema created by me. Th

Re: [hibernate-dev] brainstorming hibernate search integration Solr

2012-05-25 Thread Sanne Grinovero
Hi Gustavo, as I already had replied on the forums, if all you need is to have Solr read the Hibernate Search index that should already work without any needed change. Main points to check: - use a Solr version which uses a Lucene version which matches Hibernate Search. Not a strict requirement,

Re: [hibernate-dev] metamodel work

2012-05-25 Thread Hardy Ferentschik
On May 23, 2012, at 8:25 PM, Gail Badner wrote: >> Well thats also not the only way to write tests for targetting the >> new >> metamodel. Most of the tests I write at least for metamodel work are >> in fact not functional tests. So I don't try to to fit them into >> there >> since they don't fi

Re: [hibernate-dev] brainstorming hibernate search integration Solr

2012-05-25 Thread Hardy Ferentschik
Hi, On May 25, 2012, at 9:08 AM, Gustavo Candela wrote: > I don't know if HS puts some metainformation in the indexes and solr can > not read themi also think that i have to create an schema in solr with > the index fields… There is no hidden meta information. It's all in a standard Lucene

[hibernate-dev] brainstorming hibernate search integration Solr

2012-05-25 Thread Gustavo Candela
Hi all, Lately i have been thinking about integrating Hibernate Search with Solr. What i would like to have is Solr using Hibernate Search indexes. I could not start the implementation because i am working in other things at this moment. I would like to know any references or ideas I don't kn