Commit Graph

1989 Commits

Author SHA1 Message Date
Steve Ebersole 7c6b358d4f HHH-8551 - Cannot use with-clause on the RHS of a join 2013-09-30 13:43:56 -05:00
Brett Meyer 2060e95c40 HHH-8537 @UniqueConstraint naming non-existent column leads to NPE 2013-09-27 16:24:03 -04:00
Steve Ebersole 0d7854a15d HHH-8560 - Add (trace/debug) logging of SQL ResultSet mapping info 2013-09-26 12:23:06 -05:00
Brett Meyer 1a621666e1 HHH-8551 Cannot use with-clause on the RHS of a join 2013-09-25 16:24:48 -04:00
Steve Ebersole 0062600296 HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Steve Ebersole f2b272f468 HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Steve Ebersole 185fa1d68b HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Brett Meyer 55d941944d HHH-8503 whoops 2013-09-24 22:30:55 -04:00
Brett Meyer a5e00f3201 HHH-8503 invoke determineDialect instead of constructDialect when
hibernate.dialect is blank
2013-09-24 22:04:40 -04:00
Brett Meyer 3740a5b37b HHH-8476 Bulk delete doesn't cascade delete on join table 2013-09-24 17:42:29 -04:00
Steve Ebersole 86b2fa4317 HHH-8549 - JPQL TREAT keyword handling is currently case sensitive 2013-09-24 15:13:15 -05:00
Steve Ebersole ae3f1117e0 HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-23 16:05:22 -05:00
Steve Ebersole 498735aa37 HHH-8478 - AttributeConverters need to be applied to JPQL and Criteria queries 2013-09-23 12:55:55 -05:00
Steve Ebersole 903321fe92 HHH-8542 - javax.persistence.Query#setLockMode should throw ISE if not a SELECT JPQL or Criteria query 2013-09-22 19:57:02 -05:00
Steve Ebersole 1f9c157db6 HHH-8539 - @Column#table naming primary table fails 2013-09-22 14:41:00 -05:00
Steve Ebersole 2bb866a616 HHH-8534 - Metamodel#managedType(SomeMappedSuperclass.class) returns null 2013-09-22 14:20:25 -05:00
Steve Ebersole a1ff3a29cb HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 16:55:05 -05:00
Steve Ebersole 4473f0302f HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 14:06:57 -05:00
Steve Ebersole 4d5174f55f HHH-8533 - Add tests of JPA Metamodel handling for MappedSuperclass and mixed @Id/@IdClass declaration 2013-09-20 22:05:24 -05:00
Steve Ebersole bf0eed907f HHH-8530 - Align JPA "positional parameter" handling in javax.persistence.Parameter impl 2013-09-20 12:02:49 -05:00
Steve Ebersole 1889562bed HHH-8525 - Hook in XML overriding of ConstructorResult for sql-result-set-mapping 2013-09-19 17:58:34 -05:00
Brett Meyer 9dba10cf9e HHH-8517 strip time from Date descriptors 2013-09-19 15:20:23 -04:00
Steve Ebersole 075da4fdf0 HHH-8523 - Incorrect parameter binding for Calendar and TemporalType 2013-09-19 13:55:55 -05:00
Steve Ebersole 5a3233b915 HHH-8523 - Incorrect parameter binding for Calendar and TemporalType 2013-09-19 13:20:40 -05:00
Brett Meyer 611e097a04 HHH-8522 CompositeIdTypeBindingTest.testCompositeTypeBinding fails on
sybase157
2013-09-19 12:42:45 -04:00
Lukasz Antoniak 2f145d3985 HHH-8432 - Expanding parameters in IN clause 2013-09-18 17:20:31 -04:00
Steve Ebersole 346d958c20 HHH-8518 - Validate EMF#addNamedQuery transfers all query settings 2013-09-18 14:21:15 -05:00
Brett Meyer feaac3b917 HHH-4910 docs, javadocs, formatting, minor refactoring 2013-09-18 12:27:01 -04:00
Andy2003 bcd6185809 HHH-4910 The collection cache is evicted if a related collection element is inserted, removed or updated
HHH-4910 minor fixes

