Commit Graph

1065 Commits

Author SHA1 Message Date
John Verhaeg 8fcbf71a11 HHH-6809: Changed Loader.hasMaxRows() to return false if maxRows is zero, and removed bad expectation from FooBarTest.testFindByCriteria() 2011-11-07 10:52:38 -06:00
Strong Liu ee020c8215 HHH-6789 StringIndexOutOfBoundsException at TemplatedViolatedConstraintNameExtracter.extractUsingTemplate 2011-11-04 06:14:30 +08:00
Strong Liu f1813aec49 HHH-6714 Parentheses dissapear in HQL query where they should stay 2011-11-04 03:26:42 +08:00
Strong Liu 77107cc35a HHH-6714 Parentheses dissapear in HQL query where they should stay 2011-11-04 03:24:53 +08:00
Steve Ebersole 3c3482bd59 HHH-6796 - Services retrieved after SessionFactoryServiceRegistry has started are not configured (Configurable) 2011-11-03 12:10:30 -05:00
Strong Liu 4739c5dc0c HHH-6779 rollback hibernate.properties 2011-11-03 19:05:22 +08:00
Strong Liu 3793238078 HHH-6779 ByteType mapped to tinyint, but on sybase/ms sql server, tinyint is unsigned int 2011-11-03 19:04:37 +08:00
Strong Liu 368ef6713b HHH-6773 test fails on sybase 2011-11-03 16:43:18 +08:00
Emmanuel Bernard c04442281b HHH-6796 Make the service configuration logic being executed by the owning service registry 2011-11-02 21:32:50 +01:00
Strong Liu 944ae2c488 HHH-6795 unsupported Boolean type null value on Sybase causes hangs forever when doing bind parameter 2011-11-02 22:30:46 +08:00
Strong Liu 16f0fa5373 HHH-6795 unsupported Boolean type null value on Sybase causes hangs forever when doing bind parameter 2011-11-02 22:27:58 +08:00
Strong Liu e210537059 HHH-6792 connection leaks due to service registry is not destroyed 2011-11-02 22:27:58 +08:00
Strong Liu 70bd57bcff HHH-6792 connection leaks due to service registry is not destroyed 2011-11-02 17:37:05 +08:00
Strong Liu 192682d31b Merge branch 'sybase' 2011-11-02 14:16:19 +08:00
Strong Liu bec88716d6 HHH-6791 tiny improvement, in favor of java auto-box instead of create new instance 2011-11-02 14:16:02 +08:00
Strong Liu 2d084cb8d9 HHH-6787 upgrade to JBoss Logging tools 1.0.0.CR3 2011-11-01 10:30:00 +00:00
Strong Liu 388ceaf186 HHH-6773 test fails on sybase 2011-11-01 16:55:41 +08:00
Strong Liu 9509f1d8bf HHH-6773 test fails on sybase 2011-11-01 15:17:33 +08:00
Strong Liu e5dc668011 HHH-6773 test fails on sybase 2011-11-01 15:00:19 +08:00
Strong Liu d370865c9f HHH-6786 DB2 v97 doesn't support define a boolean type column 2011-11-01 14:18:18 +08:00
Strong Liu bdde0f44ad HHH-6773 test fails on sybase 2011-10-27 19:40:58 +08:00
Sanne Grinovero 129c0f1348 HHH-6732 more logging trace statements are missing guards against unneeded string creation 2011-10-26 23:24:15 +01:00
Sanne Grinovero 94f66c3944 HHH-6739 JtaIsolationDelegate.doTheWorkInNewTransaction fails to propagate or otherwise report caught exceptions 2011-10-26 23:24:14 +01:00
John Verhaeg d4b47e78ba HHH-6775: Changed AbstractTransactSQLDialect.getNullColumnString() to return empty string, which matches some of the other dialects and allows the DB to auto-determine a column's nullability in certain situations 2011-10-26 14:14:30 -05:00
Lukasz Antoniak c74610bd80 HHH-6766 - Test cleanup 2011-10-26 23:15:13 +08:00
Lukasz Antoniak fed759f8e5 HHH-6766 - Criteria API multicolumn subqueries 2011-10-26 23:15:13 +08:00
Strong Liu c26030a27e HHH-2304 Wrong type detection for sql type char(x) columns 2011-10-26 23:12:22 +08:00
Strong Liu 27e9957f9e HHH-6773 test fails on sybase 2011-10-26 22:46:50 +08:00
Strong Liu 082431a48d HHH-6773 test fails on sybase 2011-10-26 18:58:57 +08:00
Strong Liu f5a5784766 HHH-6773 test fails on sybase 2011-10-26 18:53:21 +08:00
Strong Liu f262811c8f HHH-6773 test fails on sybase 2011-10-26 18:40:44 +08:00
Strong Liu 7b9e2130b2 HHH-6773 test fails on sybase 2011-10-26 18:20:30 +08:00
Gail Badner 2bbb3074d4 HHH-6723 : Remove extra join from eager @OneToOne 2011-10-25 22:09:25 -07:00
Gail Badner 63ad1467fb HHH-6748 : Test failures due to inconsistent numeric return type from native query 2011-10-25 15:51:02 -07:00
Gail Badner 4c41638202 HHH-6770 : Oracle reserved words used as column names 2011-10-25 15:30:28 -07:00
Gail Badner 070833c107 HH-6771 : Test failure on Oracle due to ORDER BY in subquery 2011-10-25 12:35:27 -07:00
Gail Badner 505869e9d2 HHH-6770 : Oracle reserved words used as column names 2011-10-25 10:17:24 -07:00
John Verhaeg b31c17b332 HHH-6767: Added guard to ensure the DB is not SQL SErver before adding ORDER BY clause to SQL 2011-10-24 16:19:43 -05:00
John Verhaeg 0db90f08d9 HHH-6764: Added additional test for SQL Server that uses getDate() function, and made previous test skip SQL Server dialect 2011-10-24 14:03:14 -05:00
John Verhaeg 71c230bf5b HHH-6762: Skipped currently failing test and added new test that uses copy of test class that contains join formula suitable for SQL Server 2011-10-24 11:11:35 -05:00
Strong Liu bdba5898c9 clean up imports 2011-10-24 16:26:37 +08:00
Gail Badner d579033ca2 HHH-6760 : Test failures on Oracle due to identity IDs 2011-10-21 18:29:46 -07:00
Gail Badner 22fdec8d22 HHH-6188 : java.util.UUID cannot be used for Ids on Oracle 2011-10-21 16:46:31 -07:00
Gail Badner 70b9210864 HHH-6759 : Null properties mapped as boolean cause exception on Oracle 2011-10-21 16:02:33 -07:00
Gail Badner 0d007bce7c HHH-6758 : Test failure due to Oracle restrictions on Blob comparison and missing equals() and hashCode() 2011-10-21 14:21:26 -07:00
John Verhaeg 4eca0b5e97 HHH-6757: Changed test to really test case insensitivity and fixed reversed parameters in assertEquals methods 2011-10-21 15:29:58 -05:00
Gail Badner b1923d5ab5 HHH-6756 : Test failures due to Oracle LONG limitations 2011-10-21 12:30:22 -07:00
John Verhaeg 924770fa09 HHH-6755: Added BINARY datatype mapping to AbstractTransactSQLDialect (the base class for Sybase and SQL Server dialects) 2011-10-21 11:00:35 -05:00
John Verhaeg d12e0c09ae HHH-6749: Modified SQLServer2005Dialect.getLimitString() to add limit criteria that uses the max row value in an exclusive manner 2011-10-20 16:39:34 -05:00
Gail Badner 7c2d88df8b HHH-6751 : Test failure due to inconsistent scale returned for BigDecimal properties 2011-10-20 13:01:16 -07:00
Gail Badner c5733e7837 HHH-6748 : Test failures due to inconsistent numeric return type from native query 2011-10-20 11:30:41 -07:00
renj 4046181781 HHH-6745 Sybase ASE dialect improvement 2011-10-20 13:51:05 +08:00
John Verhaeg 41d8758f92 HHH-6750: Modified test to expect different value for the SQL Server 2008 dialect. May have to expand the expection for other dialects. 2011-10-19 15:50:32 -05:00
John Verhaeg 47b7ca8c0d HHH-6749: Modified test to use dialect.useMaxForLimit() to determine the expected row count 2011-10-19 15:42:44 -05:00
Gail Badner 3b3f921eb5 HHH-6748 : Test failures due to inconsistent return type from COUNT(*) in native query 2011-10-19 13:26:21 -07:00
Andrei Badea 09d40d1785 HHH-3434 - hql insert doesn't work when inserting into a table with composite-id 2011-10-19 11:48:04 +02:00
Johno Crawford af2417cbaa HHH-6121: Hibernate statistics should log at DEBUG level instead of INFO. 2011-10-19 17:25:19 +08:00
Gail Badner 7e1752cfb3 HHH-6744 : Skip MultiPathCircleCascadeTest.testMergeEntityWithNonNullableTransientEntity() when CHECK_NULLABILITY is false and sequence/increment generator is used 2011-10-18 17:05:54 -07:00
Gail Badner 35a8543818 HHH-6744 : Disable failing test due to TransientObjectException with CHECK_NULLABILITY=false 2011-10-18 15:31:08 -07:00
Strong Liu 036b9579d6 HHH-6742 move unit tests back to src/test 2011-10-18 22:17:13 +08:00
Strong Liu 98e68aab4b HHH-6742 move unit tests back to src/test 2011-10-18 21:47:19 +08:00
Emmanuel Bernard 02003c1aec HHH-6735 Guard other FieldInterceptorHelper methods called from core 2011-10-17 17:25:10 +02:00
Emmanuel Bernard 6cd8a238a5 HHH-6735 Mention expensiveness of these operations in JavaDoc 2011-10-17 17:25:10 +02:00
Emmanuel Bernard aef27fec41 HHH-6735 Let Core use InstrumentationService instead of FieldIinterceptionHelper directly 2011-10-17 17:25:10 +02:00
Emmanuel Bernard 2357dcc442 HHH-6735 Introduces an InstrumentationService that caches isInstrumented per class 2011-10-17 17:25:09 +02:00
Strong Liu fcf402c4af HHH-6737 column names in Constraint is not quoted even column name is quoted in mapping 2011-10-17 16:34:35 +08:00
Lukasz Antoniak 0645acf04f HHH-6068 - Test case 2011-10-15 00:29:42 +02:00
Sanne Grinovero 1acc35ca4a HHH-6732 Some logging trace statements are missing guards against unneeded string creation 2011-10-14 17:55:00 +01:00
Sanne Grinovero 9f1b53fd1e whitespace consistency in ActionQueue 2011-10-14 17:19:00 +01:00
Sanne Grinovero e93a83f5c2 HHH-6733 Avoid frequent usage of ReflectHelper in PojoInstantiator 2011-10-14 14:30:28 +01:00
Strong Liu fbc105aef1 skip annotation used wrong, it should be SkipForDialect, but RequiresDialect used 2011-10-14 01:45:53 +08:00
Strong Liu bcae560079 HHH-2304 Wrong type detection for sql type char(x) columns 2011-10-13 21:20:48 +08:00
Lukasz Antoniak 2ac8c0c007 HHH-6068 - Honor JPA default schema and catalog 2011-10-12 19:43:32 +02:00
Strong Liu 92da1097aa HHH-6717 oracle does not have a boolean type 2011-10-12 17:40:09 +08:00
Gail Badner c180d721c0 HHH-4982 : JPA OneToOne(optional=true) not supported with @PrimaryKeyJoinColumn 2011-10-12 01:59:08 -07:00
Shaun Appleton 8325933dff Fix for HHH-4854 2011-10-12 11:22:26 +08:00
Emmanuel Bernard a351c52020 HHH-6724 Move persister binding for class hierarchies to PersisterClassResolver out of {Hbm|Annotation}Binder 2011-10-12 02:13:05 +02:00
John Verhaeg 8473c4a47b HHH-6722: Removed extraneous assertion from testCreateAndDropOnlyType method that causes failures on dialects that don't support drop table if exists 2011-10-11 11:20:13 -05:00
Strong Liu 4cb4a25994 HHH-6715 Integrator classes not being located correctly 2011-10-11 17:20:18 +08:00
Guilherme Silveira 82b167e5f1 removing useless variables
removing useless logical conditions
extracted some methods to improve cyclomatic complexity
extracted loop into two pieces to remove extra useless variables and minimize complexity
2011-10-11 11:25:33 +08:00
Strong Liu f951e15fea HHH-6717 oracle does not have a boolean type 2011-10-09 16:19:52 +08:00
Strong Liu 884f6a2455 HHH-4881 - restrict polymorphic query results 2011-10-09 14:36:25 +08:00
James Gilbertson fb1b483721 HHH-4881: Added test cases for parameterized discriminator type 2011-10-09 14:36:24 +08:00
James Gilbertson 308847f526 HHH-4881: Use Loadable.getDiscriminatorValue() for nullSafeSet 2011-10-09 14:36:24 +08:00
James Gilbertson 11ef3e0765 HHH-4881: Keep track of the actual value used for the discriminator 2011-10-09 14:36:24 +08:00
Strong Liu 81ad5c0eff correct typo in javadoc
update log trace level
2011-10-09 12:39:19 +08:00
Strong Liu 7b1c172b84 HHH-6716 envers should set the TCCL to the envers classloader before constructing a dom4j instance. This will allow applications to use their own version of dom4j 2011-10-08 15:03:14 +08:00
Gail Badner b307a801a7 Immutable natural key lookup not recognized using query cache 2011-10-03 14:05:21 -07:00
Strong Liu 8f520e1126 HHH-6704 POSTGRESQL test failures 2011-10-01 02:33:46 +08:00
Strong Liu 56ce194a29 HHH-6702 mysql 51 test failures 2011-10-01 02:30:09 +08:00
Strong Liu 3c07e5d6ba HHH-6702 mysql 51 test failures 2011-10-01 02:27:03 +08:00
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
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
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