Commit Graph

138 Commits

Author SHA1 Message Date
Steve Ebersole 5a6686810b HHH-4590 - CASTs from CriteriaBuilder.toXXX methods still need to be fleshed out
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18230 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 18:09:53 +00:00
Steve Ebersole dfe61a4a5e HHH-4697 - Add means to get HibernateEntityManagerFactory from HibernateEntityManagerImplementor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18229 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 17:28:51 +00:00
Emmanuel Bernard d14b2f4404 HHH-4696 add persistence_2_0.xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18228 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 17:23:00 +00:00
Steve Ebersole 8f4e216049 HHH-4673 - Upgrade JPA Static Metamodel Generator dependency to 1.0.0.Beta1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18221 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-13 00:31:53 +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
Scott Marlow 18bb17061f HHH-4546 JPA-2.0 locking. More pessimistic lock exception support and timeout exception support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18209 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 13:23:17 +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 e183c40ee7 HHH-4659 HHH-4668 add mapping support for validation-mode and shared-cache-mode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18200 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 16:49:46 +00:00
Emmanuel Bernard 11d10450ce HHH-4665 PersistenceUnitUtil.getIdentifier()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18198 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 15:27:00 +00:00
Emmanuel Bernard a0ddead69f HHH-4663 Add test showing the serialization failure for CriteriaQuery
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18196 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 14:27:30 +00:00
Emmanuel Bernard 3703d4c71c HHH-4662 do not rollback when the exception occurs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18195 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 14:11:33 +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
Hardy Ferentschik 6512e3e708 HHH-4655
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18181 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 23:24:39 +00:00
Steve Ebersole 02323188c6 HHH-4654 - Criteria quries must support referencing parameters by name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18169 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 21:19:42 +00:00
Emmanuel Bernard 48c2ec7e91 unwrap should raise a PE if the type is not unwrappable by the provider
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18166 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 16:32:59 +00:00
Emmanuel Bernard cab99355a9 remove getSupportedProperties(): it's no longer part of the spec
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18164 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 16:09:42 +00:00
Emmanuel Bernard c7149b0da4 Bind Hibernate Core deprecated lock modes for completeness and map UPGRADE_NOWAIT like PESSIMISTIC_WRITE with a timeout of 0
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18162 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 16:01:36 +00:00
Emmanuel Bernard e71c0e4ba4 add a comment on flush mode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18161 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 15:40:12 +00:00
Emmanuel Bernard 084d84b8f8 Remove System.err.println oops
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18160 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 15:39:37 +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
Scott Marlow ceaea5a2a3 HHH-4546 add JPA 2.0 locking. Introduce LockOptions as the wrapper and session.buildLockRequest() (replaces session.lock()).
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18053 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 23:59:50 +00:00
Emmanuel Bernard 07c5967f46 HHH-4604 IllegalArgumentException should be raised when an ordinal parameter is not present in the query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18029 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 09:39:08 +00:00
Scott Marlow 35ca4c3563 HHH-4546 add JPA 2.0 locking. Still need more LockRequest support in AbstractEntityPersister.getAppropriateLoader(), may need to refactor.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18016 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-20 14:51:13 +00:00
Steve Ebersole a3d1a3c59f HHH-4586 - Jpa2.0 Criteria API lower function missing parameter
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18008 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-19 01:34:35 +00:00
Steve Ebersole 7587c09f00 HHH-4581 - Embedded objects in criteria API does not work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18007 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 22:13:03 +00:00
Steve Ebersole 085c6c9e9e HHH-4584 - Query Language needs to support joins on embedded values
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18006 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 21:02:19 +00:00
Steve Ebersole 49d529bad8 HHH-4567 - EntiytManager's QueryImpl mishandles ordinal position of HQL-style positional parameters
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17961 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-11 22:20:48 +00:00
Scott Marlow d82c1e859b HHH-4546 - add JPA 2.0 locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17944 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-06 13:59:37 +00:00
Emmanuel Bernard 66610a567c HHH-4542 read the collection type from the member rather than the expected Hibernate collection type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17901 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-03 17:19:57 +00:00
Steve Ebersole d8f6d41a4b account for inconsistencies in the annotation processoer
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17894 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 22:09:31 +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
Steve Ebersole 255b7076b8 HHH-4202 - Implement JPA 2.0 metamodel APIs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17886 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 16:46:17 +00:00
Emmanuel Bernard 2dc911855b HHH-4537 Add support for MappedSuperclassType Members in JPA 2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17883 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-30 13:00:07 +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
Gail Badner 5cc638576f HHH-4202 : Fix to only build an EntityType for PersistentClasses with a mapped class
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17870 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 18:03:10 +00:00
Steve Ebersole e229d0171a HHH-4202 - Implement JPA 2.0 metamodel APIs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17850 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 18:49:25 +00:00
Hardy Ferentschik f8fef6c6c1 HHH-4530
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17847 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 09:39:38 +00:00
Steve Ebersole 5c195024b9 HHH-4203 - Implement JPA 2.0 criteria apis (compiling)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17845 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-26 18:35:29 +00:00
Steve Ebersole d74037756e HHH-4202 - Implement JPA 2.0 metamodel APIs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17843 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-26 17:04:59 +00:00
Steve Ebersole 9fb2cb6d15 HHH-4202 - Implement JPA 2.0 metamodel APIs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17837 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-26 05:26:51 +00:00
Steve Ebersole b687bbeb9b HHH-4202 - Implement JPA 2.0 metamodel APIs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17836 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-26 05:23:40 +00:00
Steve Ebersole 9a1a95b2a2 HHH-4203 - Implement JPA 2.0 criteria apis (compiling)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17830 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-24 21:37:27 +00:00
Hardy Ferentschik 322de42a1f HHH-4523 - made the bundles use the filtered connection settings
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17827 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 14:32:18 +00:00
Hardy Ferentschik 806f3f184c HHH-4523 restructured the test resources
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17826 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 13:48:18 +00:00
Hardy Ferentschik ecdc192ca4 HHH-4522
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17824 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 12:39:54 +00:00
Hardy Ferentschik d14de01220 HHH-4516
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17820 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-22 16:45:01 +00:00
Hardy Ferentschik 00fbf234e1 HHH-4203
Added the annotation processor to the EM build to generate static entity model classes

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17808 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-20 17:33:40 +00:00