Commit Graph

19976 Commits

Author SHA1 Message Date
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
Juraci Krohling 5f5a434b34 HHH-3886 - Updated the credentials for QA Lab for trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16472 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-29 08:18:36 +00:00
Juraci Krohling 062139460c EJB-433 - Added a call to getProperties, to make sure that create-drop is set.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16450 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-27 12:10:35 +00:00
Emmanuel Bernard 29731cbf94 fix circular dependency between ReflectHelpers and remove all dependencies.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16438 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-26 03:21:45 +00:00
Emmanuel Bernard 96e77b4b54 Un deprecate reflect helper in commons-annotations and use it in commons annotations code
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16424 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-23 14:51:55 +00:00
Hardy Ferentschik 339ec18771 JBPAPP-1679
Aligned hibernate.properties with hibernate.properties in testsuite module.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16421 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-23 11:53:54 +00:00
Emmanuel Bernard 6c90c9cf5b ANN-822 mark unique columns as nullable=false
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16414 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-23 05:56:50 +00:00
Juraci Krohling 359f7e88b1 HHH-3621 - Reverting the log4j.properties and hibernate.properties, which insisted in going with the other changes, in the previous commit.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16397 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-22 11:09:22 +00:00
Juraci Krohling d5f7c91e85 HHH-3621 - Making the 1_Version.hbm.xml and 2_Version.hbm.xml in schemaupdate consistent. The only difference should be the extra column in 2_Version, to test the update of the schema.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16396 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-22 11:02:22 +00:00
Adam Warski ac0889dbd6 HHH-3871:
- not loading proxied objects when not necessary
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16393 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-22 08:38:05 +00:00
Juraci Krohling 0f9a6882b9 JBPAPP-1078 EJB-413 - Removed a dependency on sequences for XMLTests and added a specific package with sequences, to be used only on databases which supports it. For trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16383 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-21 14:02:32 +00:00
Juraci Krohling 8b4b88200b EJB-403 - Removed alias from native update statement, as it is not supported in many databases. For trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16380 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-21 13:39:04 +00:00