Commit Graph

964 Commits

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