Commit Graph

2026 Commits

Author SHA1 Message Date
Fay Wang f029f2de85 OPENJPA-1013: groupBy/Having support for Criteria query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774954 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 22:29:59 +00:00
Donald Woods cb115bcd16 OPENJPA-1077 Validation-mode element support added to persistence.xml and to createEMF properties Map
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774930 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 21:14:45 +00:00
Catalina Wei d7ddfb1055 OPENJPA-1064 JPA2 Query no support for embeddable of element collection in predicate and subquery
JPA2 spec (section 4.12) does not support comparisons over embeddable class.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774928 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 21:08:27 +00:00
Fay Wang 9b64aea79e OPENJPA-1013: case/simple case expression support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774877 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 18:45:33 +00:00
Donald Woods 4a1c275ed0 OPENJPA-1063 update displayed name for openjpa-all
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774875 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 18:42:17 +00:00
Fay Wang 0b37738fb8 OPENJPA-1013: case/simple case expression test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774862 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 18:23:18 +00:00
Jeremy Bauer e1ccb46414 OPENJPA-962 Committing code and tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774860 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 18:19:34 +00:00
Fay Wang df96cc6129 OPENJPA-1013: simple case and case expression support in Criteria Query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774848 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 17:13:44 +00:00
Donald Woods 094dff26da OPENJPA-79 Add Eclipse artifacts to svn ignore. Also reapplied consistant props to subdirs. See JIRA attached files for the exact props set.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774805 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 15:13:22 +00:00
David Ezzio 862edc8fe1 OpenJPA-1051: Fixed MappingDefaultsImpl to avoid column name duplications when long column names are supplied for a database that accepts only shorter names. Changes submitted for Ravi Palacherla.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774580 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 22:54:32 +00:00
Jeremy Bauer f81e627b27 OPENJPA-932 Committing test updates contributed by Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774393 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 15:08:49 +00:00
Jeremy Bauer 90ef23a4a9 OPENJPA-926 Add annotation support for embeddables and correct Transient issue
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774177 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 03:04:58 +00:00
Milosz Tylenda 13819e01f7 OPENJPA-466: Get rid of possible duplicate sequence values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773999 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 17:43:28 +00:00
Catalina Wei f221b1fa85 OPENJPA-1064 JPA2 Query add support for embeddable of element collection in predicate and subquery
- Add test strings for any, some, member of predicates
- Fix a bug in parameter processing of embeddable object

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773776 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 04:12:27 +00:00
Jeremy Bauer 1f37b7725c OPENJPA-926 Tests and code updates for explicit access types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773704 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 21:59:15 +00:00
Milosz Tylenda c26d742712 OPENJPA-736: Restore method signatures per Albert's request
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773666 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 19:51:39 +00:00
Donald Woods 5014430b94 OPENJPA-1063 Create a new openjpa-all artifact to include runtime depends. Matches changes made to branches/1.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773601 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 15:21:52 +00:00
Donald Woods 19bfc4139a OPENJPA-1071 Derby test suit speed-up
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773600 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 15:20:36 +00:00
Catalina Wei 4606fffc37 OPENJPA-703 PreparedQuery detecting query cache-ability
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773404 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10 21:11:36 +00:00
Fay Wang 02a2830e2f OPENJPA-1013: fix compiler error in test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773367 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10 17:06:34 +00:00
Fay Wang c0bf7e40d6 OPENJPA-1013: check in strictly-typed criteria test cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773314 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10 08:25:24 +00:00
Pinaki Poddar 3213665811 OPENJPA-1079: Allow connection to be accessed by the client
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773284 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 23:18:58 +00:00
Pinaki Poddar 83bb518d7c OPENJPA-1079: Allow connection to be accessed by the client
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 16:40:59 +00:00
Pinaki Poddar dc39b6320f OPENJPA-1050: Use generic types where applicable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773180 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 08:27:44 +00:00
Pinaki Poddar 23bd8aa147 OPENJPA-1050: Use generic types where applicable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773179 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 08:17:27 +00:00
Albert Lee f6f99775bf OPENJPA-891 Fine tune test case to optimize runtime duration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773149 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 01:20:22 +00:00
Jeremy Bauer 3eff16e07a OPENJPA-1074 Maintain contiguous index for collection element removal
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773070 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 19:53:16 +00:00
Donald Woods c5f203f3f2 OPENJPA-1073 Upgrade to latest maven-surefire-plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773044 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 16:28:25 +00:00
Fay Wang 3182ed978e OPENJPA-1072: set up foreign key relationship for the relation within an embeddable in an element collection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772874 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 07:48:08 +00:00
Pinaki Poddar da17643624 OPENJA-1070:support for composite foreign keys on MySQL Version >= 5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772828 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 01:31:37 +00:00
Pinaki Poddar 9a8246799c OPENJPA-1010: MetaDataRespository knows about meta-class. The naming and support for meta-class added to MetaDataFactory. Implemented in PersistenceMetaDataFactory. AnnotationProcessor6 aligned with this naming policy interface.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772820 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 23:57:04 +00:00
Milosz Tylenda 195525392c OPENJPA-736: Change the way generated keys are retrieved so that the feature works also with databases other than DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772756 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 19:57:34 +00:00
Pinaki Poddar eb359de6a5 Demonstrates that related instances can be stored across slices (i.e. collocation constrain can be bypassed) and the across-slice relations can be fetched reliably under certain restrictions (e.g. for lazy relations).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772721 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:36:05 +00:00
Pinaki Poddar 240348ba69 Table name not allowed for flat inheritance mapping
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772689 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 16:02:07 +00:00
Pinaki Poddar 46c0110bef Table name not allowed for flat inheritance mapping
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772679 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 15:30:52 +00:00
Pinaki Poddar fb85dc97e5 Adjust relative paths for the scripts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772667 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 14:39:17 +00:00
Pinaki Poddar c67d0e668e OPENJPA-1010: Add -Asource option to control target compilable version for the generated meta-model source
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772665 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 14:38:41 +00:00
Pinaki Poddar 03c2cce7f5 OPENJPA-1010: Omit @GeneratedValue annotation if target is lower than JDK6
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772663 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 14:36:13 +00:00
Donald Woods 95e9b554c6 OPENJPA-1031 Update docs that refer to OpenJPAEntityManager.getExtent(). Applied patch from Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772649 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 13:43:05 +00:00
Fay Wang 75dfd10c59 OPENJPA-1069: orderBy on ElementCollection of basic types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772528 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 07:16:31 +00:00
Pinaki Poddar f0fb49b47c Implicit field/property access + refactor logging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772476 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:21:36 +00:00
Pinaki Poddar 6759d41517 Metamodel testing classes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772474 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:19:20 +00:00
Pinaki Poddar 2ef46be65e Exclude JDK6 classes from JDK5 compiler
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772473 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:18:23 +00:00
Pinaki Poddar 8321d31c89 Add example windows command script for meta-model generation and few common svn operation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772472 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:17:14 +00:00
Michael Dick 09a77eeae3 OPENJPA-1067. Do not call setQueryTimeout for DB2 on Z/OS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772456 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 22:40:43 +00:00
Pinaki Poddar 8575b6c79e OPENJPA-1010: correct dangenous typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772437 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 21:45:39 +00:00
Pinaki Poddar ce685d0a52 OPENJPA-1010: correct dangenous typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772436 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 21:45:09 +00:00
Pinaki Poddar b68eeddd7d Capture post-compilation result type in prepared query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772291 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 14:56:15 +00:00
Pinaki Poddar 788064287d OPENJPA-1013: Support metamodel access from EntityManager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772281 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 14:38:18 +00:00
Pinaki Poddar 89182580bb OPENJPA-1013,OPENJPA-1014: Support In() and IsNull()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772058 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 05:39:17 +00:00