Commit Graph

737 Commits

Author SHA1 Message Date
Juraci Krohling e177341bd2 HHH-3946 - Added missing 'open transactions' and fixed the assertion failure.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16703 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-05 12:48:36 +00:00
Adam Warski d14805e920 HHH-3939:
- not creating a join table when the association is not audited

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16702 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-05 12:25:08 +00:00
Juraci Krohling 4097832958 HHH-3946 - Added missing 'open transactions' and fixed the assertion failure.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16701 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-05 12:09:49 +00:00
Juraci Krohling ce9140c808 ANN-840 - Reverted, as we don't want to hide the existing bug
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16700 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-05 11:57:40 +00:00
Juraci Krohling 87c75ad036 ANN-840 - Added explicit not-null in foreign keys, as workaround for JBPAPP-1071
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16698 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-04 18:27:00 +00:00
Steve Ebersole 1a3d59029f HHH-1930 - QuerySyntaxException "with-clause expressions did not reference from-clause element to which the with-clause was associated"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16668 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-02 15:40:10 +00:00
Gail Badner 35a28509f2 HHH-3810 : rename CopyCache to EventCache to be more generic
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-02 09:30:14 +00:00
Steve Ebersole 77b959f5cc HHH-3383 - QueryKey is storing references to entities instead of identifiers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16660 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-01 22:08:28 +00:00
Steve Ebersole baa2efd863 HHH-3532 - schema update task should look for foreign key signature
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16659 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-01 21:50:17 +00:00
Steve Ebersole 9c26388abf HHH-3383 - QueryKey is storing references to entities instead of identifiers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16656 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-01 21:12:25 +00:00
Steve Ebersole aa710c6668 HHH-3383 - QueryKey is storing references to entities instead of identifiers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16652 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-01 18:54:44 +00:00
Steve Ebersole f8e2670b6e HHH-3401 - H2 Database Dialect Fixes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16650 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-01 15:38:08 +00:00
Steve Ebersole befed9e125 HHH-3401 - H2 Database Dialect Fixes (formatting)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16647 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-01 15:24:20 +00:00
Steve Ebersole 409f2e8569 HHH-3401 - H2 Database Dialect Fixes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16643 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-01 15:14:58 +00:00
Adam Warski f0eb349e87 Fixinga bug with storing null values for fields in a superclass
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16641 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-31 13:39:00 +00:00
Adam Warski c44ff38d6d HHH-3847:
- applying a patch to fix the NPE

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16640 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-31 13:00:56 +00:00
Emmanuel Bernard 15cf066f96 Typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16615 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-25 11:29:22 +00:00
Adam Warski 8003b501fe HHH-3708:
- improving error reporting for relations where only one entity is audited

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16610 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-21 14:52:22 +00:00
Adam Warski f20c97f921 HHH-3706:
- applying patch from Jesse Jose C (thanks!) to fix generating schema in using the ant task when using annotation configuration

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16609 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-21 14:13:32 +00:00
Steve Ebersole 6eb4caf053 HHH-3918: Use standard JDK exception nesting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16604 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-20 04:39:00 +00:00
Hardy Ferentschik 97a0919521 JBPAPP-1998 Added additional try/catch in AbstractEntityManagerImpl.wrapStaleStateException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16594 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-19 09:55:46 +00:00
Gail Badner ea7c157ae7 HHH-3510 : Add FailureExpected test for HQL SQLFunction replacement not occur
ing when HQL text has no parenthesis


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16593 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-18 22:38:23 +00:00
Gail Badner 710d983cd6 HHH-3810 : Transient entities can be inserted twice on merge
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16569 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-14 20:27:19 +00:00
Steve Ebersole b6b1db702e HHH-3912 - Change for HHH-3159 causes InstantiationException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16563 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-13 22:43:29 +00:00
Hardy Ferentschik 062e0b5ecd ANN-831 - upgraded to the Beta2 version of JPA2 and reverted some code
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16551 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-12 13:09:57 +00:00
Steve Ebersole 9d2b288c45 HHH-3804 - Cleanup usage of deprecated APIs in testsuite (Session#find, etc)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16536 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-11 21:13:36 +00:00
Steve Ebersole 6bde7fd4b1 HHH-2745 - NullPointerException when eager fetching joined many-to-many with native SQL query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16535 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-11 21:12:30 +00:00
Hardy Ferentschik 4a7e87b673 JBPAPP-1075 Removed @Column( unique = true ) - it is not needed for this test and causes problems with Oracle
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16533 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-11 14:10:17 +00:00
Hardy Ferentschik e7a7d3d0d8 JBPAPP-1075 removed obsolete @RequiresDialect annotation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16532 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-11 13:19:42 +00:00
Hardy Ferentschik 5945e5d92b removed unnecessary depedencyManagement section and changed the postgresql definition. Using classifier did not work for me (using maven 2.1.0)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16531 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-11 13:17:21 +00:00
Hardy Ferentschik 48916f02eb make annotation complie again with java 5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16530 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-11 12:28:36 +00:00
Paul Ferraro 1aed163763 Upgraded JBoss Cache to 3.1.0.GA
Enable org.hibernate.test.cache.jbc2.functional.MVCCConcurrentWriteTest.testManyUsers() now that JBCACHE-1494 is fixed


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16525 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-08 01:12:20 +00:00
Emmanuel Bernard 2bcb6626f8 ANN-827 ANN-828 doc for Hibernate Validation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16524 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-07 21:35:18 +00:00
Emmanuel Bernard 11668ca67c HHH-3906 EJB-436 ANN-830 Move to JPA 2 API as a dependency
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16523 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-07 21:34:21 +00:00
Emmanuel Bernard 2e377bbc08 set latest validator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-07 12:37:21 +00:00
Emmanuel Bernard a7930671d9 ANN-828 Use Bean Validation for DDL generation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16516 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-06 15:52:26 +00:00
Emmanuel Bernard e8dfecb5f7 HHH-3898 hibernate.check_nullability (default true)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16515 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-06 15:20:18 +00:00
Gail Badner b5a1613827 HHH-3662 : Merging read-only entities causes AssertionError
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16511 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-06 00:44:48 +00:00
Adam Warski 17e89371b8 Rolling back the TX when an exception occures in a revision listener
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16502 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-03 13:57:41 +00:00
Gail Badner 5ee21b3aa8 HHH-3892 : Improve support for mapping SQL LONGVARCHAR and CLOB to Java String, SQL LONGVARBINARY and BLOB to Java byte[]
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16501 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-01 23:21:00 +00:00
Juraci Krohling 5ae4feefb9 HHH-3886 - Updated the credentials for QA Lab
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16498 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-01 11:18:01 +00:00
Juraci Krohling a282804303 HHH-3886 - Fixed credentials for trunk - ANN
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16494 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-01 09:51:52 +00:00
Juraci Krohling 856a719b14 HHH-3886 - Fixed credentials for trunk - EM
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16493 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-01 09:51:40 +00:00
Adam Warski 8a58b176b9 HHH-3878:
- fixing reading deleted entities with null-only values, when the field is primitive

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16487 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 08:39:38 +00:00
Adam Warski 5a9becf04a HHH-3823:
- updating documentation

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16486 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 07:42:39 +00:00
Adam Warski 04802d5c26 HHH-3823:
- adding a method to obtain the current revision entity + test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16485 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 07:36:14 +00:00
Adam Warski 01a818a0ec HHH-3879:
- updating the docs with information on default listeners that should be included so that ejb3 lifecycle callback methods work

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 05:53:15 +00:00
Adam Warski 1553578808 HHH-3888, ENVERS-70:
- copying the scale, precision and sql-type attributes to the column definition

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16483 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 05:47:36 +00:00
Emmanuel Bernard 21aaac2ea4 ANN-827 add initial support for Bean Validation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16475 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-29 14:45:14 +00:00
Emmanuel Bernard eb94cfa053 ANN-827 add initial support for Bean Validation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16474 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-29 12:25:30 +00:00