Commit Graph

253 Commits

Author SHA1 Message Date
Emmanuel Bernard 80156b4170 HHH-4859 fix NPE on true embedded ids (ie no property) when building the metamodel
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18661 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 00:00:50 +00:00
Hardy Ferentschik fde085a09a HHH-4856 updated to 1.0.0-Beta-3
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18654 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 18:23:11 +00:00
Emmanuel Bernard 3e766c1397 HHH-4855 globally quoting identifiers was incorrectly considered an actual table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18653 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 17:22:13 +00:00
Scott Marlow 75149489d5 HHH-4853 3.4.4.3 Lock Mode Properties and Uses, Vendor-specific hints must be ignored if they are not understood.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18644 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 14:00:57 +00:00
Steve Ebersole 091c2d2269 HHH-4822 - Add @FailureExpected annotation to annotations and entitymananger modules to allow the skipping of tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18638 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 20:11:51 +00:00
Hardy Ferentschik 6e6263012f HHH-4822 reverted a test which was accidently marked with @FailureExpected
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18637 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 19:44:57 +00:00
Steve Ebersole 7f8c1896e4 HHH-4678 - Apply PersistenceUnitInfo#getSharedCacheMode and #getValidationMode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18636 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 18:36:59 +00:00
Emmanuel Bernard 8386be117a HHH-4843 guard against null properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18631 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 17:11:04 +00:00
Scott Marlow 82c5616343 HHH-4846 fix NPE and also address JCTS-946
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18630 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 14:51:54 +00:00
Steve Ebersole c57ab61dcf HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18621 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-25 18:49:02 +00:00
Emmanuel Bernard 690792493b HHH-4834 Take into account that collections can be of raw type.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18609 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 19:21:33 +00:00
Steve Ebersole d24ed1a1d3 HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18605 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 07:22:50 +00:00
Steve Ebersole 9bb0da4e69 HHH-4660 - Support Cache Retrieve Mode and Cache Store Mode Properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18603 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 01:55:20 +00:00
Hardy Ferentschik 7acb557f5b HHH-4822 - Moved the test annotations into the testing module in order to be able to reuse them in entitymanager module.
Also create a common base class for ann and em tests.


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18602 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 20:48:59 +00:00
Hardy Ferentschik 76f2f88038 HHH-4651 - Add support for EntityManager properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18585 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 22:16:05 +00:00
Steve Ebersole e474a00c4a HHH-4669 - Implement JDBC driver properties support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18578 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 03:09:22 +00:00
Steve Ebersole 6eb54445aa HHH-4816 - Cleanup JPA setting name constants
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18577 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 22:05:16 +00:00
Hardy Ferentschik edb211e8af HHH-4813 - annotation and entitymanager module should use the maven-injection-plugin to generate version string
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18575 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 19:17:27 +00:00
Hardy Ferentschik 7fa50f7a18 HHH-4677 - just some import cleanups and addition of source headers. no code changes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18567 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 20:59:56 +00:00
Emmanuel Bernard ecbe5dd854 HHH-4805 take better care of generics.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18566 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 18:47:54 +00:00
Emmanuel Bernard f93b0441b7 HHH-4806 Wrap all .commit() exceptions in a RollbackException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18562 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 12:53:35 +00:00
Emmanuel Bernard c8c9263918 HHH-4797 Ignore backref properties for JPA 2 model
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18561 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 10:47:18 +00:00
Hardy Ferentschik f45fceece0 HHH-4789 Made sure that the plugins are configured in the parent pom. Made the em docbook generation work. xml formatting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18558 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 19:30:04 +00:00
Emmanuel Bernard 8146ab3f9e Add more test on ConstraintViolationException and transaction behavior
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18556 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 15:20:50 +00:00
Emmanuel Bernard ae34143257 Bump version numbers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18555 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 10:33:11 +00:00
Hardy Ferentschik 79bb60ea89 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18552 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 02:01:24 +00:00
Hardy Ferentschik 1f8019b3fc Version upgrade for preperation of 3.5.0-Beta-3 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18550 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 01:34:37 +00:00
Steve Ebersole 8ebda8540a HHH-4785 - BinaryArithmeticOperation reverses incoming arguments
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18538 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 12:47:55 +00:00
Hardy Ferentschik 8bed8a1c22 HHH-4783
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18524 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 21:00:11 +00:00
Steve Ebersole bec0f8046e HHH-4590 - CASTs from CriteriaBuilder.toXXX methods still need to be fleshed out
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18509 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 23:46:47 +00:00
Steve Ebersole 9b3c518d5e HHH-4780 - Allow BigDecimal and BigInteger to be specified as numeric literal types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18508 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 22:55:36 +00:00
Strong Liu b4caf0b909 HHH-4777 HHH-4532 org.hibernate.ejb.test.PackagedEntityManagerTest.testOverridenPar() hard code hsqldb connection info
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18500 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-10 15:18:02 +00:00
Strong Liu 784884b9fe HHH-4777 HHH-4532 org.hibernate.ejb.test.PackagedEntityManagerTest.testOverridenPar() hard code hsqldb connection info
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18499 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-10 15:16:34 +00:00
Steve Ebersole b5597882ce HHH-4776 - Add a NullLiteralExpression for CriteriaBuilder#nullLiteral
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18492 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 20:26:40 +00:00
Steve Ebersole 0f96757d1a HHH-4774 - Do not handle literals using parameters in JPA criteria select
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18486 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 18:01:20 +00:00
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