[hibernate-dev] Main feed on in.relation.to broken

2014-11-28 Thread Gunnar Morling
Hi,

When going to in.relation.to, I only see a minority of posts, apparently
those authored by Hardy. The other posts are still there, if I select a
blogger in the menu, I see all their posts.

Someone knows how to make all posts show up again on the main feed?

Thanks,

--Gunnar
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Making it pluggable how GenerationType.AUTO is mapped

2014-11-28 Thread Gunnar Morling
Hi Steve, all,

For OGM it would be beneficial if there was an extension point in ORM which
allows us to customize how GenerationType.AUTO is mapped. AFAICS, that's
currently semi-hard coded in ORM. Depending on whether
"new_generator_mappings" is set, either SEQUENCE (true) or "native" (false)
will be used.

Now for the MongoDB grid dialect we'd ideally do the following: If the id
of an entity is declared as

 org.bson.typesObjectId

or

 @Type(type = "objectid") String

then map AUTO to IDENTITY (ObjectId is a MongoDB-specific type which
resembles an identity column). Otherwise map it to TABLE (or SEQUENCE,
which transparently falls back to TABLE).

I.e. this decision would not be a global one, but depend on the specific id
type.

Would this be feasible to do? or is it mandated by JPA somehow that AUTO is
always mapped in the same way? I cannot judge on the amount of changes
required in ORM as atm. AUTO always is mapped in the same way, it doesn't
depend on the specific entity and its id type.

Any thoughts?

Thanks,

--Gunnar
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Main feed on in.relation.to broken

2014-11-28 Thread Emmanuel Bernard
For the record, this should be all fixed.
Somebody removed the "Everyone" page from the Blogger directory and moved it
to Hardy's directory.
Not a trivial thing to do I must say.

On Fri 2014-11-28 11:00, Gunnar Morling wrote:
> Hi,
> 
> When going to in.relation.to, I only see a minority of posts, apparently
> those authored by Hardy. The other posts are still there, if I select a
> blogger in the menu, I see all their posts.
> 
> Someone knows how to make all posts show up again on the main feed?
> 
> Thanks,
> 
> --Gunnar
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev