which way is recommended

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

which way is recommended

orkun
hello

I need to know which way you recommend to manipulate and search in postgis database 
using 
--hibernate criteria queries
-- hibernate nativeSQL
-- hibernate-search

regards

--
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Planlama ve Zarar Azaltma Dairesi Başkanlığı


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Reply | Threaded
Open this post in threaded view
|

Re: which way is recommended

Farrukh Najmi

I think the most standards -based way to to use hibernate-spatial along with EJBQL provided by Hibernate EntityManager.
hibernate-search is for keyword searches and not much else.

On 04/12/2013 04:58 AM, Ahmet Temiz wrote:
hello

I need to know which way you recommend to manipulate and search in postgis database 
using 
--hibernate criteria queries
-- hibernate nativeSQL
-- hibernate-search

regards

--
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Planlama ve Zarar Azaltma Dairesi Başkanlığı


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency


_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users


-- 
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com


_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Reply | Threaded
Open this post in threaded view
|

Re: which way is recommended

Karel Maesen
Administrator
In reply to this post by orkun
Hi Ahmet,

I would recommend criteria queries first, and HQL queries second, and nativeSQL if you absolutely must.

The spatial capabilities of Hibernate-search relate to Lucene indexes, rather than postgis databases.

Regards,

Karel

On 12 Apr 2013, at 10:58, Ahmet Temiz wrote:

> hello
>
> I need to know which way you recommend to manipulate and search in postgis database
> using
> --hibernate criteria queries
> -- hibernate nativeSQL
> -- hibernate-search
>
> regards
>
> --
> Ahmet Temiz
> Jeoloji Müh.
> Afet ve Acil Durum Yönetimi Başkanlığı
> Planlama ve Zarar Azaltma Dairesi Başkanlığı
>
>
> ________________________
>
> Ahmet Temiz
> Geological Eng.
> Information Systems - GIS Group
> Disaster and Emergency Management
> of Presidency
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users