Commit Graph

17444 Commits

Author SHA1 Message Date
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
Brian Stansberry 4910a0c3dd Clean up compiler warns
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16173 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-17 19:16:57 +00:00
Brian Stansberry aef5e3f295 Minor javadoc
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16172 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-17 19:16:06 +00:00
Brian Stansberry 51692f52bf Clean up compiler warns
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16171 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-17 19:12:11 +00:00
Brian Stansberry 8cc56c0dd3 Clean up compiler warns
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16170 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-17 19:07:17 +00:00
Brian Stansberry 64d7610e65 Clean up compiler warns
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16169 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-17 19:04:10 +00:00
Steve Ebersole 8095d02454 HHH-3214 - Update unit tests and config files to use non-depracated Oracle dialects
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16100 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-06 18:42:49 +00:00
Brian Stansberry 81f2726bc2 [HHH-3585] Move to JBoss Cache 3
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16098 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-06 18:23:24 +00:00
Steve Ebersole d55bde6ecc HHH-3800 - Allow chopping of class names in various logging scenarios
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16094 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-06 04:49:15 +00:00
Steve Ebersole efe4dc4633 added atlassian-ide-plugin.xml to svn:ignore
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16092 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-06 03:01:35 +00:00
Steve Ebersole 718fd34f4b HHH-3528 - FETCH JOIN query doesn't work in a StatelessSession
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16091 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-05 22:12:56 +00:00
Steve Ebersole 04fda3df4f HHH-3800 - Allow chopping of class names in various logging scenarios
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16088 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-05 21:50:15 +00:00
Adam Warski 639d4ddd1d Documentation updates
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16085 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-05 15:36:46 +00:00
Steve Ebersole 7ed4cff37f HHH-3753 - Upgrade to SLF4J version 1.5.6
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16079 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-04 20:21:58 +00:00