Re: [hibernate-dev] problem in select specified fields

2012-05-07 Thread gayan sukumal wiharagoda
Hi, can some one help me. regards, Gayan On Tue, May 8, 2012 at 7:17 AM, gayan sukumal wiharagoda < gayanwiharag...@gmail.com> wrote: > Hi, > I am new to hibanate,Stuts and Tile. Now I want to get selected > specified columns. I have mention the code below. It is not working. > > List list = new

[hibernate-dev] problem in select specified fields

2012-05-07 Thread gayan sukumal wiharagoda
Hi, I am new to hibanate,Stuts and Tile. Now I want to get selected specified columns. I have mention the code below. It is not working. List list = new ArrayList(); Query query = (Query) session.createQuery("select s.item_id,s.name,s.unit_price_sel,s.unit_price_buy,su.quantity from service_uses

Re: [hibernate-dev] [HSEARCH] Worker Configuration

2012-05-07 Thread Sanne Grinovero
Hi Andrej, On 7 May 2012 22:01, Andrej Golovnin wrote: > Hi Hardy, > >> thanks for pointing this out. This is really a bug in the code rather than a >> documentation error. >> I created >> https://hibernate.onjira.com/browse/HSEARCH-1118 >>  to track the issue. There will >> be a 4.1.1 release s

[hibernate-dev] [HSEARCH] Proposal to change the default value of Field#norms()

2012-05-07 Thread Andrej Golovnin
Hi all, the default value of norms() in the Field annotation is defined to YES. I doubt it is always needed, e.g. if you have an Enum field, do you really need norms for it? The same applies to long/int, boolean, date, OID fields and very short fields like a code of the country. I have already a

Re: [hibernate-dev] [HSEARCH] Worker Configuration

2012-05-07 Thread Andrej Golovnin
Hi Hardy, > thanks for pointing this out. This is really a bug in the code rather than a > documentation error. > I created > https://hibernate.onjira.com/browse/HSEARCH-1118 > to track the issue. There will > be a 4.1.1 release shortly which will include a fix for the issue. Thanks! > > Ou

Re: [hibernate-dev] Coordinates storage in Lucene index for spatial functionality

2012-05-07 Thread Nicolas Helleringer
Here are some results : Mean time with Grid : 4.9297471630769225 ms. Average number of docs fetched : 2416.373846153846 Mean time with Grid + Distance filter : 6.48634534 ms. Average number of docs fetched : 425.84 Mean time with DoubleRange : 15.39593650051282 ms. Average number of docs fetche

Re: [hibernate-dev] Porting seam DVD store example to OGM

2012-05-07 Thread Alan F
It is in fact the hotel booking example, not the DVD store (another older example project I haven't ported).. So I've changed the title of the page. https://community.jboss.org/wiki/PortingSeamHotelBookingExampleToOGM and the github repository: https://github.com/ajf8/seam-booking-ogm On 05/07

[hibernate-dev] Porting seam DVD store example to OGM

2012-05-07 Thread Alan F
Hi all, I've converted the seam hotel booking JPA example to use Hibernate OGM, specifically the MongoDB dialect, and documented what needed to be done on the wiki. The instructions and code should be fairly relevant to the Infinispan dialect too. I did encounter a few issues doing this so I h

Re: [hibernate-dev] Coordinates storage in Lucene index for spatial functionality

2012-05-07 Thread Emmanuel Bernard
Do you know the average amount of POI that were filtered in memory but the DistanceFilter during these runs? Emmanuel On 7 mai 2012, at 10:31, Nicolas Helleringer wrote: > Hi all, > > I have done a radian patch/branch and some benchmarks on geonames french > database. > > Benchs are on 2k ca

Re: [hibernate-dev] [HSEARCH] Worker Configuration

2012-05-07 Thread Hardy Ferentschik
Hi Andrej, thanks for pointing this out. This is really a bug in the code rather than a documentation error. I created https://hibernate.onjira.com/browse/HSEARCH-1118 to track the issue. There will be a 4.1.1 release shortly which will include a fix for the issue. Out of interest though, what

Re: [hibernate-dev] Coordinates storage in Lucene index for spatial functionality

2012-05-07 Thread Nicolas Helleringer
Hi all, I have done a radian patch/branch and some benchmarks on geonames french database. Benchs are on 2k calls each run. Radians: run 1 Mean time with Grid : 4.808043092820513 ms Mean time with Grid + Distance filter : 6.571108878461538 ms Mean time with DoubleRange : 14.62661525128205 ms Mea