Commit Graph

130 Commits

Author SHA1 Message Date
Scott Marlow 165f2e5f73 HHH-4601 implement orphanRemoval for OneToMany. OneToOne is not yet done (see HHH-4725)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18318 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-22 18:07:38 +00:00
Emmanuel Bernard a87e031bd5 HHH-4667 accept orm 2 and orm 1 files. Also improved error reports
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18263 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 10:02:26 +00:00
Hardy Ferentschik 4a9d8dcf0b HHH-4527 - first cut for supporting JPA2 @Access annotation. Not quite complete and needs some more tests.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18260 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 21:14:07 +00:00
Emmanuel Bernard fbf7b91d4d HHH-4711 HHH-4667 validate persistence.xml and make sure it works for both persistence_1_0.xsd and persistence_2_0.xsd
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18259 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 15:34:04 +00:00
Emmanuel Bernard 7daca69d7e HHH-4692 add orm_2_0.xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18227 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 17:15:33 +00:00
Steve Ebersole b5fb73c5ee HHH-4672 - Upgrade JPA dependency to hibernate-jpa-2.0-api-1.0.0-CR-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18216 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-12 23:56:45 +00:00
Hardy Ferentschik 025b3cc141 HHH-4527
No functional changes yet. Just some cleanup and refactoring (extract method, encapsulate field)

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18211 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 19:14:01 +00:00
Emmanuel Bernard 36fddaf4fc add test on Bean Validation in HEM
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18206 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 09:12:10 +00:00
Emmanuel Bernard ba3639a25a HHH-4657 add support for DETACH
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18191 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 09:32:25 +00:00
Emmanuel Bernard 8eb02db44c HHH-4649 Properly bind Environment#GLOBALLY_QUOTED_IDENTIFIERS to orm.xml <delimited-identifier/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18159 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 14:20:56 +00:00
Steve Ebersole 6b9e796074 HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18158 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 13:14:47 +00:00
Steve Ebersole a2bf14ae7c HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18148 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-06 22:20:58 +00:00
Emmanuel Bernard 6458ff4771 minor doc enhancement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18103 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-30 16:50:25 +00:00
Emmanuel Bernard 1ca018960e HHH-3164 add test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18026 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-23 18:08:09 +00:00
Hardy Ferentschik 546b13a7dd HHH-4529 Added some test entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17992 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-16 14:52:30 +00:00
Steve Ebersole 3ac574d7da HHH-2990 - Bad usage of ClassLoader.loadClass() for Java6 in SerializationHelper$CustomObjectInputStream - deserialization bottleneck for arrays
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17978 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 19:04:09 +00:00
Hardy Ferentschik 5379d952d4 HHH-4573
ComponentTupilzer - typo in doc
CompositeIdTest, TvMagazinPk - test cleanup
DynamicComponentTupilzer - import cleanup
Ejb3* - Added toString() implementations and changed logging string

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17977 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 18:15:10 +00:00
Hardy Ferentschik 2db1718bf7 HHH-4566 Added test scope to the jaxb dependencies
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17957 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-11 16:50:34 +00:00
Hardy Ferentschik 1bd95b3c1c updated to the latest HV version
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17943 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-06 13:20:10 +00:00
Steve Ebersole 5ecfeb5cb8 prep 3.5.0-Beta-2 by hand because maven rocks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17892 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:20:40 +00:00
Steve Ebersole c42e871b95 prep 3.5.0-Beta-2 by hand because maven rocks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17890 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:09:43 +00:00
Emmanuel Bernard fb9bdb7f38 HHH-4533 Populate the JPA 2 metamodel with the new mapping.MappedSuperclass metadata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17879 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 18:57:24 +00:00
Hardy Ferentschik fceda002d0 Removed link to issue tracker. Defined in parent
Updated BV version

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17878 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 17:22:00 +00:00
Emmanuel Bernard 1352b5e25f HHH-4533 move metamodel storage to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17873 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 00:36:07 +00:00
Emmanuel Bernard f795bd31e4 HHH-4533 move metamodel storage to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17872 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 00:13:24 +00:00
Emmanuel Bernard c7c6981a55 HHH-4533 add representation for @MappedSuperclass in the Hibernate Core metamodel and properly populate this model extension in Hibernate Annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17871 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 18:14:25 +00:00
Sharath Reddy a1e8d7cb0d HHH-4332 Filters for MappedSuperClass
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17859 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 10:57:21 +00:00
Hardy Ferentschik 2176af1144 HHH-4528 - Applied patch (with minor cleanup)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17849 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 15:05:44 +00:00
Hardy Ferentschik d9c931eb2f HHH-4530
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17846 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 09:36:55 +00:00
Sharath Reddy b61332b10b HHH-4288 Filters on collections are ignored
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17829 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 17:07:50 +00:00
Emmanuel Bernard 61e225e2c5 better log
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17825 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 13:33:58 +00:00
Hardy Ferentschik 11a87b6965 HHH-4513
Made sure hibernate.validator.apply_to_ddl property is honored
Also changed BeanValidationGroupsTest to work against other databases than HSQLDB

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17818 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-22 11:10:31 +00:00
Sharath Reddy 85792a42d2 HHH-4473 Create documentation to explain the usage of the new 'defaultForType' attribute of the TypeDef annotation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17817 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-22 10:02:12 +00:00
Sharath Reddy d26c002258 HHH-4512 TypeDef annotation should support both 'name' and 'defaultForType' attributes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17814 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-21 17:16:57 +00:00
Strong Liu 71d0acb6b0 HHH-4503 Sybase - Annotations - unit tests using LOBs fail
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17796 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 15:44:44 +00:00
Juraci Krohling dba93d5753 HHH-4502 - Moved database profiles to parent/pom.xml and updated to use latest available resources in the lab
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17795 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 14:16:26 +00:00
Strong Liu 3f3bb321ca HHH-4500 MSSQL, Oracle - Mapping inconsistency
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17790 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 13:15:07 +00:00
Hardy Ferentschik 95285ad109 HHH-4498
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17779 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-16 13:22:28 +00:00
Hardy Ferentschik 6613dce0cb HHH-4497
Skipping  ManyToOneWithFormulaTest.testManyToOneToPkWithOnlyFormula for now. Added a SkipForDialectAnnotation as counterpart for RequiresDialect

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17778 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-16 13:02:53 +00:00
Steve Ebersole bbe65a9be4 Update jpa-api to 2.0-cr-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17768 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-15 18:50:41 +00:00
Steve Ebersole 36dbd3a06e HHH-2412 - Support for JDBC4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17767 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-15 16:26:26 +00:00
Strong Liu b5325a5752 HHH-4397 Split test involving database specific features (like sequence / identity)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17737 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-14 05:32:56 +00:00
Strong Liu 6ddd9690a5 HHH-4397 Split test involving database specific features (like sequence / identity)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17734 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-14 04:18:35 +00:00
Strong Liu 766a044dc3 HHH-4397 Split test involving database specific features (like sequence / identity)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17726 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 15:57:41 +00:00
Hardy Ferentschik dba4de2d26 HHH-4415 removed the ambigous dialect instance variable in TestCase. Instead use the static method Dialect.getDialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17713 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 09:20:40 +00:00
Hardy Ferentschik a8047fe21a HHH-4415
Made sure that the the superclass dialect is checked.
Did not apply provided patch though.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-12 14:08:37 +00:00
Strong Liu ea91bf00a0 HHH-4405 Integrate new long string and binary property types in core with annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17685 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-10 16:10:38 +00:00
Emmanuel Bernard 4edcb6290b HHH-4382 HHH-4479 support formula as join columns with annotations (needs doc still( (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17680 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-09 15:58:31 +00:00
Emmanuel Bernard dbcf806b7e HHH-4364 add tests for superclasses
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17629 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 09:21:51 +00:00
Emmanuel Bernard 202b5faf70 HHH-4232 add missing test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17628 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 08:18:12 +00:00