Emmanuel Bernard
53b2a9f118
BVAL-143 update to the latest BV API
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16862 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-22 16:51:54 +00:00
Gail Badner
ceb25bf25e
HHH-3712 : correct SQLServerDialect to extend AbstractTransactSQLDialect
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16827 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-17 22:48:26 +00:00
Gail Badner
2c04648372
HHH-3892 : Add support for "text" and "image" Hibernate types for native SQL queries
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16823 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-17 20:28:59 +00:00
Hardy Ferentschik
2d457208c0
Updated the test due to HV-163 fix in Validator
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16815 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-17 09:13:53 +00:00
Hardy Ferentschik
5b5042c85b
Updated the imports since the XYZDescitpor classes have moved into the metadata package.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16814 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-17 09:09:25 +00:00
Steve Ebersole
b295044275
fixed issue with xml syntax
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16753 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-10 20:48:54 +00:00
Steve Ebersole
f7eedd7577
HHH-3944 - Document known database portability strategies
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16751 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-10 18:46:15 +00:00
Steve Ebersole
d3f7642a25
minor changes; added biblio references for JPwH
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16750 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-10 18:44:15 +00:00
Steve Ebersole
94f74b5c22
added a definition of UoW
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16744 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-10 18:33:44 +00:00
Steve Ebersole
1bfc2dc123
HHH-3953 - Update tutorial chapter
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16741 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-10 17:17:48 +00:00
Steve Ebersole
838fcf9bae
HHH-2980 - Error "org.hibernate.HibernateException: cannot simultaneously fetch multiple bags" not specific enough
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16717 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-08 15:55:03 +00:00
Steve Ebersole
d68a7fe803
HHH-3880 - org.hibernate.id.enhanced.TableStructure missing "as" keyword in select statment column renames; required for PostgreSQL
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16706 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-05 14:04:57 +00:00
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