Commit Graph

5728 Commits

Author SHA1 Message Date
Gunnar Morling 8468d834ef HHH-9451 Propagating entity entry extra state when using identity id generation strategy
(cherry picked from commit 4bbf4cd1db)
2015-03-13 12:56:33 -07:00
Sanne Grinovero 04e7cfce70 HHH-9659 AnnotationMetadataSourceProcessorImpl uses a Logger.debugf method without matching parameters 2015-03-13 19:09:12 +00:00
Sanne Grinovero 6eb6f38721 HHH-9658 Refactor some of the existing logging tests 2015-03-13 19:09:12 +00:00
Sanne Grinovero c067fc2b42 HHH-9658 Simplify the way tests assert on logging statements 2015-03-13 19:09:12 +00:00
Gail Badner 965e044850 HHH-9333 : TypeMismatchException when using composite-id and natural-id mappings 2015-03-12 23:40:47 -07:00
Gail Badner 6c404c30f7 HHH-9642 : Join fetch not performing join fetch for @Embeddable with @OneToMany 2015-03-11 15:58:29 -07:00
Steve Ebersole 24bafba2b0 Merge pull request #848 from golovnin/HHH-9328_newmaster
HHH-9328 Avoid creation of Cascade objects at all
2015-03-10 22:21:53 -05:00
Bradley Plies 51c7bd1523 HHH-5654 PostgreSQL Dialect will now correctly apply "for update of" for any necessary table aliases. Added test.
Signed-off-by: Bradley Plies <pliesb@yahoo.com>
2015-03-10 21:44:39 -05:00
Brett Meyer e70832d9dd HHH-9044 - Create Oracle12cDialect 2015-03-10 21:40:03 -05:00
Steve Ebersole 11095e709d HHH-9044 - Create Oracle12cDialect 2015-03-10 21:38:51 -05:00
zhouyanming 73a88ff65c HHH-9044 - Create Oracle12cDialect 2015-03-10 21:38:41 -05:00
Steve Ebersole c2f62a528b HHH-9167 - Support Postgres9.2 JSON data type 2015-03-10 21:33:05 -05:00
Brett Meyer efaa916a8e HHH-9167 - Support Postgres9.2 JSON data type 2015-03-10 21:32:05 -05:00
Mark Robinson 588d02b6c2 HHH-9167 Add support for PostgreSQL's new JSON data type
(cherry picked from commit 4a8bc1f250)
2015-03-10 21:25:54 -05:00
Steve Ebersole a0a9a4d1e8 HHH-8911 - ClassCastException between CompositeCustomType and ComponentType 2015-03-10 20:56:06 -05:00
Steve Ebersole 6a6a7c3228 HHH-9141 - Remove deprecated PersistenceProvider from hibernate-entitymanager META-INF/services/javax.persistence.spi.PersistenceProvider 2015-03-10 20:48:54 -05:00
Steve Ebersole b318d21cc8 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 20:44:10 -05:00
Steve Ebersole 83756008d2 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 19:36:54 -05:00
Steve Ebersole 1abae7bfa2 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 19:28:56 -05:00
Steve Ebersole ca31abfe61 HHH-9490 - Migrate from dom4j to jaxb for XML processing;
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 17:10:35 -05:00
Steve Ebersole 9caca0ce37 HHH-9490 - Migrate from dom4j to jaxb for XML processing;
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 16:53:51 -05:00
Brett Meyer aa31b26d32 HHH-9647 added new jboss logging transitive dep to osgi runtime 2015-03-10 12:47:56 -04:00
Sanne Grinovero 800ceaa329 HHH-9647 Upgrade related components 2015-03-10 12:47:56 -04:00
David Pilato 657bf6f59b HHH-9647 Update jboss logging to 3.2.1.Final
When using Hibernate 4 with Log4J2, all messages are printed on CONSOLE instead of using Log4J2.
Upgrading the `pom.xml` with:

```xml
<dependency>
    <groupId>org.jboss.logging</groupId>
    <artifactId>jboss-logging</artifactId>
    <version>3.2.1.Final</version>
</dependency>
```

