[hibernate-dev] Mapping defaults for @OneToOne

2014-12-02 Thread Gail Badner
I'm a bit confused by the mapping defaults for @OneToOne defined in JPA 2.1. Sections 2.10.1 and 2.10.3.1 (Bidirectional and Unidirectional OneToOne Relationships) says, "The foreign key column has the same type as the primary key of table B and there is a unique key constraint on it." Section

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Hardy Ferentschik
On Tue, Dec 02, 2014 at 09:06:00AM -0600, Steve Ebersole wrote: > Forgot to mention, that it is even conceivable to have an optional > build-time step that would allow users to pre-build the Jandex index for > even faster startup in outside-of-WildFly use cases. A serialized form if > you will. I

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Hardy Ferentschik
> We could also change one point dramatically: with Infinispan Query the > reason for it to need adding new types "on the fly" is just because > there is no reasonable solution for a full annotation scanning. But > having this we might be able to simplify some code in Search by > actually expecting

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Steve Ebersole
Forgot to mention, that it is even conceivable to have an optional build-time step that would allow users to pre-build the Jandex index for even faster startup in outside-of-WildFly use cases. A serialized form if you will. I want to investigate that in ORM. On Tue, Dec 2, 2014 at 9:03 AM, Steve

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Steve Ebersole
I can't speak to Searchs or Validators use specifically, but Jandex is usable outside of WildFly. I know this through initially using Jandex on that metamodel work. Outside of WildFly, rather than being handed an index you would build an index. Pretty easy. See in-line wrt some of your specific

[hibernate-dev] Announcing a tandem maintenance release: Hibernate Search 4.4.6.Final and 4.5.2.Final

2014-12-02 Thread Sanne Grinovero
Both versions Hibernate Search 4.4.6.Final and 4.5.2.Final are now available. I'm explaining the details and reasons here: http://in.relation.to/Bloggers/SomeExceptionalBackportsToMaintenanceHibernateSearchReleases Regards, Sanne ___ hibernate-dev maili

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Sanne Grinovero
It looks awesome! but to be able to use it we also need to take these requirements in consideration: - users running in different containers than WildFly - users not running in any container at all - Hibernate Search integrators which are not based on ORM: running in WildFly but not having the b

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-12-02 Thread Emmanuel Bernard
>> Regarding the removal of Configuration in general, there will be some more >> work to be done in OGM. We have a custom sub-class, OgmConfiguration [3], >> which is used for two purposes: >> >> 1) Set some properties automatically (to enable OGM's naming strategy and >> query translator etc., u

Re: [hibernate-dev] Maintenance on ci.hibernate.org

2014-12-02 Thread Sanne Grinovero
On 2 December 2014 at 08:23, Emmanuel Bernard wrote: > The website returns "Service Unavailable”. > What is the expected downtime window? It was just Sunday afternoon, and I didn't do anything to restart it now after your first report so it seems to have returned by himself, or maybe you had some

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Hardy Ferentschik
Hi, > > In Search we have been talking for a long time to get rid of Commons > > Annotations. It is basically already possible > > now (using Jandex 1), but it got pushed back so far. Now with Jandex 2 we > > definitely should make the switch. Maybe Search 5.1? > > > > Out of interest, what would

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Gunnar Morling
2014-12-01 21:24 GMT+01:00 Hardy Ferentschik : > Hi, > > I think this email of Jason is worth forwarding to hibernate-dev. > Jandex 2 sounds really interesting for all Hibernate projects. To a > certain degree Jandex offers now > a lot of the things Steve tried to do with the reflight stuff. I am

Re: [hibernate-dev] Jandex 2.0 Beta - Java 8 Type Annotations, Generics, & Offline Reflection

2014-12-02 Thread Hardy Ferentschik
Hi, On Mon, Dec 01, 2014 at 05:33:39PM -0600, Steve Ebersole wrote: > Yes, this is the new Jandex stuff I mentioned in Amsterdam Right. > Moving to Jandex at all is one of the tasks we marked as optional for ORM > 5.0. Ahh, I was hoping it would be part of ORM 5.0, but given the new scope it

Re: [hibernate-dev] Maintenance on ci.hibernate.org

2014-12-02 Thread Emmanuel Bernard
Another problem on the permission side https://hibernate.atlassian.net/browse/WEBSITE-236 > On 02 Dec 2014, at 09:39, Emmanuel Bernard wrote: > > Seems to be back up but the staging website is not available and redirects to > the ci website.

Re: [hibernate-dev] Maintenance on ci.hibernate.org

2014-12-02 Thread Emmanuel Bernard
Seems to be back up but the staging website is not available and redirects to the ci website. https://hibernate.atlassian.net/browse/WEBSITE-235 Keep me posted when it’s fixed. I have pending tests I need to do on the staging website. Emmanu

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

2014-12-02 Thread Gunnar Morling
Yes, it would be great to have this in ORM 5.0. Currently, AUTO is a bit AWKWARD to use with MongoDB; if USE_NEW_ID_GENERATOR_MAPPINGS is set to false, we map AUTO to IDENTITY (via Dialect#getNativeIdentifierGeneratorClass()) which only works if the id type is MongoDB's ObjectId type or a String m

Re: [hibernate-dev] Maintenance on ci.hibernate.org

2014-12-02 Thread Emmanuel Bernard
The website returns "Service Unavailable”. What is the expected downtime window? > On 01 Dec 2014, at 13:34, Davide D'Alto wrote: > > On a related note, > I've also reinstalled couchdb since it stopped working for some reason. > > I've also changed the maven version used for hibernate-ogm-maste

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-12-02 Thread Gunnar Morling
2014-12-01 21:22 GMT+01:00 Steve Ebersole : > Wanted to point out that I carried those signatures on to the persister > ctors as well. > Thx. In Amsterdam we had talked about OGM needing a bootstrap hook for the point > just after all persisters have been built. Exactly what information did > t

Re: [hibernate-dev] org.hibernate.persister.spi.PersisterFactory and 5.0

2014-12-02 Thread Gunnar Morling
2014-12-01 18:28 GMT+01:00 Steve Ebersole : > As for the "parameter object", I came up with a decent (imo) solution. So > I only wrap the things that are "contextual". Here is the contract right > now: > > > public interface PersisterFactory extends Service { > /** > * "Parameter object" provid