Commit Graph

933 Commits

Author SHA1 Message Date
Hardy Ferentschik 8bf9791254 HHH-6828 Taking case sensitivity into account when accessing the database metadata
Also extending the test and formatting the code.
2011-11-17 17:51:30 +01:00
Strong Liu 93f6ad6e2e HHH-6818 update dependencies management 2011-11-14 17:12:51 +08:00
renj c575f6e5f5 HHH-6807 skip this test for Sybase ASE 2011-11-14 13:08:13 +08:00
renj 937f395834 Skip empty clob test due to HHH-6425 2011-11-14 13:08:13 +08:00
renj 513b1baa62 HHH-6807 skip this test for Sybase ASE 2011-11-14 13:08:12 +08:00
renj ca2bd08997 Skip empty clob test due to HHH-6425 2011-11-14 13:08:12 +08:00
Steve Ebersole fe2246a67b HHH-2403 : system independent newline handling 2011-11-10 14:58:49 -06:00
Steve Ebersole 7207098194 HHH-2403 : system independent newline handling 2011-11-10 14:55:14 -06:00
Lukasz Antoniak 92ae782653 HHH-2403 - ImportSqlCommandExtractor set from outside SchemaExport 2011-11-10 12:08:51 -06:00
Lukasz Antoniak 72b2af3b0a HHH-2403 - Documentation, formatting 2011-11-10 12:08:50 -06:00
Lukasz Antoniak 00e32f5e7f HHH-2403 - New configuration parameter, documentation 2011-11-10 12:08:50 -06:00
Lukasz Antoniak c6d616a8bf HHH-2403 - Improved import.sql 2011-11-10 12:08:50 -06:00
John Verhaeg 25e8a43d81 HHH-6815: Overrode SQLServerDialect.getSqlTypeDescriptorOverride(int) to return a SmallIntTypeDescriptor instead when the datatype being updated is a TINYINT 2011-11-09 12:52:51 -06:00
Steve Ebersole 8bb51c7acb HHH-5937 - @Enumerated(EnumType.STRING) not taken into account in an @Embeddable included in another @Embeddable 2011-11-09 10:05:17 -06:00
Gail Badner 9d2574947b HHH-6700 : Fix ID length for UUIDBinaryTest#testUsage so it works on H2 2011-11-09 02:27:06 -08:00
Strong Liu 5f494d4fca HHH-6700 mysql test failures 2011-11-09 13:48:59 +08:00
Gail Badner 05b815c5f5 HHH-3218 : ManyToOne Persisting Cascade in Embeddable -- added test case 2011-11-08 15:22:40 -08:00
Gail Badner 9c0aa69b5b HHH-5146 : org.hibernate.util.IdentitySet.iterator() return Map.Entry instances instead of actual elements 2011-11-07 22:37:34 -08:00
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