HHH-4910 make this feature configurable
2013-09-18 12:26:35 -04:00
Brett Meyer 66b222c8bf HHH-8516 EnumeratedTypeTest.testTrimmedEnum fails on oracle 2013-09-18 11:11:45 -04:00
Steve Ebersole 31f50f3280 HHH-8515 - EntityManager#createStoredProcedureQuery( String, String...) should throw IAE if result set mapping name(s) do not exist 2013-09-18 08:48:51 -05:00
Steve Ebersole a2881b3a35 HHH-8498 - Full ConstructorResult handling 2013-09-17 17:29:53 -05:00
Brett Meyer 4b2667cc40 HHH-1835 added stddev to MySQLDialect 2013-09-17 16:29:29 -04:00
Brett Meyer d538b9f2e3 HHH-8504 add MySQL5Dialect to StandardDatabaseInfoDialectResolver 2013-09-17 16:20:05 -04:00
Steve Ebersole 2fd4a75a78 HHH-8510 - Add a Logger which is able to monitor the creation of new Sessions at DEBUG/TRACE level 2013-09-17 13:11:55 -05:00
Steve Ebersole 8dae133bba HHH-4577 - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache 2013-09-16 15:38:17 -05:00
Anton Marsden 7bca11a504 HHH-4577: Improved performance of ActionQueue
The ActionQueue has been seriously refactored. An ExecutableList class
has been created to manage each list of actions, and it includes
serialization behaviour that was previously in ActionQueue. Prevalidate
behaviour has changed - prevalidate is now called once per execution
list rather than once per execution. A test case has been added for
ExecutableList. There is also a new method on the Executable interface.
2013-09-16 12:20:44 -05:00
Arlo Louis O'Keeffe ea7f1e805c HHH-8500 Interbase does not have a boolean type 2013-09-12 13:17:07 -04:00
Steve Ebersole 9e54c418ab HHH-8499 - Prepare for 4.3 Beta4 release 2013-09-12 11:44:42 -05:00
Brett Meyer 580af7e61b HHH-8496 TableCatalog and TableSchema arguments mistaken in DB update-script. 2013-09-12 10:44:43 -04:00
Steve Ebersole 0bf29bc2fd HHH-8493 - Implement ConstructorResults handling 2013-09-12 07:10:44 -05:00
Brett Meyer 312283cb0e HHH-8491 formatting and improved readability 2013-09-11 15:46:23 -04:00
Christian Beikov d224991d1b HHH-8491 Improved implementation for locale string parsing 2013-09-11 15:46:19 -04:00
minman 0695299155 HHH-8472 @Lob annotation applies to both key and value of Map 2013-09-11 14:42:15 -04:00
java4dev@ 7444c6c139 HHH-8297 Typo in error message: "contains phyical column name" 2013-09-11 14:39:27 -04:00
Steve Ebersole cbd828217a HHH-8485 - Apply newly extracted version-injection plugin 2013-09-10 16:08:18 -05:00
Steve Ebersole 1fc9efb2a2 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-09 15:35:55 -05:00
Brett Meyer d995bb9bb9 HHH-8153 Criteria on Enum mapping defined in hbm.xml fails. 2013-09-09 14:40:39 -04:00
Brett Meyer 29ab1766c0 HHH-8363 SessionFactoryServiceRegistryImpl should not call parent#destroy, test failures, formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 360567beac HHH-8363 Some more mem leak fixes 2013-09-06 18:28:58 -04:00
Brett Meyer fa341c66e9 HHH-8363 destroy the parent ServiceRegistry and stop its provided 2013-09-06 18:28:58 -04:00
Brett Meyer 3fdffcbcd4 HHH-8363 cleanup and formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 5011b4a30e HHH-8363 ClassLoaderServiceImpl should be defined as Stoppable
- also fix problem with JpaIntegrator holding references to beanmanager
2013-09-06 18:28:57 -04:00
Steve Ebersole 9348c23e00 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-06 16:47:07 -05:00
Steve Ebersole 1f6daa6785 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-06 13:38:56 -05:00
Brett Meyer 46c962e9b0 HHH-8468 cleanup and simplification 2013-09-05 13:46:44 -04:00
s.vasilyev 91a289e3a9 HHH-8468 - @JoinColumn(table = "...") doesn't use NamingStrategy 2013-09-05 13:27:41 -04:00
s.vasilyev 0cce06fb54 HHH-8468 test case 2013-09-05 13:24:56 -04:00
Brett Meyer a450630f36 HHH-8464 normalize quoting on join column 2013-09-05 12:46:31 -04:00
Brett Meyer 6963dc88d0 HHH-8316 JandexHelper uses ClassLoaderService 2013-09-04 22:38:18 -04:00
Brett Meyer 9acb43599b HHH-8462 Handle <converter></converter> elements in orm.xml 2013-09-04 18:13:44 -04:00
Steve Ebersole 151dd1531b HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-03 11:43:24 -05:00
Brett Meyer 9f10ec5e74 HHH-8454 added numeric types to MySQLDialect#getCastTypeName 2013-08-29 15:06:59 -04:00
Steve Ebersole 939c1f2743 HHH-8445 - Implement REF_CURSOR support for StoredProcedureQuery 2013-08-27 16:17:28 -05:00
Steve Ebersole cd812b6d65 HHH-8413 - Rename ProcedureResults -> ProcedureOutputs 2013-08-25 21:08:49 -05:00
Steve Ebersole 0ecb76f9d5 Tests for @ConstructorResult mapping of stored procedure results 2013-08-25 09:41:56 -05:00
Brett Meyer 8b65113ada HHH-3047 Increase max alias length for Oracle dialects from 10 to 30 2013-08-22 22:32:21 -04:00
Brett Meyer d91ed8942c HHH-4699 test case 2013-08-22 15:35:52 -04:00
Kristian Marinkovic ad5dd18aac HHH-4699 trim value from database before Enum.valueOf()
this change fixes the problem with fixed size columns with enum values
that are right padded.
2013-08-22 15:19:57 -04:00
Steve Ebersole 0b488b92a0 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 10:01:53 -05:00
Steve Ebersole d2c5734c6e HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 09:27:59 -05:00
Steve Ebersole 9f86babd88 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 09:27:59 -05:00
Brett Meyer 8ccbd7d121 HHH-8068 formatting and cleanup 2013-08-21 15:39:32 -04:00
ammachado d0a7a017a5 HHH-8068 Suggestion for improvement. 2013-08-21 15:39:19 -04:00
Brett Meyer 9ee5392456 HHH-7915 test case and cleanup 2013-08-21 15:39:19 -04:00
chris-manning 7ef045ae2c HHH-7915 Include referenced columns when creating foreign keys from the included table 2013-08-21 15:39:07 -04:00
Brett Meyer 10930af516 HHH-2692 corrected failing test 2013-08-20 19:49:27 -04:00
Manuel Bernhardt f1e4bfbffd HHH-2692 Handling subqueries in INSERT...SELECT, disallowing use of
:parameters in SELECT if not in INSERT...SELECT, additional test cases

Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/SelectClause.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:33:36 -04:00
Manuel Bernhardt 6ad0d4cfbe HHH-2692: Correctly reporting type mismatch in select...insert
Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/IntoClause.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:30:35 -04:00
Manuel Bernhardt 9304c2b3e9 Least-effort fix for HHH-2692
Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/HqlSqlWalker.java
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/IntoClause.java
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/SelectExpressionList.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:29:17 -04:00
Steve Ebersole bf168ca24e HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-19 16:07:07 -05:00
Anton Marsden ad5c0f1f82 HHH-5920: improve the performance of PersistentClass 2013-08-19 16:19:26 -04:00
Steve Ebersole 7bcf161d36 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-19 14:54:46 -05:00
Brett Meyer 5a7d179f81 HHH-8423 corrected one un-cleaned-up test 2013-08-19 13:26:18 -04:00
Brett Meyer 714d48880d HHH-8447 HQL delete with multiple subqueries failing (incorrect alias
used)
2013-08-16 12:34:24 -04:00
Brett Meyer cc550c08a8 HHH-8441 Hibernate is trying to add values to an Immutable List 2013-08-16 10:16:21 -04:00
Brett Meyer 05144811e4 HHH-8440 added mssql2012 to StandardDatabaseInfoDialectResolver 2013-08-15 10:10:44 -04:00
Brett Meyer 5981fc19b5 HHH-8440 Support sequences with a new SQLServer2012Dialect 2013-08-14 11:59:51 -04:00
Brett Meyer b1759cb7c2 HHH-8383 ExceptionInInitializerError when changing System properties
while Environment class is initialized
2013-08-13 14:59:46 -04:00
Brett Meyer cc992e0e1a HHH-8183 re-activating test now that QA allows Synonym creation 2013-08-13 10:28:31 -04:00
Brett Meyer e5af57585b HHH-8428 comment & cleanup 2013-08-06 11:53:19 -04:00
Karl von Randow 023862728f HHH-8428 Protect SessionFactoryRegistry.getNamedSessionFactory(String) from NPE 2013-08-06 11:52:59 -04:00
Brett Meyer a2da429997 HHH-8426 Add defaultScrollMode to Dialect 2013-08-06 11:18:13 -04:00
Lukasz Antoniak 4140661b82 HHH-7807 - key-many-to-one cascade removal tests 2013-08-05 23:42:22 -04:00
Lukasz Antoniak 456dfd83f9 HHH-7807 - Cascade delete revisions
Conflicts:
	documentation/src/main/docbook/devguide/en-US/Envers.xml
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
2013-08-05 23:42:05 -04:00
HGC 96e80b2df3 HHH-8397: MultiLineImportFileTest failing on some platforms (Fix) 2013-08-05 22:22:49 -04:00
Brett Meyer b9d3fa5581 HHH-8420 multiple test-only fixes from matrix failures 2013-08-05 17:05:24 -04:00
Brett Meyer 742b1b4156 HHH-2736 query hints for Query and Criteria 2013-08-05 11:12:35 -04:00
Steve Ebersole 6beb5acb4b HHH-8415 - Throw exception types expected by JPA spec wrt StoredProcedureQuery 2013-08-02 19:18:14 -05:00
Sanne Grinovero 8aff7db2e0 HHH-8410 NaturalIdXrefDelegate could miss some cached entries from naturalIdResolutionCacheMap 2013-08-02 18:09:56 +01:00
Sanne Grinovero 168c06d062 HHH-8409 Improve usage of ConcurrentMaps by using putIfAbsent in StatefulPersistenceContext 2013-08-02 18:09:56 +01:00
Sanne Grinovero 1bed587355 HHH-8408 LegacyHiLoAlgorithmOptimizer.noTenantState is accessed with inconsistent synchronization 2013-08-02 18:09:56 +01:00
Sanne Grinovero 1ea823e0b5 HHH-8408 PooledLoOptimizer.noTenantState is accessed with inconsistent synchronization 2013-08-02 18:09:56 +01:00
Sanne Grinovero 4f1c8a4ba6 HHH-8407 Missing synchronization in DriverManagerConnectionProviderImpl#stop 2013-08-02 18:09:56 +01:00
Steve Ebersole 59d2bff81b HHH-8413 - Rename ProcedureResults -> ProcedureOutputs 2013-08-02 10:02:50 -05:00
Steve Ebersole f99e1e4b4a HHH-8411 - StoredProcedureQuery : getResultList and hasMoreResults() mot implemented properly 2013-08-01 21:17:27 -05:00
Steve Ebersole f4cc86f7ad HHH-8405 - Track down tests that leak SessionFactories 2013-08-01 17:16:07 -05:00
Brett Meyer 580a71331c HHH-8390 generate FK after UK 2013-08-01 14:42:47 -04:00
Steve Ebersole c1d1695606 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 01:19:33 -05:00
Steve Ebersole 1a3a2a52a2 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 00:18:56 -05:00
Steve Ebersole 15e9b028b5 HHH-8398 - StoredProcedureQuery passed resultClasses chooses incorrect aliases to extract results 2013-07-31 12:09:06 -05:00
Steve Ebersole cd1c80b82d HHH-8395 - JPA StoredProcedureQuery#getUpdateCount should prefer return -1 rather than throw exceptions 2013-07-31 08:35:27 -05:00
Brett Meyer 3ffc6ce6e8 HHH-8362 InformixUniqueDelegate 2013-07-23 22:49:00 -04:00
Brett Meyer cce9b81471 HHH-8371 corrected failing test 2013-07-23 22:31:21 -04:00
Brett Meyer a2287b6c6d HHH-8371 Consider explicit column name's "_" in alias creation 2013-07-23 22:02:38 -04:00
Strong Liu 1825a4762c HHH-8211 Checkstyle and FindBugs fix-ups 2013-07-13 11:00:42 +08:00
Brett Meyer 0433a539b4 HHH-3078 copyright and refactored package 2013-07-11 19:14:29 -04:00
lgathy 228d14e8bc HHH-3078 Fixed bug with multiple classloaders and proxy class 2013-07-11 19:05:22 -04:00
Strong Liu 9afc17a209 HHH-8357 - remove dom4j proxy support 2013-07-11 17:39:14 +08:00
Brett Meyer c4f1084d20 HHH-8193 copyright dates 2013-07-10 13:49:19 -04:00
Lukasz Antoniak 6c2937e3c8 HHH-8193 - Reset input stream before binding
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/BlobProxy.java
	hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/BlobDescriptorTest.java
