Commit Graph

8607 Commits

Author SHA1 Message Date
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
Juraci Krohling 4ff6065093 EJB-418 - Added tearDown method to EJB3TestCase, as the current behaviour was keeping some dirt in the database after the execution of the last test in the EJB3TestCase hierarquy. For trunk
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16377 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-21 13:15:48 +00:00
Emmanuel Bernard 70362709f6 EJB-428 move scanning facility under the Scanner interface and implement NativeScanner
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16358 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-18 14:35:58 +00:00
Gail Badner b26b4dc46c ANN-817 - 8-bit characters in string values cause unit test failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16347 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-15 19:18:26 +00:00
Gail Badner ba4c92747e ANN-821 - org.hibernate.test.annotations.manytomany.ManyToManyTest fails on sybase due to index too large
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16344 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-15 18:40:43 +00:00
Emmanuel Bernard a5168c3d22 fix incorrect import
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16336 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-14 20:39:12 +00:00
Gail Badner e560aaf2ae ANN-817 : 8-bit characters in string values cause unit test failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16305 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-11 04:54:37 +00:00
Gail Badner d653efeceb ANN-818 - @DiscriminatorFormula for an integer column with default discriminator type causes failure for DB2/Sybase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16304 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-11 04:43:19 +00:00
Gail Badner 73e0c3dad2 JBPAPP-1124 ANN-779 : Oracle/DB2 - Identifier is too long
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16298 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-10 22:37:51 +00:00
Gail Badner 7d36b9dfd3 JBPAPP-1073 : Annotations - Oracle - "size" is reserved in Oracle
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16294 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-10 20:07:37 +00:00
Gail Badner 0dd8cf112f ANN-817 : 8-bit characters in string values cause unit test failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16288 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-09 22:02:13 +00:00
Scott Marlow bffe7ec6e9 HHH-3832 Upgrade to cglib-2.2 (asm 3.1)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16253 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-02 16:29:06 +00:00
Juraci Krohling 5cbb8cc77f EJB-420 - Updated entitymanager/pom.xml file to use consistent profile names for the databases in QA Lab.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16237 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-31 10:32:53 +00:00
Juraci Krohling e1f0013e53 ANN-812 - Updated annotations/pom.xml file to use consistent profile names for the databases in QA Lab.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-31 10:18:48 +00:00
Juraci Krohling 9d0fb61a45 HHH-3842 - Updated pom.xml files to use consistent profile names for the databases in QA Lab.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16235 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-31 10:15:56 +00:00
Emmanuel Bernard 38471d1b73 cleaner variable name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16217 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-25 21:07:29 +00:00
Emmanuel Bernard 1c42279492 HCANN-5 Introdice the MetadataProvider and MetadataProviderInjector facility
ANN-810 Use the new MetadataProvider facility to implement EJB3 overriding

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16206 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-23 01:53:05 +00:00
Adam Warski 996f87451b Fixed looking for session delegate
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16204 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-20 14:57:08 +00:00
Brian Stansberry fd8f6fbbaa [HHH-3817] Don't cache stale data via putFromLoad
[HHH-3818] Handle evictAll "without regard for transactions"

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16190 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-19 19:51:33 +00:00
Brian Stansberry eb60160109 [HHH-3817] Don't cache stale data via putFromLoad
[HHH-3818] Handle evictAll "without regard for transactions"

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16189 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-19 19:51:15 +00:00