# Elastic Search Hibernate Connector

**URL:** <https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182>\
**Category:** Elasticsearch\
**Created:** [April 1, 2011, 10:25pm UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182 "2011-04-01T22:25:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpilato](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dpilato/32/2449_2.png) [@dpilato](https://discuss.elastic.co/u/dpilato)\
**Post date:** [April 1, 2011, 10:25pm UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182/1 "2011-04-01T22:25:44Z")

</div>

Hi everybody,

You will find in [es-hibernate-connector GitHub Repo](https://github.com/dadoonet/es-hibernate-connector) a simple way to make a seam between Elastic Search and Hibernate... At this time, the project answer to my own needs.

But it's only a start. I will try to use OSEM annotation given by [Alois](https://github.com/aloiscochard/elasticsearch) in the next future.

Here is also a [very light doc](https://github.com/dadoonet/es-hibernate-connector/wiki) about how it works...

Any remark or advice will be appreciated.

Cheers  
David.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [April 3, 2011, 5:54am UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182/2 "2011-04-03T05:54:31Z")

</div>

Great work!. I am behind things a bit (trying to get 0.16 out), but will check the OSEM code once I am done.  
On Saturday, April 2, 2011 at 1:25 AM, dpilato wrote:

> Hi everybody,
> 
> You will find in [GitHub - dadoonet/es-hibernate-connector: Make your Hibernate Search more Elastic ! WARNING : project suspended !](https://github.com/dadoonet/es-hibernate-connector)  
> es-hibernate-connector GitHub Repo a simple way to make a seam between  
> Elastic Search and Hibernate... At this time, the project answer to my own  
> needs.
> 
> But it's only a start. I will try to use OSEM annotation given by  
> [https://github.com/aloiscochard/elasticsearch](https://github.com/aloiscochard/elasticsearch) Alois in the next future.
> 
> Here is also a [Home · dadoonet/es-hibernate-connector Wiki · GitHub](https://github.com/dadoonet/es-hibernate-connector/wiki) very  
> light doc about how it works...
> 
> Any remark or advice will be appreciated.
> 
> Cheers  
> David.
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p2765329.html](http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p2765329.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![gearond](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@gearond](https://discuss.elastic.co/u/gearond)\
**Post date:** [March 16, 2012, 1:14am UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182/3 "2012-03-16T01:14:47Z")

</div>

I would love to see OSEM written for ElasticSearch.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 17, 2012, 9:56am UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182/4 "2012-03-17T09:56:48Z")

</div>

Agreed! 🙂

On Fri, Mar 16, 2012 at 3:14 AM, gearond [gearond@sbcglobal.net](mailto:gearond@sbcglobal.net) wrote:

> I would love to see OSEM written for Elasticsearch.
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html](http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)\
**Post date:** [May 1, 2012, 2:56am UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182/5 "2012-05-01T02:56:30Z")

</div>

I have paid to have the following classes built, with exceptions, unit  
tests, etc.

osemManagerFactory  
osemManager  
someDriveClassForElasticSearch

The concept is modeled after JPA/Hibernate, with an external configuration  
file called 'osem.json' in the same place as the persistence.xml file.

Each of the CRUD (Create Read blah) methods of the 'osemManager' have pre  
and post callbacks so if someone wanted to implement some amount of ACID  
using an osem store, then they could. Contributions/forking/improvements  
are welcome.

It should be about 1-2 weeks before it is ready to post.

I will have it set up on sonotype in a mvn repository as soon as it gets  
done. If kimchy/Shay would help me with the repository part, that would  
save maybe a week.  
On Saturday, March 17, 2012 4:56:48 AM UTC-5, kimchy wrote

> Agreed! 🙂

> On Fri, Mar 16, 2012 at 3:14 AM, gearond wrote:
> 
> > I would love to see OSEM written for Elasticsearch.
> > 
> > --  
> > View this message in context:  
> > [http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html](http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html)  
> > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![Dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dennis](https://discuss.elastic.co/u/Dennis)\
**Post date:** [June 9, 2012, 1:15am UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182/6 "2012-06-09T01:15:53Z")

</div>

Well, it's done,works, but it's not ....... professional, that's the best  
word. Its at [https://github.com/kwince/osemManager](https://github.com/kwince/osemManager)

It did not get set up to have other search engines or BigData stores  
allowed behind it.

Comments or improvements are much welcome.

I would like very much for it have javadocs, have a driver class, easy to  
use/find where the ES service that it uses is, etc.

On Monday, April 30, 2012 7:56:30 PM UTC-7, Dennis wrote:

> I have paid to have the following classes built, with exceptions, unit  
> tests, etc.
> 
> osemManagerFactory  
> osemManager  
> someDriveClassForElasticSearch
> 
> The concept is modeled after JPA/Hibernate, with an external configuration  
> file called 'osem.json' in the same place as the persistence.xml file.
> 
> Each of the CRUD (Create Read blah) methods of the 'osemManager' have pre  
> and post callbacks so if someone wanted to implement some amount of ACID  
> using an osem store, then they could. Contributions/forking/improvements  
> are welcome.
> 
> It should be about 1-2 weeks before it is ready to post.
> 
> I will have it set up on sonotype in a mvn repository as soon as it gets  
> done. If kimchy/Shay would help me with the repository part, that would  
> save maybe a week.  
> On Saturday, March 17, 2012 4:56:48 AM UTC-5, kimchy wrote
> 
> > Agreed! 🙂
> 
> > On Fri, Mar 16, 2012 at 3:14 AM, gearond wrote:
> > 
> > > I would love to see OSEM written for Elasticsearch.
> > > 
> > > --  
> > > View this message in context:  
> > > [http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html](http://elasticsearch-users.115913.n3.nabble.com/Elastic-Search-Hibernate-Connector-tp2765329p3830629.html)  
> > > Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:25am UTC](https://discuss.elastic.co/t/elastic-search-hibernate-connector/4182/7 "2017-07-06T03:25:07Z")

</div>


