Commit Graph

708 Commits

Author SHA1 Message Date
Steve Ebersole 7529dd8e81 HHH-6479 - Split notions of locating and creating an attribute 2011-07-22 14:27:35 -05:00
Steve Ebersole 1de1325e64 HHH-6478 - Code cleanup in metamodel package 2011-07-22 13:11:45 -05:00
John Verhaeg 8c6b2a52fe HHH-6477: Updated XML files used in tests to not use namespace prefix for target namespace 2011-07-22 12:18:09 -05:00
Hardy Ferentschik ceda40b686 HHH-6476 implementing AttributeSource.getPropertyAccessorName and adding tests 2011-07-22 18:37:05 +02:00
John Verhaeg 092af61f04 HHH-6477: Added elementFormDefault='qualified' to hibernate configuration and mapping schemas 2011-07-22 11:02:55 -05:00
Steve Ebersole 9ec53fa1f8 HHH-6472 - Implementing EntityDiscriminator and discriminator match value 2011-07-22 08:07:00 -05:00
Steve Ebersole 486352eaa9 HHH-6471 - Redesign how EntityBinding models hierarchy-shared information 2011-07-21 12:35:30 -05:00
Steve Ebersole 46102a2be3 HHH-6471 - Redesign how EntityBinding models hierarchy-shared information 2011-07-21 12:21:26 -05:00
Hardy Ferentschik 8639904969 HHH-6447 Implementing EntityDiscriminator and discriminator value binding 2011-07-21 18:42:55 +02:00
Hardy Ferentschik e358ab7b5a HHH-6469 changing 'jaxb:version' to 'version' as per recommended workaround http://metro.1045641.n5.nabble.com/Both-jaxb-version-and-version-are-present-td1067289.html 2011-07-21 12:30:00 +02:00
Hardy Ferentschik c069e6dada HHH-6447 Formatting 2011-07-21 12:26:34 +02:00
Steve Ebersole dd2cbf863d HHH-6467 - Non-association attributes are not dirty-checked 2011-07-20 23:22:02 -05:00
Steve Ebersole c7ae4477ae HHH-6453 - Enable new metamodel in BaseCoreFunctionalTestCase 2011-07-20 18:16:24 -05:00
Steve Ebersole 2abfe3de23 HHH-6447 - Develop shared binding creation approach 2011-07-20 15:58:13 -05:00
Steve Ebersole acc93a3d8c HHH-6447 - Develop shared binding creation approach 2011-07-20 15:38:57 -05:00
Steve Ebersole 4968ad11fb HHH-6447 - Develop shared binding creation approach 2011-07-20 15:38:56 -05:00
Gail Badner ab3d89ae51 HHH-6460 : AbstractEntityPerister is missing simple property information 2011-07-20 02:48:31 -07:00
Gail Badner f90f224f60 HHH-6257 : Add IdentifierGenerator to EntityIdentifier binding 2011-07-20 02:19:37 -07:00
Gail Badner edb264ae15 finish-sf-build 2011-07-19 16:30:29 -07:00
Gail Badner ba56266dec HHH-6453 : Enable new metamodel in BaseCoreFunctionalTestCase 2011-07-19 10:59:55 -07:00
Hardy Ferentschik 2c37e01a00 HHH-6447 Using shared binding approach via annotation 2011-07-19 17:39:24 +02:00
Hardy Ferentschik 2ea24693c0 HHH-6371 Refactoring entity based test. Introducing @Resources 2011-07-19 17:32:11 +02:00
Steve Ebersole 8d3e94ab83 HHH-6447 - Develop shared binding creation approach 2011-07-19 00:08:40 -05:00
Gail Badner 49c54069cd HHH-6449 : Change Exportable.sqlCreateStrings/sqlDropStrings(MetadataImplementor) to take Dialect argument instead 2011-07-18 15:11:23 -07:00
Gail Badner 5b7ee4f11b HHH-6444 : Integrate new metamodel into SchemaExport 2011-07-18 13:29:22 -07:00
Steve Ebersole 55a630b8fd HHH-6395 - Deprecate org.hibernate.annotations.Entity 2011-07-18 15:10:38 -05:00
Steve Ebersole 8725195501 HHH-6395 - Deprecate org.hibernate.annotations.Entity 2011-07-18 14:49:12 -05:00
Steve Ebersole d9b4342562 HHH-6399 - Create @SelectBeforeUpdate annotation 2011-07-18 14:44:57 -05:00
Steve Ebersole b7fe6c0d58 HHH-6398 - Create @DynamicUpdate annotation 2011-07-18 14:41:56 -05:00
Steve Ebersole 455b16075d HHH-6397 - Create @DynamicInsert annotation 2011-07-18 14:38:28 -05:00
Steve Ebersole 764d55b3a1 HHH-6401 - Create @OptimisticLocking annotation 2011-07-18 14:24:55 -05:00
Steve Ebersole 7dc7132fdb HHH-6400 - Create @Polymorphism annotation 2011-07-18 14:15:16 -05:00
Alex Snaps c26a23bf90 EHC-864 Moved all Hibernate dependent classes from ehcache-core to hibernate-ehcache module and fixed to use new API 2011-07-19 01:51:02 +08:00
Steve Ebersole c7421837a4 HHH-6447 - Develop shared binding creation approach 2011-07-18 12:27:52 -05:00
Hardy Ferentschik 6ffd34d234 HH-6447 marking failing test temporarily w/ @FailureExpected 2011-07-18 11:02:36 +02:00
Steve Ebersole c5b013d368 HHH-6447 - Develop shared binding creation approach 2011-07-16 11:58:59 -05:00
Gail Badner b17e062a37 HHH-6450 : Change length argument of Dialect.getTypeName() and TypeNames size/capacity to long 2011-07-15 17:53:05 -07:00
Steve Ebersole 809540b08c HHH-6447 - Develop shared binding creation approach 2011-07-15 18:28:24 -05:00
Steve Ebersole d3d1fdf423 HHH-6447 - Develop shared binding creation approach 2011-07-15 18:13:53 -05:00
Steve Ebersole 0c7498e31d HHH-6447 - Develop shared binding creation approach 2011-07-15 18:11:32 -05:00
Hardy Ferentschik dfd4e61a98 HHH-6371 Adding Hibernate type information for the attribute binding 2011-07-15 19:03:24 +02:00
Hardy Ferentschik 3f31aa8f69 HHH-6371 Bringing the annotation side into sync with the new push (setter) approach for the binders
Creating an explicit AnnotationBindingContext (instead of letting AnnotationProcessor implement it) and making use of the context in the global binders

