New CI machine preview
by Sanne Grinovero
You're all welcome to play with http://54.225.162.168/
however please keep these in mind:
- it's not the final machine: don't put too much effort in creating
nice build scripts as we'll reset it to clean state soon. We *might*
be able to store jobs defined so far, but we might choose not to.
- domain name should be coming: ci.hibernate.org ..not sure when, got
no replies so far from.
- authentication: just click on login, it will use OAuth2 to request
your identity via your GitHub account. Permissions to create new jobs,
edit existing jobs, run a build manually depend on your github account
be part of the Hibernate organization (or not, in which case you have
read only status)
At this stage I'd like to get a feeling if the hardware is powerful
enough, and also we need to select which other plugins we want to use,
I'm looking especially to:
- static analysis reports
- pull requests integration
both are relatively undefined, we can of course start simple and
improve later.. just checking this fits basic needs now.
Sanne
11 years, 8 months
4.1.x and HHH-8092 aka no unique constraints after 4.1.10 upgrade
by Guillaume Smet
Hi,
Sorry for bothering you with this, but we just got hit by
https://hibernate.atlassian.net/browse/HHH-8092 in our applications
after an upgrade to 4.1.11 (we worked on fixes included in 4.1.10 and
needed the upgrade to get our bugs fixed).
Due to HHH-8092, with 4.1.10 and 4.1.11, our unique constraints are
not created anymore as we use the hbm2ddl update mode. And we cannot
use 4.1.9 due to the issues we helped fixing for 4.1.10.
I know that 4.1.11 was supposed to be the very last version of the
4.1.x cycle but it seems to me it's not really possible to have the
last 4.1.x version so broken in a way which can have consequences on
your data in very common cases.
FWIW, we tried to upgrade to 4.2.x but we have other regressions which
will need time to get diagnosed and fixed. So we won't be able to use
4.2.1 soon, even after its release.
Would you consider backporting the fix for HHH-8092 to the 4.1.x
branch and release a new version?
I'm pretty sure there are a lot of people using @UniqueConstraint and
the hbm2ddl update mode and they will get hit by this problem pretty
hard. It looks to me like a major regression, which isn't usually
compatible with an end of cycle release supposed to be quite stable.
Thanks for your feedback.
--
Guillaume
11 years, 8 months
Pleas help with GITHub, how to get new branches into personal fork?
by Demetz, Guenther
Hello hibernate developers,
I want to open a JIRA-Issue and as always I like to provide an according test-case in form of a pull-request.
I already created pull-requests in past, but now I need to update/align my fork of hibernate-orm with branch 4.2 which at the time of fork-creation did not exist yet.
How to do that without destroying my fork first?
It seems that GitHub does allow maximal one fork per repository. I tried almost everything imaginable without success.
If someone could give me an advice please..
thanks
Guenther Demetz
11 years, 8 months
[HSEARCH] New additional repository
by Emmanuel Bernard
If you work on Hibernate Search, here is a heads up. Make sure to either run
mvn clean install -s settings-example.xml
or add in your settings.xml the profile and associated repository redhat-earlyaccess-repository
and add it to the list of active profiles. settings-example.xml will
show you everything.
This enables testing for the latest JBoss EAP alpha.
Emmanuel
11 years, 8 months
can a mapped super class extends from an entity?
by Strong Liu
test is org.hibernate.jpa.test.metadata.MetadataTest and root class is org.hibernate.jpa.test.metadata.Thing
basically here is a hierarchy like :
Entity -> MappedSuperclass -> Entity -> MappedSuperclass -> Object (//not an entity but in between mapped superclass and entity) -> MappedSuperclass
in the metamodel branch org.hibernate.metamodel.internal.source.annotations.util.EntityHierarchyBuilder#processHierarchy
if ( !isEntityClass( subClassInfo ) ) {
if ( JandexHelper.containsSingleAnnotation( subClassInfo, JPADotNames.EMBEDDABLE ) ) {
throw new AnnotationException( "An embeddable cannot extend an entity: " + subClassInfo );
}
if ( JandexHelper.containsSingleAnnotation( subClassInfo, JPADotNames.MAPPED_SUPERCLASS ) ) {
throw new AnnotationException( "A mapped superclass cannot extend an entity: " + subClassInfo );
}
continue;
}
-------------------------
Best Regards,
Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio
11 years, 8 months