Commit Graph

307 Commits

Author SHA1 Message Date
Hardy Ferentschik 4224e74d1a HHH-4691 - xml access type support for embedded-id and embedded
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18519 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 18:50:42 +00:00
Emmanuel Bernard b1f925458e HHH-4782 supports @AssociationOverride.joinTable
HHH-4679 add tests for dot notations in @AssocuiationOverride

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 18:48:42 +00:00
Scott Marlow d5f9bd5377 HHH-4679 Make sure @AssociationOverride support the dot notation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18515 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 16:03:48 +00:00
Scott Marlow 45d0e696b4 HHH-4598 An embeddable class may contains collection of basic types or embeddable objects
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18510 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 01:16:55 +00:00
Hardy Ferentschik 50cbcd3e00 HHH-4691 - xml test files for access configuration via xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18507 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 20:27:12 +00:00
Hardy Ferentschik 1c25ab12ef HHH-4691 - Added support for access tye configuration via xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18506 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 20:23:08 +00:00
Emmanuel Bernard e44b5f197d HHH-4771 @ElementCollection fk column should default to entityName_columnNameOfOwningId
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18455 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 16:58:56 +00:00
Emmanuel Bernard afbf1be5b3 HHH-4686 Implement @MapKeyEnumerated
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18435 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:45:29 +00:00
Scott Marlow 9ef2317e28 HHH-4689 Make sure @OrderBy supports dotted notation to point to embedded properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18434 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:41:05 +00:00
Emmanuel Bernard a96f7bf729 HHH-4687 implement @MapKeyTemporal
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18433 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:33:23 +00:00
Emmanuel Bernard 8b061f9933 HHH-4353 support JPA 2 default column naming for collections of basic types (and still honor the legacy approach)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18428 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 13:56:47 +00:00
Scott Marlow b24ea51873 HHH-4688 Make sure @OrderBy works for @ElementCollection. move test case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18427 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 18:49:52 +00:00
Emmanuel Bernard 658df91a5e HHH-4283 fix the incorrect test case and add a proper exception when the user error occurs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18421 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 17:28:23 +00:00
Scott Marlow 71d9459a20 HHH-4688 Make sure @OrderBy works for @ElementCollection. Handle default case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18419 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 16:59:34 +00:00
Hardy Ferentschik bd6a77a0dc HHH-4527 - added another test to verify that @Access specified on embeddable directly gets picked up.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18418 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 14:37:38 +00:00
Hardy Ferentschik 2dd470af1f HHH-4527 - added handling of proper default access propagation for class hierarchies and embedded classes (components)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18417 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 21:51:35 +00:00
Scott Marlow 5509ab643d HHH-4684 Make sure @Lob works with @ElementCollection
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18416 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 18:50:48 +00:00
Emmanuel Bernard 39dd795e40 HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement. Legacy names still supported. Fixing NPE in some cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18415 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 18:00:34 +00:00
Scott Marlow a3dd6de70f HHH-4683 Make sure @Enumerated works with @ElementCollection. Added Map test.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18414 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 16:55:15 +00:00
Emmanuel Bernard 76202814a6 HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement. Legacy names still supported.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18413 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 16:11:14 +00:00
Emmanuel Bernard fc66b8a964 Extract Schema helper methods
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18407 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 09:45:30 +00:00
Scott Marlow 19f9443b6e HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18406 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 03:18:23 +00:00
Scott Marlow 39b098aac3 HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18405 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 03:16:05 +00:00
Sharath Reddy d12c535f66 HHH-4653
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18403 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 20:12:33 +00:00
Emmanuel Bernard 43dd13073d HHH-4752 support no prefix on @AttributeOverride and @ElementCollection (legacy "element" prefix used if @CollectionOfElements is used)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18399 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 18:50:45 +00:00
Emmanuel Bernard ef1cb9f066 HHH-4352 support for key. and value. for Map and @AttributeOverride. Managed to keep support for legacy names as well.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18393 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 16:47:08 +00:00
Scott Marlow 41b12a6479 HHH-4682 Check that @CollectionTable (or its absence) defaults to the right table/column names
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18392 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 16:03:21 +00:00
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
Emmanuel Bernard 4c62467d4d HHH-3000 Allow a TypeDef to be associated with a class (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17627 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 08:15:27 +00:00
Emmanuel Bernard c6a32b933d HHH-3000 Allow a TypeDef to be associated with a class (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17626 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 07:50:35 +00:00
Hardy Ferentschik e1f0574cd1 HV-232
Added no-arg constructor to listener.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17551 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-28 11:42:48 +00:00
Emmanuel Bernard 8eeaaeb286 Fix unsafe use and copy data to Set<ConstraintViolation<?>>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17534 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-23 16:25:07 +00:00
Emmanuel Bernard 8cc9e9d5fd HHH-4232 TypeDef support when used on @Embeddable or @MappedSuperClass classes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17531 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-22 17:43:48 +00:00
Emmanuel Bernard 88caf4d958 HHH-4364 support @NamedQuery on a @MappedSuperclass (Sharath Reddy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17530 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-22 17:19:24 +00:00
Hardy Ferentschik b8da757937 JBPAPP-1075 - Removed the @JoinColumn mappings. Thought not wrong per se they cause some wrong table creation scripts. Removing them circumvents this problem without affecting the test.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17527 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-18 09:06:47 +00:00
Hardy Ferentschik 4dc46db783 JBPAPP-1075 - Removed unique constraint on order number.
Also removed an empty test method.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17524 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-17 17:36:24 +00:00
Hardy Ferentschik 599ffd7992 JBPAPP-1075 - Removed the unique contraint the GROUPS_PERMISSIONS table.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17492 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:44:27 +00:00
Hardy Ferentschik 0f807c6029 Upgraded hibernate-validator dependency 4.0.0.CR1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17491 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:18:02 +00:00
Hardy Ferentschik d8342f4a7a Fixed some typos and cleaned up the import list
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17490 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:17:06 +00:00
Steve Ebersole 85c34f356a restting pom versions to SNAPSHOT after manual tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17373 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 21:10:09 +00:00
Steve Ebersole 122aa3f7e4 [maven-release-plugin] prepare branch hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:24:23 +00:00
Steve Ebersole cb337e6f2c [maven-release-plugin] rollback the release of hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17370 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:04:32 +00:00
Steve Ebersole 677ed6f9c9 [maven-release-plugin] prepare release hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17369 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:00:59 +00:00
Steve Ebersole 33d5534b14 [maven-release-plugin] rollback the release of hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17364 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 15:02:46 +00:00
Steve Ebersole bcecf23302 [maven-release-plugin] prepare release hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17349 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-18 13:48:31 +00:00
Steve Ebersole fea4cf1ce0 set jpa-api and hibernate-commons-annotations versions to use
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17327 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-15 20:51:45 +00:00
Steve Ebersole 463ff57c61 moved to separately released hibernate-commons-annotations; moved validation versions to dependencyManagement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17325 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-15 20:38:36 +00:00
Emmanuel Bernard c317edd28f Make commons annotation independent from core.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17308 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-15 16:31:51 +00:00
Emmanuel Bernard 5f27074c73 Set version number to 3.5.0.Beta1 for log display
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17304 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-14 17:26:52 +00:00
Emmanuel Bernard 442286580c use BV 1.0.CR4 and HV 4.0.0.Beta3
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17303 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-14 17:25:13 +00:00
Emmanuel Bernard eeb136fa71 ANN-860 implement @OrderColumn
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17192 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-22 20:40:50 +00:00
Emmanuel Bernard e093ee46c4 ANN-857 implement @MapKeyJoinColumn and @MapKeyJoinColumns + _KEY default column name for key. Also keep legacy support for old naming solution
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17187 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-22 00:16:59 +00:00
Steve Ebersole f2ec4c6970 EJB-447 - Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17182 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-21 13:46:43 +00:00
Emmanuel Bernard 20d22941c0 ANN-856 implement @MapKeyColumn
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17173 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-21 02:07:50 +00:00
Emmanuel Bernard 1cac641632 ANN-855 implement @MapKeyClass
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17172 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-21 01:25:22 +00:00
Emmanuel Bernard d9a1022f34 EJB-450 implement @CollectionTable for @ElementCollection
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17171 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-20 23:24:38 +00:00
Hardy Ferentschik e1032aa509 ANN-851 added the jaxb profile in case of jdk5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17156 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-18 10:04:51 +00:00
Steve Ebersole b339e33121 HHH-4022 - Add an actual API contract for querying/managing cache regions (from app code)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17027 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-07 18:39:39 +00:00
Juraci Krohling 760f438029 ANN-849 - Changed mysql host from dev02.qa.atl.jboss.com to vmg08.mw.lab.eng.bos.redhat.com
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16974 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-30 09:16:27 +00:00
Hardy Ferentschik d30b61a305 fixed the tests after the latest bean validation updates
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16955 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-26 08:29:41 +00:00
Hardy Ferentschik d83fc6e17b Made annotations compile again after latest changes to Hibernate Validator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16953 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-26 08:14:34 +00:00
Steve Ebersole f70fd82cb6 HHH-3979 - Upgrade to javassist 3.9.0
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16892 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-23 07:09:35 +00:00
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
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
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
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
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
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
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
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
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
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
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 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
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
Steve Ebersole e34c0d7007 change versions from 3.4 to 3.5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16050 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-28 04:45:24 +00:00
Juraci Krohling 6d56458124 ANN-795 - Added DateFormat to compare dates, otherwise, there are problems with Sybase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15781 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-14 14:15:30 +00:00
Juraci Krohling 6483cfb3e5 ANN-790 - Added a missing tx.commit()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15682 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-11 12:42:46 +00:00
Hardy Ferentschik 644ea8d2f2 removed the obsolete ant stuff
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15458 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 10:59:37 +00:00
Hardy Ferentschik 2c63850f1e make the documentation buildable via maven as well. In the long run we will have to combine all the documentation though
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15457 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 10:57:35 +00:00
Hardy Ferentschik 7d53ae6ebf commented out some tests until HHH-3577 gets fixed
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15456 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 10:26:47 +00:00
Hardy Ferentschik 20dd9ccc5f * Moved orm_1_0.xsd into the src/main/resources so that it properly get copied at build time
* Enabled query cache in hibernate.properties

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15452 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-30 12:36:16 +00:00
Steve Ebersole d19e0a4b1e HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15429 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 21:47:32 +00:00
Steve Ebersole 513c71de5c HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15428 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 21:41:58 +00:00
Steve Ebersole d1ac7790aa HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15425 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 18:58:58 +00:00
Steve Ebersole 43d2ed5fab HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15424 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 18:58:50 +00:00
Steve Ebersole 4838176dc2 HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15423 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 18:58:42 +00:00
Steve Ebersole 112278c914 HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15422 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 18:56:26 +00:00
Steve Ebersole c7149df157 HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15420 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 18:55:02 +00:00
Steve Ebersole 9d7a03a5f7 HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15418 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 18:53:13 +00:00
Steve Ebersole 7337743c93 HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15415 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-28 18:41:10 +00:00