Updating EntityBinder to use the push approach. Still needs major cleanup
2011-07-15 18:48:01 +02:00
Gail Badner aa28d7016e HHH-6431 : Update MetadataImplementor imports 2011-07-14 11:23:53 -07:00
Gail Badner 53e1a37adf HHH-6431 : Add Exportable.sqlCreateStrings() and sqlDropStrings() and implementations 2011-07-14 11:23:53 -07:00
Steve Ebersole c558583346 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-14 13:07:05 -05:00
Steve Ebersole f7b0da60b3 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-14 11:13:05 -05:00
Steve Ebersole 9972c7ecb7 HHH-6437 - Improve Database to track default Schema object 2011-07-13 18:43:51 -05:00
Steve Ebersole 56aa17b0d5 HHH-6437 - Improve Database to track default Schema object 2011-07-13 18:26:25 -05:00
Steve Ebersole 229842aadb HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 17:39:09 -05:00
Steve Ebersole 4e18a56850 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 16:18:09 -05:00
Hardy Ferentschik ad959ce566 HHH-6371 Fixing OverrideTest - package names in orm mapping files did not get updated properly during the package refactoring 2011-07-13 16:47:38 +02:00
Hardy Ferentschik 5e7b730f09 HHH-6371 changing the import statements in the annotation xml processing to use org.hibernate.metamodel.source.annotation.jaxb instad of org.hibernate.metamodel.source.annotation.xml 2011-07-13 16:35:00 +02:00
Steve Ebersole 8c28d46b07 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 09:13:22 -05:00
Steve Ebersole c97075c3c8 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 09:08:31 -05:00
Steve Ebersole 24edf42c04 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 09:08:31 -05:00
Steve Ebersole e339dac91e HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 09:08:31 -05:00
Steve Ebersole c4c8c28a3b HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 09:06:17 -05:00
Steve Ebersole a7179fbc49 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:59:13 -05:00
Steve Ebersole 9e95d41689 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:57:11 -05:00
Steve Ebersole 66bd796063 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:54:31 -05:00
Steve Ebersole 594f689d98 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:45:52 -05:00
Steve Ebersole 5efd0a8471 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:45:52 -05:00
Steve Ebersole 182150769a HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:45:52 -05:00
Hardy Ferentschik 99f8d26270 HHH-4630 Simplifying test and applying formatting style 2011-07-13 11:47:38 +02:00
Hardy Ferentschik 3ec6c11f12 HHH-4630 fix for criteria join on a composite identifier 2011-07-13 11:47:30 +02:00
Gail Badner 3dd9d37eec Merge branch 'HHH-6418' 2011-07-12 14:26:59 -07:00
Gail Badner ad3b58f5e2 HHH-6418 : org.hibernate.metamodel.relational.AuxiliaryDatabaseObject extends org.hibernate.mapping.RelationalModel 2011-07-12 14:26:08 -07:00
Gail Badner 30843f2032 HHH-6416 : Move AuxiliaryDatabaseObject into Database 2011-07-12 13:44:07 -07:00
Hardy Ferentschik d58bb5a103 HHH-6392 making the simple class name the default jpa entity name 2011-07-12 15:02:35 +02:00
Hardy Ferentschik 959056dee7 HHH-6392 Making sure that overrides get applied and adding more tests 2011-07-12 14:57:14 +02:00
Hardy Ferentschik 593066b7f3 HHH-6392 Formatting 2011-07-12 12:07:55 +02:00
Hardy Ferentschik 2500a70668 HHH-6392 Applying overrides for mapped superclasses 2011-07-12 11:03:35 +02:00
Hardy Ferentschik c2c3de9f90 HHH-6392 Extracting the attribute overrides. Next step is to apply the overrides when creating the attribute bindings 2011-07-12 11:03:35 +02:00
Strong Liu 1801faa1b3 HHH-2614 (I forgot to push ..., thanks hardy) 2011-07-12 09:28:46 +08:00
Hardy Ferentschik 50ac18c5c3 HHH-2614 Fixing test now that there is a DerbyTenSevenDialect 2011-07-11 13:49:26 +02:00
Hardy Ferentschik 77004f5fe2 HHH-6392 Starting to refactor JandexHelper 2011-07-11 13:26:23 +02:00
Hardy Ferentschik a353d34f78 HHH-6392 Introducing a container for the attribute override values 2011-07-11 13:26:23 +02:00
Strong Liu b413299847 HHH-2614 Blob Length Set to 255 By Default With Derby DB 2011-07-11 16:54:17 +08:00
Emmanuel Bernard 310c0441bb HHH-6421 Reduce log level of LazyInitializationException from ERROR to TRACE 2011-07-08 18:12:30 +02:00
Tomaz Cerar e47460317c sql server dialect fix 2011-07-08 17:57:35 +02:00
Strong Liu 3075d7d7ee typo in javadoc 2011-07-08 22:25:10 +08:00
Emmanuel Bernard c5e91f6bda HHH-6419 Let SessionImplementor#getFactory pass even out of Tx in TL bound sessions 2011-07-08 01:40:53 +02:00
Emmanuel Bernard c48d4208db HHH-6417 Implement EventType#toString 2011-07-07 23:51:57 +02:00
Hardy Ferentschik b600f027a4 HHH-6278 Added some comments and renamed method in EntityClass - getPrimaryTableName to getClassNameForTable 2011-07-07 11:51:02 +02:00
Strong Liu ce47766281 HHH-6278 quote all db identifiers
also this commit contains code that make annotation binder applying naming strategy
2011-07-07 11:24:54 +08:00
Gail Badner 5457b6c707 HHH-6411 : Integrate new metamodel into SingleTableEntityPersister 2011-07-06 15:08:36 -07:00
Gail Badner d981f54942 HHH-6407 : Add SimpleValue.getAlias(Dialect) and implement in subclasses 2011-07-06 14:31:41 -07:00
Emmanuel Bernard f0a8fe5643 HHH-6408 Be tolerant with empty (ie not null) properties 2011-07-06 23:09:59 +02:00
Emmanuel Bernard 426406ef32 HHH-6404 Move Hibernate Search integrator from Hibernate Core to Hibernate Search 2011-07-06 21:46:05 +02:00
Hardy Ferentschik 94aea008d3 HHH-6394 fixing the check for resultClass in named native query 2011-07-06 17:50:26 +02:00
Hardy Ferentschik bcdefd10a6 HHH-6289 Adjusting log levels and fixing formatting and javadocs 2011-07-06 17:12:10 +02:00
Hardy Ferentschik d1eec59c08 HHH-6381 Adding a actual assertion which tests the optional part. Also applying formatting styles. 2011-07-06 14:46:07 +02:00
David Mansfield 20559966b3 HHH-6381 - handle optional=true joins for SecondaryTables in the JoinedSubclassEntityPersister 2011-07-06 13:58:28 +02:00
Gail Badner 7c84b08391 HHH-6389 : Add TableSpecification.getQualifiedName(Dialect) and implement in subclasses 2011-07-05 21:01:11 -07:00
Gail Badner 3b22a9fd29 HHH-6387 : Add EntityBinding.getFilterDefinitions() and addFilterDefinition() 2011-07-05 14:08:17 -07:00
Hardy Ferentschik ec482d3d0e HHH-6201 Create attribute and attribute bindings for mapped super classes 2011-07-05 16:19:35 +02:00
Hardy Ferentschik 546ba3c550 HHH-6201 Introduce explicit maps for id-, simple- and association-attributes 2011-07-05 16:14:32 +02:00
Hardy Ferentschik d3f20f44ea HHH-6201 Import cleanup 2011-07-05 16:08:51 +02:00
Hardy Ferentschik 2ebe0c4005 HHH-6201 Changing toString implementation to just print the simple class name 2011-07-05 16:08:50 +02:00
Hardy Ferentschik 390d2fd00d HHH-6201 Adding todo 2011-07-05 16:08:50 +02:00