Commit Graph

769 Commits

Author SHA1 Message Date
Gail Badner 446fcc6af8 HHH-6563 : NullPointerException using annotations source if a unique constraint is not mapped with a constraint name 2011-08-09 14:06:27 -07:00
Gail Badner 5ee60b1ca4 HHH-6560 : Discriminator match value is not initialized in root EntityBinding 2011-08-08 12:46:43 -07:00
Strong Liu 50ee956d49 HHH-6262 Bind @EmbeddedId 2011-08-08 14:07:01 +08:00
Hardy Ferentschik 89991f8610 HHH-6537 Adding check for @MapsId annotation to AssociationAttribute. 2011-08-05 12:32:00 +02:00
Gail Badner 6065d57e39 HHH-6547 : Basic properties cannot be made nullable in HBM XML 2011-08-04 18:58:10 -07:00
Gail Badner cb5a74fd51 HHH-6337 : Add EntityBinding methods to support single-table inheritance 2011-08-04 10:16:11 -07:00
Hardy Ferentschik eb766cc0f7 HHH-6537 Getting AssociationAttribute into shape. Parsing more association attributes and implementing missing attributes in ToOneAttributeSourceImpl.
Preperation for adding @MapsId
2011-08-04 16:06:52 +02:00
Hardy Ferentschik 683478674c HHH-6537 formatting 2011-08-04 11:00:00 +02:00
Scott Marlow 72078ade4d HHH-6543 change JBoss TM jndi string to java:jboss/TransactionManager 2011-08-03 22:12:29 -04:00
Gail Badner 2d52494b90 HHH-6423 : Add JoinedIterable<T> 2011-08-03 17:08:29 -07:00
Strong Liu 660a7cbef1 simple code format 2011-08-04 00:04:43 +08:00
Gail Badner 1d6a5d7fe1 HHH-6529 : Type is not resolved for plural attributes 2011-08-02 17:02:10 -07:00
Scott Marlow 5dc04960d6 Merge pull request #146 from scottmarlow/master
HHH-6536, set TCCL to the Hibernate classloader to workaround antlr loading class by name
2011-08-02 13:55:31 -07:00
Scott Marlow 07d15fb39b HHH-6536, set TCCL to the Hibernate classloader 2011-08-02 14:08:19 -04:00
Hardy Ferentschik 0ff0e6e062 HHH-6535 Implementing support for @o.h.a.Target also fixing bug using ConfiguredClass.getClass() instead of ConfiguredClass.getConfiguredClass 2011-08-02 17:32:20 +02:00
Hardy Ferentschik b336bf5d53 HHH-6501 Adding support for @Parent in EmbeddedClass 2011-08-02 12:40:02 +02:00
Hardy Ferentschik 6fb38e45ae HHH-6501 Pushing custom tuplizer into ConfiguredClass 2011-08-02 12:26:12 +02:00
Hardy Ferentschik b1478946db HHH-6393 Adding more tests and implementing nested embeddables 2011-08-02 12:00:05 +02:00
Hardy Ferentschik e875bb6004 HHH-6393 First cut of attribute overrides for embeddables 2011-08-01 18:08:49 +02:00
Hardy Ferentschik ca7a1e284f HHH-6393 Making the name of the test classes consistent 2011-08-01 15:47:49 +02:00
Hardy Ferentschik b8cc897bee HHH-6520 Construction of type resolver needs to be deferred 2011-08-01 15:22:43 +02:00
Hardy Ferentschik f2338af9eb HHH-6520 Some formatting and method name changes. Also moving AbstractAttributeTypeResolver into the type sub-package 2011-08-01 14:35:15 +02:00
Strong Liu 3689e533fb HHH-6520 if no @GeneratedValue on an simple @Id property, then the generator type should be assigned 2011-08-01 19:50:27 +08:00
Strong Liu 5a00cb9276 HHH-6521 Column name is not quoted even the global quote identifier property is enabled 2011-08-01 19:50:27 +08:00
Strong Liu 37a8f83d2e HHH-6490 Support @javax.persistence.Lob
HHH-6492 Support @javax.persistence.Enumerated
refact HHH-6489 Support @javax.persistence.Temporal
refact test
add license header
2011-08-01 19:47:15 +08:00
Strong Liu 67e8f311db simple code refact 2011-08-01 13:51:32 +08:00
Strong Liu cc2dab0f18 HHH-6490 Support @javax.persistence.Lob
HHH-6492 Support @javax.persistence.Enumerated
refact HHH-6489 Support @javax.persistence.Temporal
2011-07-30 17:19:09 +08:00
Gail Badner 2b0e0281b0 HHH-6506 : Descriminator type is not resolved 2011-07-29 17:27:54 -07:00
Gail Badner bb7280a649 HHH-6519 : Temporarily use default column precision, scale, length when not specified 2011-07-29 17:22:20 -07:00
Gail Badner d011313b26 HHH-6519 : Temporarily initialize default column precision, scale, and length in o.h.metamodel.relational.Size 2011-07-29 16:26:15 -07:00
Steve Ebersole 7742811466 HHH-6503 - Develop Set-style plural attribute support for new metamodel 2011-07-29 16:43:34 -05:00
Steve Ebersole 631286c77b HHH-6503 - Develop Set-style plural attribute support for new metamodel 2011-07-29 16:43:33 -05:00
Hardy Ferentschik 425f41f5d6 HHH-6495 Implementing ComponentAttributeSource#getPath and re-enabling EmbeddableBinding test. Still not sure about all the different implementation in ComponentAttributeSourceImpl. Most of them just don't seem to be relevant. 2011-07-29 12:45:03 +02:00
Steve Ebersole 85c63dbaf0 Simple code cleanup 2011-07-28 11:39:08 -05:00
Hardy Ferentschik baa649c802 HHH-6495 Adding a comment and reference to jira issue 2011-07-28 17:59:58 +02:00
Hardy Ferentschik 61ab328b4a HHH-6495 Passing BasicAnnotationBindingTest. More methods of ComponentAttributeSource need implementing though. 2011-07-28 17:59:58 +02:00
Gail Badner ca1c77d9f6 HHH-6499 : NPE can be thrown by some implementations of Helper.ValueSourcesAdapter.isIncludedInInsertByDefault() and isIncludedInUpdateByDefault() 2011-07-28 08:54:43 -07:00
Hardy Ferentschik ab72eb05ec HHH-6495 Putting FailureExpected on class level until the component processing via annotation is working 2011-07-28 13:08:48 +02:00
Strong Liu b818f94eb1 HHH-1780 rollback wrongly commented test 2011-07-28 17:53:06 +08:00
Strong Liu aac7e3ee7e HHH-1780 negation of EXISTS in hql query does not work 2011-07-28 17:49:12 +08:00
Strong Liu ec89e8674d HHH-6485 Add support for @DiscriminatorFormula 2011-07-28 16:26:07 +08:00
Strong Liu 236ba1d247 HHH-6485 Add support for @DiscriminatorFormula 2011-07-28 16:26:06 +08:00
Gail Badner ac7feff33a HHH-6500 : EntityBinding.getEntity().getSuperType() is null for subclass EntityBinding 2011-07-27 21:35:58 -07:00
Gail Badner b2692620d7 HHH-6497 : Update AbstractEntityPersister to use AssociationAttributeBinding.getCascadeStyle() and getFetchMode() 2011-07-27 13:58:30 -07:00
Steve Ebersole e1f7ee8e0f HHH-6480 - Develop component binding for new metamodel 2011-07-27 13:09:41 -05:00
Steve Ebersole 91f84c2303 HHH-6480 - Develop component binding for new metamodel 2011-07-27 11:49:10 -05:00
Steve Ebersole e540089783 HHH-6480 - Develop component binding for new metamodel 2011-07-27 11:45:31 -05:00
Hardy Ferentschik 605ce4ba29 HHH-6489 @Tempoeral support 2011-07-27 14:08:34 +02:00
Hardy Ferentschik 3cbd2ae908 HHH-6488 Implementing SimpleIdentifierSource#getIdentifierGeneratorDescriptor for annotations 2011-07-27 13:40:25 +02:00
Hardy Ferentschik 9bf55b6e07 HHH-6488 Renaming JandexHelper#getValkueAsEnum to JandexHelper#getEnumValue
Also adding a test to JandexHelperTest which tests retrieving a unknown
annotation parameter
2011-07-27 13:39:26 +02:00
Hardy Ferentschik 9d63b05426 HHH-6488 Adding missing license header 2011-07-27 13:32:30 +02:00
Hardy Ferentschik 605c9e30a2 HHH-6488 Formatting and commenting 2011-07-27 13:31:25 +02:00
Hardy Ferentschik 350984a181 HHH-6212 Adding a secondary table test 2011-07-26 14:24:53 +02:00
Hardy Ferentschik 3ff5c13058 HHH-6212 Some discriminator related cleanup. Getting rid of DiscriminatorColumnValues 2011-07-26 14:24:52 +02:00
Hardy Ferentschik 57cb51fd14 HHH-6212 Adding 'Iterable<TableSource> getSecondaryTables()' to EntitySource
Extending EntityClass to collect secondary table information
2011-07-26 14:24:52 +02:00
Hardy Ferentschik 5954d1c2c4 HHH-6212 Consistent naming of test classes 2011-07-26 14:24:52 +02:00
Hardy Ferentschik 8ecd7aace8 HHH-6212 Consistent naming of test classes 2011-07-26 14:24:51 +02:00
Hardy Ferentschik 0c64e244c9 HHH-6212 Introducing ConstraintSource interface
Implementing unique table constraints using ConstraintSource and
re-enabling UqiqueConstraintBindingTests
2011-07-26 14:24:51 +02:00
Hardy Ferentschik 9eb049040a HHH-6212 Renaming SimpleAttribute to BasicAttribute 2011-07-26 14:24:51 +02:00
Hardy Ferentschik ae8a29bdb2 HHH-6216 Formatting and removing of obsolete imports and class 2011-07-26 14:24:51 +02:00
Strong Liu bfa4734521 HHH-6482 ddl from schema export is not correctly formatted 2011-07-26 02:00:06 +08:00
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