Commit Graph

2745 Commits

Author SHA1 Message Date
Strong Liu c1415b4b8f HHH-6113 re-fact and more tests 2011-05-22 20:45:20 +08:00
Strong Liu c62e5fccc8 HHH-6113 re-fact and more tests 2011-05-22 20:45:19 +08:00
Strong Liu 2abbe4d841 HHH-6113 change to a better class name 2011-05-22 20:45:19 +08:00
Strong Liu cb63f03437 HHH-6113 test and license header 2011-05-22 20:45:19 +08:00
Strong Liu b30024ee9d HHH-6113 mock global configurations to annotation 2011-05-22 20:45:19 +08:00
Steve Ebersole 52b2930b47 HHH-6240 - Add access to configuration options targetting metamodel building 2011-05-20 12:22:33 -05:00
Steve Ebersole 65c2c831ca HHH-6239 - Add service for access to configuration options/settings map 2011-05-20 10:40:54 -05:00
Hardy Ferentschik 335eb1c231 HHH-6172 Adding annotation placeholders for annotation based state impls 2011-05-20 12:49:11 +02:00
Steve Ebersole 5385cc5cc0 HHH-6237 - Remove Service proxy code 2011-05-19 17:29:21 -05:00
Scott Marlow dcc3546378 change some connection related log messages from INFO to DEBUG 2011-05-19 13:07:19 -04:00
Hardy Ferentschik 49cf328bb8 HHH-6172 Cleaning up AbstractBasicBindingTests 2011-05-19 17:49:16 +02:00
Hardy Ferentschik 14efea6e21 HHH-6171 Moving MappingDefaults and MappingHelper into sub-packages of hbm binding 2011-05-19 15:32:00 +02:00
Hardy Ferentschik 6aee9365ee HHH-6171 Binding OptimisticLock annotation 2011-05-19 15:01:55 +02:00
Hardy Ferentschik fc456e3756 HHH-6171 Implementing lazy, optional, property generation, insertable and updatable ofSimpleAttributeBindingState 2011-05-18 17:10:26 +02:00
Hardy Ferentschik d6b36fca5a HHH-6171 Parsing o.h.a.Type and o.h.a.Parameter 2011-05-18 14:52:36 +02:00
Hardy Ferentschik 2b694d7a86 HHH-6171 Switching to Map<String,String> as type parameters in HibernateTypeDescriptor (needs maybe to change to Map<String, Object>). Properties is the wrong class to use.
Also fixed several variable and method typos, eg updatable instead of updateable. And we are talking about a discriminator not descriminator.
2011-05-18 14:21:23 +02:00
Hardy Ferentschik bf4d8ad290 HHH-6171 Some more name changes. Also adding setter/getter for TypeDef to MetadataImpl 2011-05-17 17:20:51 +02:00
Hardy Ferentschik c7293c2170 HHH-6171 Restructering packages, especially a new package for the entity binders. This is consistent w/ the glboal package which contains the binders for entity unrelated binding 2011-05-17 15:13:46 +02:00
Galder Zamarreño f01505591d HHH-6186 Upgraded to latest Infinispan 5.0 CR 2011-05-17 13:59:56 +02:00
Hardy Ferentschik fc94dd07eb HHH-6230 Splitting org.hibernate.metamodel.state into org.hibernate.metamodel.binding.state and org.hibernate.metamodel.relational.state.
Not 100% if this is the best structure, but seems in all cases better then org.hibernate.metamodel.state
2011-05-17 12:33:39 +02:00
Hardy Ferentschik db4e0b0c52 HHH-6230 Formatting and typo fix in method name 2011-05-17 12:25:33 +02:00
Hardy Ferentschik 2fd2bc3e8d HHH-6230 Formatting 2011-05-17 12:20:07 +02:00
Hardy Ferentschik fc942278cc HHH-6230 Fixing wrong usage of equals. A string was compared against an enum 2011-05-17 12:19:44 +02:00
Gail Badner 755e6fcd25 HHH-6230 : Rework attribute binding using attribute states 2011-05-17 12:05:48 +02:00
Stevo Slavic 006c96b952 HHH-6228 Compile tasks using now UTF-8 encoding. Initially they used platform encoding making build platform dependent.
Change-Id: I64d5496a71c96008b175f53b3febdad7ed6febfd
2011-05-17 11:01:11 +02:00
Hardy Ferentschik cb7eb17caa HHH-6202 Binding discriminator column.
Using  org.hibernate.metamodel.binding.InheritanceType in ConfiguredClass which has a NO_INHERITANCE enum value.
Adding some initial tests
2011-05-16 21:17:37 +02:00
Hardy Ferentschik 85b0725c28 HHH-6202 Cleanup of existing classes. Replacing TODO with AssertionFailure 2011-05-16 21:15:34 +02:00
Hardy Ferentschik 5d766b237b HHH-6202 Adding new helper method for getting a single annotation instance from a map 2011-05-16 17:45:49 +02:00
Hardy Ferentschik ac0cf3afd8 HHH-6202 Deleting deprecated annotations. Core 4 seems to be a good point to get rid of them. 2011-05-16 17:34:28 +02:00
Hardy Ferentschik 3bef552483 HHH-6202 Starting to process the discriminator column 2011-05-16 10:37:20 +02:00
Hardy Ferentschik ab1dca7e86 HHH-6202 Adding InheritanceType enum 2011-05-16 10:37:19 +02:00
Strong Liu f70f8d7101 HHH-6133 update global configuration override strategy to make it consisit with previouse version 2011-05-13 21:16:15 +08:00
Strong Liu 4e0f6a1578 HHH-6133 new added list was not put into map in GlobalAnnotations 2011-05-13 12:54:33 +08:00
Strong Liu 48d93c88bc HHH-5434 org.hibernate.test.filter.DynamicFilterTest testSqlSyntaxOfFiltersWithUnions fails with Ingres dialect 2011-05-12 22:42:33 +08:00
Hardy Ferentschik 0278966b2e Removing obsolete DomHelper. Removing dom4j methods from MappingHelper. Removing getClassValue, because ClassLoaderService should be used 2011-05-12 12:04:45 +02:00
Hardy Ferentschik 095e858f77 HHH-6133 Formatting and applying missing licence header 2011-05-12 11:07:10 +02:00
Strong Liu 0e20d34cd8 HHH-6133 add an additional AnnotationValue for each mocked AnnotationInstance to mark it is from xml 2011-05-12 10:00:04 +02:00
Strong Liu 7e999e421d HHH-6133 mock attribute annotations wrt access type, was mock one attribute annotations on both property and field 2011-05-12 10:00:04 +02:00
Strong Liu 635ee5a0ec HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml 2011-05-12 10:00:03 +02:00
Strong Liu 31d0ca2f0f HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml 2011-05-12 10:00:03 +02:00
Strong Liu fcf439d4d1 HHH-6133 Enhance annotation based Jandex index with configuration extracted from orm.xml 2011-05-12 10:00:03 +02:00
Hardy Ferentschik de1e1717c5 HHH-6119 Formatting 2011-05-11 16:17:07 +02:00
Michael Rudolf 790b8dcbf8 Added null checks to prevent NullPointerExceptions when the path source is null.
Signed-off-by: Michael Rudolf <javaprog@gmx.de>
2011-05-11 15:59:40 +02:00
Michael Rudolf 77753b3496 Added test showing misbehaviour of AbstractPathImpl.get(String), which throws a NullPointerException while preparing an IllegalArgumentException that should be thrown here.
Signed-off-by: Michael Rudolf <javaprog@gmx.de>
2011-05-11 15:59:40 +02:00
Hardy Ferentschik 850cfda6c3 HHH-6207 Implementing binding of @Cacheable. Changing implementation of Caching to use AccessType enum instead of string 2011-05-11 15:12:06 +02:00
Hardy Ferentschik 3dfeceffe3 HHH-6214 Updated test 2011-05-10 17:13:02 +02:00
Hardy Ferentschik 996d567731 HHH-6214 Converting RegionFactory to a Service 2011-05-10 15:48:14 +02:00
Gail Badner e98b3ac727 HHH-6213 : Move domain and relational state interfaces into org.hibernate.metamodel.state 2011-05-10 00:27:15 -07:00
Steve Ebersole 66a641df05 HHH-6211 - Fix bad pull request merge 2011-05-09 10:07:41 -05:00
Steve Ebersole 6e71657331 HHH-6211 - Fix bad pull request merge 2011-05-09 10:07:41 -05:00