Unfortunately no, we don't have a 1.4 compatible version. Shards makes fairly heavy use of enums, generics, and the concurrency libraries, all of which were introduced in 1.5. It would of course be possible to rewrite Shards without these language features and libraries, but we don't have any plans to do so. Please let me know if you have more questions.
I have posted a comment in the forums in Hibernate and I was wondering if I could get your opinion on the use of a Sharded Session with Hibernate Search.
From a high level perspective I am trying to an architechture using Memcached , Hibernate Search with a single index, and a sharded DB.
I have done this using Spring/Hibernate using MVC and DAO design pattern for data access, with pure hibernate implementations and the initial prototype works performs extremely well.
Now enter hibernate sharding and the wheels are coming off!
My first blow came from my extensive use of DetachedCriteria.
My design all stems from a base object with a shardid in all object hierarchies, and a constraint ensuring all objects descended from that base object will be in the same shard. So I subclassed DetachedCriteria and using a factory based on entity type I can retirve the shard I need, which ias restrictive but works for me.
I am now busy with the FullTextSession and I am taking hits.
Basically EventSource isnt supported by shards and a ShardedSessionImplementor and a SessionImplementor are quite different.
Its statrting to look like a bit of an intractable problem, and I was wondering if you had given it any thought or if there are any plans to introduce some form of compatibility.
i read about hibernate shard and i didn't find enough information on it. is latest version of hibernate shard release? or is the project dead? I have to use sharding in my project, is there any other way to use sharding using hibernate or other?
Hi, I am interested in JPA integration of Shards; I won't be using Query features, as long as I can inject something into EJB as EntityManager it's fine.
In a posting on Hib. Forums you mention you have some code for this. Can I take a look at it?
hi I am using hiberbate , i got error log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize the log4j system properly.
hibernate config (автоматическое создание таблиц) http://blog.malphas.ru/index.php/archives/87 Здесь можно найти еще инфы по hibernate, та же там есть статья про пагинацию hibernate. Это не реклама, просто кому интересно может почитать
Hi, do you have a version for shards in JDK 1.4.x ?
ReplyDeleteThanks,
Gavin
Hi Gavin,
ReplyDeleteUnfortunately no, we don't have a 1.4 compatible version. Shards makes fairly heavy use of enums, generics, and the concurrency libraries, all of which were introduced in 1.5. It would of course be possible to rewrite Shards without these language features and libraries, but we don't have any plans to do so. Please let me know if you have more questions.
Thanks,
Max
Hi Max-
ReplyDeleteLooks like there hasn't been a release of shards since 8/07. Is the project dead?
Hi Max,
ReplyDeleteI have posted a comment in the forums in Hibernate and I was wondering if I could get your opinion on the use of a Sharded Session with Hibernate Search.
From a high level perspective I am trying to an architechture using Memcached , Hibernate Search with a single index, and a sharded DB.
I have done this using Spring/Hibernate using MVC and DAO design pattern for data access, with pure hibernate implementations and the initial prototype works performs extremely well.
Now enter hibernate sharding and the wheels are coming off!
My first blow came from my extensive use of DetachedCriteria.
My design all stems from a base object with a shardid in all object hierarchies, and a constraint ensuring all objects descended from that base object will be in the same shard. So I subclassed DetachedCriteria and using a factory based on entity type I can retirve the shard I need, which ias restrictive but works for me.
I am now busy with the FullTextSession and I am taking hits.
Basically EventSource isnt supported by shards and a ShardedSessionImplementor and a SessionImplementor are quite different.
Its statrting to look like a bit of an intractable problem, and I was wondering if you had given it any thought or if there are any plans to introduce some form of compatibility.
Hi, what is involved in getting Shards to support lazy loading.
ReplyDeleteDo you think is realistic that at some point it will be supported
When is the next stable production version of Hibernate Shards?
ReplyDeletehi Max,
ReplyDeletei read about hibernate shard and i didn't find enough information on it. is latest version of hibernate shard release? or is the project dead?
I have to use sharding in my project, is there any other way to use sharding using hibernate or other?
Thanks,
Sudhanshu
Hibernate has many features to support ORM requirements and recently I found a page where many information about Hibernate is present at
ReplyDeletehttp://hibernate-questions.weebly.com
Hi, I am interested in JPA integration of Shards; I won't be using Query features, as long as I can inject something into EJB as EntityManager it's fine.
ReplyDeleteIn a posting on Hib. Forums you mention you have some code for this. Can I take a look at it?
What do u meant by Ode???
ReplyDeletehi
ReplyDeleteI am using hiberbate , i got error
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
how to solve it
Thanks
Arun
Hi Max,
ReplyDeleteIs it possible to integrate Hibernate Shards with Spring?
hibernate config (автоматическое создание таблиц) http://blog.malphas.ru/index.php/archives/87
ReplyDeleteЗдесь можно найти еще инфы по hibernate, та же там есть статья про пагинацию hibernate. Это не реклама, просто кому интересно может почитать