Commit Graph

268 Commits

Author SHA1 Message Date
Steve Ebersole 6b6cee1b31 HHH-4775 - CriteriaBuilder#notEqual being interpreted oppositely
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 17:32:34 +00:00
Steve Ebersole 20b78f45a7 HHH-4772 - Empty conjunction/disjunction in criteria does not follow spec rules
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18483 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 17:04:55 +00:00
Steve Ebersole 5263d4c12a HHH-4774 - Do not handle literals using parameters in JPA criteria select
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18482 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 16:44:59 +00:00
Steve Ebersole c0636fee4c HHH-4768 - Bug in how Criteria Subquery correlations are handled
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18481 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 16:24:44 +00:00
Emmanuel Bernard 1b9394446c HHH-4675 Bean Validation ConstraintViolationException should trigger a tx rollback
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18450 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 10:41:10 +00:00
Steve Ebersole 72778b1a1b HHH-4767 - Bug in how Criteria Subquery selections are handled
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18449 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 06:55:42 +00:00
Steve Ebersole bcada0c1c4 HHH-4766 - Properly support criteria notion of SUM aggregation return types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18448 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 06:10:24 +00:00
Hardy Ferentschik 9d214de88a HHH-4763 Moved the directory creation into a different target
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18447 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 03:51:47 +00:00
Hardy Ferentschik c8e1fbddcf HHH-4763 Moved the metamodel task into build.xml and modified the antrun configuration to allow to run 'mvn antrun:run'. Also combined all antrun calls into one plugin configuration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18446 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 03:40:18 +00:00
Steve Ebersole 415c9e9ec3 HHH-4758 - Rename org.hibernate.ejb.criteria.AbstractNode#queryBuilder to #criteriaBuilder
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18445 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 20:49:36 +00:00
Steve Ebersole ef30ca4408 HHH-4724 - query.multiselect() on a CriteriaQuery<Tuple> returns List<Object[]> instead of List<Tuple>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18444 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 20:41:54 +00:00
Steve Ebersole 84ed210c39 HHH-4756 - javax.persistence.criteria.Path#get should result in *delayed* join rendering
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18436 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:58:37 +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
Scott Marlow 99e43e9d14 HHH-4688 Make sure @OrderBy works for @ElementCollection. added test case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18420 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 17:01:04 +00:00
Steve Ebersole ea67575c97 HHH-4663 - Make sure CriteriaQuery is serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18400 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 19:00:01 +00:00
Steve Ebersole 33b7b6c803 HHH-4698 - Better handling of JPA criteria expressions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18398 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 18:16:42 +00:00
Steve Ebersole a900ee8928 HHH-4698 - Better handling of JPA criteria expressions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18312 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-22 06:12:34 +00:00
Steve Ebersole 24cbb2df3c HHH-4720 - Improve javax.persistence.metamodel.Attribute support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18311 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-22 04:15:04 +00:00
Steve Ebersole bc0144f2eb HHH-4720 - Improve javax.persistence.metamodel.Attribute support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18310 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 23:34:10 +00:00
Strong Liu 56d50a15b3 minor change, correct spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18303 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 16:17:24 +00:00
Emmanuel Bernard 23c1a47667 HHH-4665 add tests for getIdentifier()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18302 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 15:49:55 +00:00
Emmanuel Bernard 54706c4b20 HHH-4724 add tests on Tuple
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18300 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 13:58:50 +00:00
Steve Ebersole c1da5f1e3c HHH-4698 - Better handling of JPA criteria expressions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18268 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 15:32:39 +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
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 3bb271ee9c Remove now unneeded flag to avoid getMember population
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18257 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 13:29:55 +00:00
Emmanuel Bernard 355e81a7f1 Remove now unneeded flag to avoid getMember population
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18256 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 11:05:13 +00:00
Steve Ebersole cdfd6d950b HHH-4708 - Make CompoundSelectionImpl implement ExpressionImplementor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18253 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 00:21:49 +00:00
Steve Ebersole 384d5859c2 git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18250 1b8cb986-b30d-0410-93ca-fae66ebed9b2 2009-12-16 22:12:45 +00:00
Scott Marlow 0776dbab9a HHH-4546 JPA-2 locking. LockOptions can include per table alias LockMode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:23:31 +00:00
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
Hardy Ferentschik 52c0d41f83 fixed some typos
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17807 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-20 17:31:02 +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
Steve Ebersole ca85991589 Update jpa-api to 2.0-cr-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17773 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-16 01:02:14 +00:00
Steve Ebersole 694a694d5d HHH-4203 - Implement JPA 2.0 criteria apis (compiling)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17772 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-16 00:50:22 +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
Strong Liu 74e72fb756 JBPAPP-2862 CLONE -Sybase - EntityManager - unit tests using LOBs fail
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17762 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-15 03:12:54 +00:00
Emmanuel Bernard f108c4af92 HHH-4463 do not alter setMaxResult for native queries in getSingleResult() as the query transformation will likely fail.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17543 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-25 11:14:51 +00:00
Steve Ebersole 0a1763a207 HHH-4196 - Implement JPA 2.0 criteria apis (building)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17526 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-17 21:26:25 +00:00
Steve Ebersole c5da7c30c1 EJB-461 - Implement JPA 2.0 criteria apis (compiling)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17426 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-26 20:34:58 +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 23a6271e53 fixed type in pom
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17344 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-17 22:27:23 +00:00
Steve Ebersole bd10b18c44 EJB-447 - Implement JPA 2.0 criteria apis (building)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17340 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-17 19:09:17 +00:00
Steve Ebersole e47bfa784e EJB-456 : JPA metamodel
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17336 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-17 15:22:39 +00:00
Steve Ebersole ed8eaa2e2b set jpa-api and hibernate-commons-annotations versions to use
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17328 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-15 20:54:30 +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 28207a2eb1 Add support for the new JPA 2 API from July 23 2009 (only the top level package. Subpackages have not been updated. Also partially implement PersistenceUnitUtil
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17305 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-14 18:29:45 +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 d6702fae4a add property to disable metamodel generation, just in case as it's undertested
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17301 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-13 20:15:08 +00:00
Steve Ebersole ad3409e67b copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17299 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-13 19:05:34 +00:00
Steve Ebersole 45e6b97d20 copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17298 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-13 18:59:30 +00:00
Emmanuel Bernard 506614cc1f EJB-456 add more tests on collection of elements Set List Map
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17276 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-12 23:58:14 +00:00
Emmanuel Bernard 93cef4f9f1 EJB-456 add more tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17275 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-12 22:51:01 +00:00
Emmanuel Bernard 6bf5ed7302 EJB-456 add more test and fix isId false on IdClass attributes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17272 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-12 04:22:23 +00:00
Steve Ebersole c34fac4096 copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17269 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 20:54:53 +00:00
Steve Ebersole 85c0857b0c copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17268 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 20:50:34 +00:00
Steve Ebersole a1b6e3f243 copyright notice
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17267 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 20:30:32 +00:00
Steve Ebersole ed6346174d EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17264 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 19:16:08 +00:00
Steve Ebersole 8de99d279d EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17262 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 15:37:23 +00:00
Emmanuel Bernard 558fcd635a fix NPE when identifier is not a property
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17260 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 00:53:08 +00:00
Emmanuel Bernard 0f8a36a269 make Metamodel and its dependencies serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17259 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-11 00:26:13 +00:00
Steve Ebersole 9edbb4d239 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17258 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-10 22:13:04 +00:00
Emmanuel Bernard 174d09e34b EJB-456 start core of tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17255 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-10 03:59:59 +00:00
Emmanuel Bernard 0d14085ba6 EJB-456 have the implementation of Metamodel ready minus some concepts left behind. This has NOT been tested to don't be too excited ladies
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17254 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-09 18:04:35 +00:00
Steve Ebersole a83a455fdd EJB-447 : Implement JPA 2.0 criteria apis (miscellaneous)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17252 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-07 18:38:07 +00:00
Steve Ebersole 3175437151 EJB-447 : Implement JPA 2.0 criteria apis (completed function support)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17251 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-07 12:12:20 +00:00
Steve Ebersole f6665eccba EJB-447 : Implement JPA 2.0 criteria apis (revert to strict method sigs)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17250 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-06 18:39:33 +00:00
Steve Ebersole 8465009b4b EJB-447 : Implement JPA 2.0 criteria apis (completed aggregation function support)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17247 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-06 17:55:14 +00:00
Steve Ebersole eb0396b1c6 EJB-447 : Implement JPA 2.0 criteria apis (support for casts, completed IN-predicate support & parameter creation)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-06 14:18:54 +00:00
Steve Ebersole aceeb48968 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-05 19:28:58 +00:00
Steve Ebersole bd4c85ce10 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17228 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-04 19:13:33 +00:00
Steve Ebersole 152dc5abf9 EJB-447 : Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17227 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-04 18:01:45 +00:00
Steve Ebersole 9fc25c8c8a EJB-455 : Implement EntityManager#getEntityManagerFactory;
EJB-447 : Implement JPA 2.0 criteria apis

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17222 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-31 17:53:18 +00:00
Emmanuel Bernard c05509be7c EJB-454 implements the default PPR strategy
EJB-453 use resolver held by PPRH
fix issues with Hibernate's isLoaded

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17201 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-25 05:24:55 +00:00
Emmanuel Bernard 49e53e81e1 minor documentation typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17198 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-23 18:54:27 +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
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
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
Emmanuel Bernard db35f58467 EJB-446 implements EMF.getCache() except contains
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17008 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-06 17:19:44 +00:00
Emmanuel Bernard fa4e5c37b3 Minor fix on detach()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17006 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-06 16:22:17 +00:00
Juraci Krohling 233ee8b84e EJB-444 - 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@16973 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-30 09:14:43 +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
Hardy Ferentschik 97a0919521 JBPAPP-1998 Added additional try/catch in AbstractEntityManagerImpl.wrapStaleStateException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16594 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-19 09:55:46 +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
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
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
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
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
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
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