Re: [hibernate-dev] Unit test failures using the new metamodel

2012-08-01 Thread Hardy Ferentschik
On 2 Aug 2012, at 07:56, Gail Badner wrote: > I'm seeing the following failures using > hibernate.test.new_metadata_mappings=true that appear to be regressions: > > - org.hibernate.jpa.test.connection.DataSourceInjectionTest fails (also fails > using the old metadata); > - org.hibernate.te

[hibernate-dev] Unit test failures using the new metamodel

2012-08-01 Thread Gail Badner
I'm seeing the following failures using hibernate.test.new_metadata_mappings=true that appear to be regressions: - org.hibernate.jpa.test.connection.DataSourceInjectionTest fails (also fails using the old metadata); - org.hibernate.test.annotations.lob.LobTest.testSerializableToBlob - org.hiber

Re: [hibernate-dev] integrate Envers with new metamodel

2012-08-01 Thread Hardy Ferentschik
On 31 Jan 2012, at 10:55 PM, Sanne Grinovero wrote: > Why is the "annotation indexing" discussion part of the metamodel? Why not? We are using Jandex in the new metamodel which is a annotation index/repository > I initially understood that a replacement of commons-annotations was > being devel

Re: [hibernate-dev] integrate Envers with new metamodel

2012-08-01 Thread Hardy Ferentschik
On 31 Jan 2012, at 10:49 PM, Strong Liu wrote: > maybe we should move the annotation indexing from > org.hibernate.metamodel.internal.source.annotations.AnnotationMetadataSourceProcessorImpl#AnnotationMetadataSourceProcessorImpl > into MetadataSources ( for hbm, it can be get by > org.hibernat

Re: [hibernate-dev] mocking library for hibernate unit tests?

2012-08-01 Thread Eric Dalquist
Thanks, I'll add a dependency on Mockito for the test and include that with the pull request. -Eric On 8/1/12 1:22 AM, Hardy Ferentschik wrote: > Hi Eric, > > None of the existing tests uses a mock framework. In fact a great part of our > test cases are functional in nature (going through whol