Fixes the issue. See [JBLOGGING-107](https://issues.jboss.org/browse/JBLOGGING-107). It worths upgrading Hibernate to depend on 3.2.0 (minimum) or 3.2.1 (latest).
2015-03-10 12:47:56 -04:00
Sanne Grinovero 63ae6dec38 Fix some whitespaces in hibernate-osgi.gradle 2015-03-10 12:47:56 -04:00
Sanne Grinovero fd95ccb398 Include a new .gitignore file for tooling/hibernate-gradle-plugin as it's generated by Eclipse 2015-03-10 12:47:55 -04:00
Brett Meyer cf11d3c3fd hibernate-osgi test debugging README 2015-03-10 12:25:06 -04:00
Etienne Miret 94ad371bf3 HHH-9247 Attribute "name" of named-attribute-node maps to "value" of annotation. 2015-03-09 12:07:48 +00:00
Etienne Miret 58e4c675d3 HHH-9247 Add test for parsing named-attribute-nodes in orm.xml. 2015-03-09 12:07:36 +00:00
Sanne Grinovero 9973e90bcc HHH-9648 Upgrade to HikariCP v. 2.3.3 (Java 6 compatible edition) 2015-03-06 22:44:56 +00:00
Sanne Grinovero f552f6499f HHH-8788 removed unnecessary warning related to follow-on locking with Criteria and LockMode.NONE 2015-03-06 16:03:18 +00:00
David Pilato 91aee82b07 buildSessionFactory() should return a sessionFactory
The example does not compile for obvious reason :)
2015-03-05 09:04:29 +01:00
Brett Meyer 9aebcf64e7 HHH-9639 support unwrapping HikariCPConnectionProvider as DataSource 2015-03-04 23:02:58 -05:00
Galder Zamarreño 260ff03ae5 HHH-9632 Update to Infinispan 7.1.0.Final 2015-03-02 09:54:02 +01:00
Gail Badner 9337f73185 HHH-9457 : EntityGraph with order by using Oracle10gDialect 2015-02-20 17:32:41 -08:00
Kamil Szymanski f46fe0ff25 HHH-9601 ordering column name fix in table schema in example 7.8 2015-02-20 11:14:16 -05:00
Kamil Szymanski 033f084e9a HHH-9600 remove outdated info about cache concurrency strategies support 2015-02-20 11:13:58 -05:00
Gail Badner 47294034e7 HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join (test case) 2015-02-18 13:22:21 -08:00
Gail Badner 0215008851 HHH-9621 : Add HQL query to warning about positional parameter usage 2015-02-18 11:30:50 -08:00
Gail Badner 36cc2c836c HHH-9597 : Criteria creates invalid column aliases 2015-02-12 13:38:09 -08:00
Gail Badner c9df7589f2 HHH-9597 : Criteria creates invalid column aliases (test case) 2015-02-12 13:23:27 -08:00
Gail Badner 264b0be40e HHH-9523 : EnumeratedTypeTest - select from dual causes test failures on mssql, postgresql, db2 and sybase 2015-01-21 16:53:11 -08:00
Brett Meyer 7f17e50c72 HHH-9528 close InputStreams in jpamodelgen JpaDescriptorParser 2015-01-21 15:55:25 -05:00
Gail Badner f1a9a9f006 HHH-9091 : Collection deleted due to orphan removal fails with constraint violation 2015-01-21 00:37:55 -08:00
Brett Meyer 2d64e539aa HHH-8494 cleanup 2015-01-20 10:46:29 -05:00
hernan be08e94aa5 HHH-8494: Misleading log info during batch execution.
* Added a boolean variable to indicate if during addToBatch method the
batchSize is reached and there is more than one batch execution.
* The logging about performing a batch execution is moved to
performExecution method.
* The logging indicating that there is no statement to execute in batch
is performed only if there was no previous batching execution.
2015-01-20 10:45:23 -05:00
Eric Haas 6f6b3264f3 HHH-9043
Added the ability to customize the modified field name for audited fields.
2015-01-19 17:27:36 -05:00
Gail Badner 3cc8cb3113 HHH-9573 : Add EntityManager test case illustrating usage of query cache 2015-01-16 15:13:39 -08:00
Gail Badner d933c78185 HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (reverts HHH-9330) 2015-01-14 15:06:53 -08:00
Gail Badner 083e8cf52e HHH-9568 : Move test case from CascadeTest to OneToOneOrphanTest 2015-01-14 14:46:25 -08:00