Commit Graph

824 Commits

Author SHA1 Message Date
Strong Liu 3d3b5b85f5 HHH-6703 id element has 'column' attribute, then the pk column is nullable in ddl created by schema export 2011-10-01 01:21:14 +08:00
Strong Liu 30a0c3843a PostgreSQL does support 'drop table if exists' syntax (hibernate jira down) 2011-09-30 17:49:46 +08:00
Strong Liu 9d7114ec55 HHH-6702 mysql test failures 2011-09-30 17:23:36 +08:00
Strong Liu e4480f905c HHH-6702 mysql test failures 2011-09-30 17:21:05 +08:00
Emmanuel Bernard cbec206e2f HHH-6691 Clarify exception thrown upon impossible unwrap operation 2011-09-29 15:36:58 +02:00
Steve Ebersole e14e47968f HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 12:45:07 -05:00
Steve Ebersole f4fa176255 HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 11:49:17 -05:00
Strong Liu 50bbfa1002 HHH-5326 Added stats for UpdateTimestamp region 2011-09-27 13:04:30 +08:00
Alex Snaps 772bf93fcf Added stats for UpdateTimestamp region 2011-09-27 11:51:28 +08:00
Gail Badner 3e3250e2a9 HHH-6669 : Manual SchemaExport broken due to temp code comments 2011-09-23 11:13:52 -07:00
Strong Liu 24e3d1ce72 HHH-6456 don't know why this fix lost 2011-09-23 16:08:05 +08:00
Gail Badner d56ebfb443 HHH-6625 : EntityPrinter.toString() fails for non-POJO entities (happens when logging) 2011-09-22 12:53:40 -07:00
Emmanuel Bernard e20a0e6a9f HHH-6668 Resource should not have heading / (hibernate.cfg.xml schema) 2011-09-20 18:51:14 +02:00
CodingFabian 2a15694fa1 ColumnName cache now uses a map which supports multithreaded access.
The implementation now uses ConcurrentHashMap which provides faster multithreaded gets and safe writes.
2011-09-15 23:36:38 +08:00
Strong Liu 999526c3c3 minor change, correct javadoc and typo 2011-09-15 23:25:29 +08:00
Strong Liu 50db873e2c correct unmappable non-utf-8 characters 2011-09-15 22:45:08 +08:00
Steve Ebersole d652de654c HHH-6653 - Clean up JAXB generated classes 2011-09-13 20:08:42 -05:00
Steve Ebersole 9f214d8018 HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle 2011-09-13 18:46:28 -05:00
John Verhaeg f4c36a10f8 HHH-6439: Added getAddUniqueConstraintString method to Dialect and updated UniqueKey classes to use it 2011-09-09 10:30:01 -05:00
John Verhaeg 88b6b4c67b HHH-6581: Changed default access type determination to look for an explicit access annotation at the top of the hierarchy before falling back to the current strategy of examining identifiers 2011-09-09 09:42:00 -05:00
Steve Ebersole db7cdb95a8 HHH-6641 - Document services 2011-09-08 16:41:40 -05:00
Emmanuel Bernard 7c39b19ab2 HHH-6091 Move DefaultIdentifierGeneratorFactory; use MutableIdentifierGeneratorFactory for public contracts 2011-09-07 12:25:10 +02:00
Emmanuel Bernard 88a7edbdd7 HHH-6091 Make IdentifierGeneratorFactory a service
Create a MutableIdentifierGeneratorFactory to host the register contract
Make MutableIdentifierGeneratorFactory a default StandardServiceInitiator
2011-09-07 12:25:10 +02:00
Lukasz Antoniak 7d593e32e2 HHH-6533 - Fix and test 2011-09-05 20:15:29 +02:00
Steve Ebersole 020c919245 HHH-6412 - hibernate version is not injected by the injection plugin 2011-08-31 23:19:05 -05:00
Gail Badner b0df669cbc HHH-6619 : Move org.hibernate.pretty.Printer to org.hibernate.internal.util.EntityPrinter 2011-08-31 14:56:55 -07:00
Steve Ebersole 938c4a870c HHH-6384 - hibernate.hbm2ddl.auto=create does not drop tables 2011-08-31 16:18:25 -05:00
Gail Badner 09bba73a25 HHH-6384 : hibernate.hbm2ddl.auto=create does not drop tables 2011-08-31 16:18:25 -05:00
John Verhaeg 61d60d0c88 HHH-6623 Turned off hibernate.show_sql in core's test/resources/hibernate.properties, which seems to be a sufficient workaround for now 2011-08-31 14:14:13 -05:00
Strong Liu aa5bcfa2cc HHH-6618 running hibernate functional test cases on DB matrix 2011-08-30 23:29:09 +08:00
Strong Liu 75e0ba4ce3 HHH-6588 rollback to use "org.hibernate.SQL" category to log sql 2011-08-30 18:20:31 +08:00
Strong Liu 3b7bdb8ddc HHH-6618 enable idea support for matrix sourceset 2011-08-30 15:20:51 +08:00
Strong Liu e941eca2d5 HHH-6618 running hibernate functional test cases on DB matrix 2011-08-30 14:06:13 +08:00
Steve Ebersole 68f7d9b713 HHH-6586 - Document metamodel package as experimental and unsupported 2011-08-29 18:38:16 -05:00
Strong Liu 29bce38307 HHH-6606 ignore test org.hibernate.metamodel.source.annotations.util.EmbeddableHierarchyTest#testEmbeddableHierarchy 2011-08-29 14:20:24 +08:00
Lukasz Antoniak 1525067792 HHH-6594 - Fix and test 2011-08-28 09:25:39 +02:00
Scott Marlow 927539f24a HHH-6601 use DEBUG for logging of missing package-info messages 2011-08-24 10:42:52 -04:00
Strong Liu 1ddc599803 Merge remote branch 'lukasz/HHH-5848' 2011-08-24 13:08:19 +08:00
Strong Liu 8ee4156a1a HHH-6577 code style format 2011-08-20 10:33:02 +08:00
Strong Liu d2045611aa Merge remote-tracking branch 'cubrid/master' 2011-08-20 10:29:45 +08:00
Gail Badner aee2312475 HHH-1645 : Refresh with LockMode on an unitialized proxy does not work 2011-08-19 14:20:42 -07:00
Esen Sagynov 0962a5420f Added CUBRIDDialect source. Extended StandardDialectResolver by adding CUBRIDDialect info. 2011-08-17 18:42:43 -07:00
Gail Badner fbb2c68b6b HHH-6370 : HSQLDB fixes reported issues and adds minor enhancement (Fred Toussi) 2011-08-16 18:00:10 -07:00
Steve Ebersole 01604bef94 HHH-6503 - Develop Set-style plural attribute support for new metamodel 2011-08-16 18:10:16 -05:00
Steve Ebersole 859b61a7c4 HHH-6503 - Develop Set-style plural attribute support for new metamodel 2011-08-16 17:55:55 -05:00
Hardy Ferentschik 524443d848 HHH-6268 Fixing test errors caused by NullPointerExceptions and refactoring annotation processing code in EntityClass 2011-08-16 18:03:53 +02:00
John Verhaeg 39da72cadb HHH-6268: Oops, shouldn't have been part of this push 2011-08-16 10:41:40 -05:00
Lukasz Antoniak b3bd4f7aae HHH-5848 - Fix and test 2011-08-15 22:18:49 +02:00
JPAV adf6271594 HHH-6268 Bound JPA callback methods to entities, including those defined by default listeners, and added new method to Integrator that handles MetadataImplementor instead of Configuration, modifying affected classes accordingly. BeanValidationIntegrator and EnversIntegrator still need to be implemented but require other portions of metamodel to be completed first. 2011-08-15 10:13:29 -05:00
Strong Liu 05cec5a4ba fix bug in previous re-fact 2011-08-15 15:33:39 +08:00
Strong Liu 4ccc536c99 HHH-6573 change to use ClassLoaderService to locate service initiator 2011-08-15 15:30:55 +08:00
Strong Liu 71adfabca8 simple code refact 2011-08-15 14:55:06 +08:00
Gail Badner dc7feab061 HHH-6498 HHH-6337 : Updates to support single-table inheritance using new metamodel 2011-08-11 18:01:01 -07:00
Scott Marlow 2faeb783a4 HHH-6564 support pre-AS7 transaction manager lookup and AS7-AS4 usertransaction lookup 2011-08-11 13:42:25 -04:00
Gail Badner e1f86077c2 HHH-6565 : Unique constraint columns that already exist in the table are not found 2011-08-10 13:45:29 -07:00
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