Commit Graph

879 Commits

Author SHA1 Message Date
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
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
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