Commit Graph

1439 Commits

Author SHA1 Message Date
Emmanuel Bernard e71c0e4ba4 add a comment on flush mode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18161 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 15:40:12 +00:00
Emmanuel Bernard 084d84b8f8 Remove System.err.println oops
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18160 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 15:39:37 +00:00
Emmanuel Bernard 8eb02db44c HHH-4649 Properly bind Environment#GLOBALLY_QUOTED_IDENTIFIERS to orm.xml <delimited-identifier/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18159 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 14:20:56 +00:00
Steve Ebersole 6b9e796074 HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18158 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 13:14:47 +00:00
Adam Warski 25343680c9 HHH-4645:
- shortening the names of the default schema/default catalog properties

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18156 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 12:43:06 +00:00
Adam Warski cd7a5cac7b HHH-4645:
- renaming properties from camel case to use _ to separate words, as is the Hibernate convention
- old property names are still supported
- updating documentation

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18152 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 08:55:15 +00:00
Adam Warski e9ff8cf3b6 HHH-4644:
- when using join-inheritance, the columns in child entities which map to the revision number use the correct sql-type
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18150 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 08:36:49 +00:00
Strong Liu 9dbb880df6 minor change, correct javadocs spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 06:58:40 +00:00
Steve Ebersole a2bf14ae7c HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18148 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-06 22:20:58 +00:00
Adam Warski ecb103cf55 HHH-4641:
- support for @PrimaryKeyJoinColumn on inherited entities
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18136 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-04 16:30:16 +00:00
Adam Warski acecf71618 HHH-4633:
- enabling and fixing the test for same-table m2m mapppings

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18123 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 14:47:45 +00:00
Adam Warski de48820558 HHH-4633:
- enabling and fixing the test for same-table m2m mapppings

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18122 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 14:39:52 +00:00
Adam Warski ed2d72e492 HHH-4633:
- supporting where clauses on collections (e.g. @WhereJoinTable)
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18120 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 10:23:16 +00:00
Galder Zamarreno df2f9a8270 [HHH-4575] (When Infinispan is configured for INVALIDATION don't send cluster message on entity insert) Fixed.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18119 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 09:03:35 +00:00
Adam Warski 6f978e52bb HHH-4634:
- adding a register of all audit entity names generated so far
- generating a unique entity name in case of a relation owned by both sides
- fixing the test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18118 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 09:03:31 +00:00
Galder Zamarreno c817ba17be [HHH-4631] (Infinispan integration module is causing build problems) Build issues sorted. Re-enabling infinispan module.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18117 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 09:02:31 +00:00
Scott Marlow 5233aeb158 HHH-4546 add JPA 2.0 locking. First pass of support of code around AbstractEntityPersister.getAppropriateLoader
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18116 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 19:41:21 +00:00
Adam Warski 07ec77023e HHH-4634:
- testcase

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18113 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 12:09:56 +00:00
Adam Warski b46895ff17 HHH-4633:
- testcase

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18112 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 11:38:32 +00:00
Steve Ebersole 5916bf0161 HHH-4631 - Infinispan integration module is causing build problems
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18111 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 15:55:26 +00:00
Adam Warski 7b6b156869 * Skipping auditing id mapping generation if the id mapping is unsupported (e.g. key-many-to-one)
* Some logging

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18109 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 07:20:17 +00:00
Steve Ebersole bf9f27215a HHH-4625 - Use of maven-injection-plugin intermittently leads to build failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18107 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 04:53:49 +00:00
Steve Ebersole fa13096363 HHH-4625 - Use of maven-injection-plugin intermittently leads to build failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18106 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 04:51:57 +00:00
Steve Ebersole 2b2df21f2f HHH-4625 : upgrade injection plugin
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18105 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-30 18:18:44 +00:00
Emmanuel Bernard 6458ff4771 minor doc enhancement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18103 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-30 16:50:25 +00:00
Galder Zamarreno 05a02472a9 [ISPN-277] (LRU data container endlesly looping or exhibiting heavy contention) Update to trunk and check if testManyUsers runs fine now.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18077 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-27 16:53:33 +00:00
Adam Warski 393f09eeba HHH-4611:
- handling the case when the revision number in the revision entity uses a @Column(columnDefinition=): the sql-type is property is then set on the REV property of audit entities

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18068 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 16:32:05 +00:00
Adam Warski 096437dec2 HHH-4608:
- options to specify default schema/catalog name for audit tables

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18059 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 08:35:22 +00:00
Adam Warski df17063144 HHH-4608:
- options to specify default schema/catalog name for audit tables

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18056 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 07:45:45 +00:00
Scott Marlow dfffe73198 HHH-4546 add JPA 2.0 locking. Javadoc change.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18054 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 00:05:08 +00:00
Scott Marlow ceaea5a2a3 HHH-4546 add JPA 2.0 locking. Introduce LockOptions as the wrapper and session.buildLockRequest() (replaces session.lock()).
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18053 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 23:59:50 +00:00
Adam Warski 49f7b49bdc HHH-4608:
- options to specify default schema/catalog name for audit tables

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18035 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 16:19:58 +00:00
Adam Warski 8855e85040 HHH-4540:
- updating docs

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18033 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 15:36:49 +00:00
Adam Warski f39550fff1 HHH-4540:
- applying patch from Nicolas Rougé
- the revision timestamp can now be a j.u.Date or a j.s.Date, and be mapped to a Date in the DB
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18032 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 15:21:10 +00:00
Emmanuel Bernard d32a736d76 Add H2 profile
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18030 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 09:41:24 +00:00
Emmanuel Bernard 07c5967f46 HHH-4604 IllegalArgumentException should be raised when an ordinal parameter is not present in the query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18029 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 09:39:08 +00:00
Adam Warski 9d5f0d084a Not swallowing exceptions in some cases when a tx is rolled back by Envers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18028 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 09:19:47 +00:00
Emmanuel Bernard 5b6a8eee07 HHH-3164 HHH-1575 InExpression was populating parameters in the wrong order.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18027 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-23 18:34:56 +00:00
Emmanuel Bernard 1ca018960e HHH-3164 add test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18026 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-23 18:08:09 +00:00
Adam Warski deabfeb485 An error message (instead of an NPE) when a suprclass of an audited entity is not audited
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18024 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-23 15:43:31 +00:00
Steve Ebersole 1a31549ced HHH-2584 - PersistentMap.remove() incorrect on uninitialized, non-extra-lazy map
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18020 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-21 02:57:20 +00:00
Steve Ebersole 5c30fe6464 HHH-2576 - Allow native-sql to have placeholders for default schema and catalog
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18018 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-21 02:01:45 +00:00
Scott Marlow 35ca4c3563 HHH-4546 add JPA 2.0 locking. Still need more LockRequest support in AbstractEntityPersister.getAppropriateLoader(), may need to refactor.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18016 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-20 14:51:13 +00:00
Steve Ebersole a8e34f0066 HHH-2308 - Adding predicates to the join condition using Criteria Query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18012 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-20 05:20:28 +00:00
Steve Ebersole a3d1a3c59f HHH-4586 - Jpa2.0 Criteria API lower function missing parameter
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18008 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-19 01:34:35 +00:00
Steve Ebersole 7587c09f00 HHH-4581 - Embedded objects in criteria API does not work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18007 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 22:13:03 +00:00
Steve Ebersole 085c6c9e9e HHH-4584 - Query Language needs to support joins on embedded values
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18006 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 21:02:19 +00:00
Galder Zamarreno abc165eaba [HHH-4520] (Infinispan second level cache integration can cache stale collection data) Ported fix. testManyUsers has been disabled while ISPN-277 gets fixed. Finally, Infinispan version has been upgraded to 4.0.0.CR2.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18005 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 16:56:13 +00:00
Scott Marlow 1658d1f58b HHH-4588 workaround for JBSEAM-4474
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18004 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 16:35:28 +00:00
Gail Badner 01a1a251d7 HHH-2762 : new unit tests for SessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges() implementation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17998 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-17 23:17:25 +00:00