2013-07-10 13:26:57 -04:00
Guenther Demetz 2ecde32811 Bugfix proposal HHH-4294 2013-07-10 12:47:41 -04:00
Guenther Demetz d87cc16baa Testcase HHH-4294 2013-07-10 12:45:14 -04:00
Brett Meyer 1f51d12579 HHH-4261 comment and checkstyle 2013-07-10 11:36:37 -04:00
amkad 8ca6b276ca Changed test to reproduce HHH-4261 2013-07-10 11:25:38 -04:00
amkad ff22f64bae Fixed @Any and @ManyToAny support in overridden JPA annotation reader HHH-4261 2013-07-10 11:19:02 -04:00
Brett Meyer 519a469b11 HHH-8318 @SkipForDialect added 2013-07-09 13:05:58 -04:00
Brett Meyer c7707b23f0 HHH-8349 added PostgresPlus to DialectFactory 2013-07-07 21:46:01 -04:00
JohnOhara d9870fffb8 HHH-8106 Fixed bug with Enhancement Task 2013-07-03 10:39:53 -04:00
Brett Meyer 052886afeb HHH-6935 Use bit type for MySQLDialect's boolean 2013-07-01 17:18:44 -04:00
Brett Meyer 58622f3e10 HHH-7996 arquillian-based OSGi unit test, minor CL fixes 2013-07-01 16:38:20 -04:00
Brett Meyer 17d9a2c1fc HHH-7116 Moved orderBy fix to AbstractEntityJoinWalker. Copyrights,
formatting, and checkstyle
2013-07-01 14:03:51 -04:00
Tommy Knowlton 87004f9815 HHH-7116 test case and fix 2013-07-01 13:40:22 -04:00
Brett Meyer 4ee9ade353 HHH-8210 JdbcCoordinatorImpl logs excessive warnings with some
connection pools
2013-06-27 22:48:48 -04:00
Emmanuel Bernard 97304a291d Add test for HHH-8314 2013-06-27 15:53:36 +02:00
Brett Meyer b9185ac43b HHH-8331 keep postgres81 as the default 2013-06-23 13:42:53 -04:00
Brett Meyer 81affe3afe HHH-7002 added support for "if exists" on "drop constraint" 2013-06-23 13:17:28 -04:00
Brett Meyer edf1fa9fbc HHH-8331 Create PostgreSQL9Dialect 2013-06-23 13:17:05 -04:00
Brett Meyer c785c5e7a8 HHH-8319 checkstyle 2013-06-21 10:51:42 -04:00
justinsubert f1439b5601 HHH-8319 2013-06-21 10:47:56 -04:00
Steve Ebersole 4ab3caa789 HHH-8318 - Problem determining qualifier to use for column names from HQL query parser in certain circumstances 2013-06-20 22:05:38 -05:00
Brett Meyer 2c1605904d HHH-8318 updated test case 2013-06-20 12:00:24 -04:00
Brett Meyer e4eadbb9fe HHH-8318 test case 2013-06-18 13:33:45 -04:00
Strong Liu 899b306f26 HHH-8312 - named parameters binding are not correct when used within subquery 2013-06-15 08:15:19 +08:00
Strong Liu 6cabc326b8 HHH-8312 - named parameters binding are not correct when used within subquery 2013-06-15 15:58:48 +08:00
Lukasz Antoniak 6a71cbb991 HHH-8301 - SQLServer2005LimitHandler skips column alias generation 2013-06-11 10:14:45 -07:00
Brett Meyer 4ed8006e5a HHH-8255 made a few hibernate-core imports optional in the manifest 2013-06-07 13:05:36 -04:00
Brett Meyer 04f3249a12 HHH-8275 union-subclass generates bad alter table for unique constraint 2013-06-03 17:19:38 -04:00
Steve Ebersole af5e8c3869 HHH-7841 - Introduce LoadPlan 2013-05-31 01:14:18 -05:00
Brett Meyer 875495439e HHH-8269 DenormalizedTable FK constraint names can be too long 2013-05-25 20:24:53 -04:00