Commit Graph

1990 Commits

Author SHA1 Message Date
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
Jeremy Bauer 51224e586c OPENJPA-1027 Committing documentation updates contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772035 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:03:24 +00:00
Catalina Wei ed82fda48c OPENJPA-1064 JPA2 Query add support for embeddable of element collection in predicate and subquery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 00:03:09 +00:00
Pinaki Poddar 0392538775 OPENJPA-1013,OPENJPA-1014: Type-strict Criteria API (skeletal) implementation as per JPA 2.0.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@771948 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 18:03:31 +00:00
Jeremy Bauer 6bccd91606 OPENJPA-1060 Made userObject transient to correct serialization issue
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@771726 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 13:47:56 +00:00
Jeremy Bauer 22a5143d1f OPENJPA-869 Fix nondeterministic ordering issue with OrderColumn test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@771722 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 13:42:23 +00:00
Michael Dick 6a36d55398 OPENJPA-1045 remove system.out.format eyecatcher
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@771348 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 16:26:44 +00:00
Michael Dick 2c2e78149d OPENJPA-1045. L2 cache included / excluded types may be specified via configuration properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770729 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 15:47:33 +00:00
Pinaki Poddar 733c1ea7de OPENJPA-1050: Use parameterized type whenever applicable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770528 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 04:02:14 +00:00
Pinaki Poddar 861db8ddd0 OPENJPA-1049: Register type alias for MappedSuperclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770516 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 02:22:35 +00:00
Fay Wang f9fd4837b3 OPENJPA-1055: add MapKeyTemporal and MapKeyEnumerated support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770400 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:07:18 +00:00
Jeremy Bauer 02846623a8 OPENJPA-964 Committing contributions provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770297 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 15:50:53 +00:00
Jeremy Bauer bd50e177bb OPENJPA-932 Committing code and tests contributed by Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769901 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 19:55:39 +00:00
Fay Wang 1677b481b2 OPENJPA-1053: fix update by setting an embeddable which contains a cascade delete relation with another entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769879 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 19:08:11 +00:00
Michael Dick 14ae1c34cf OPENJPA-1025 committing patch provided by B.J. Reed. Removin subList method from AbstractResultList forcing subclasses to override the method
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769801 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 15:37:41 +00:00
Pinaki Poddar 8f182fc261 OPENJPA-1008: Test cases for JPA 2.0 metamodel generation and population
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769549 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:21:52 +00:00
David Ezzio 09859699f9 OpenJPA-1002: fixed select range for Oracle drivers, patch submitted by Amy Yang and Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769505 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 19:14:40 +00:00
Pinaki Poddar d86b15e30d EXclude JDK6 dependent source and test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769497 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 18:51:46 +00:00
Pinaki Poddar 7adb7932e8 OPENJPA-1008: Facade OpenJPA metamodel to JPA 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769478 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:50:25 +00:00
Pinaki Poddar 9d52998c1e OPENJPA-926: JPA 2.0 Access processing by XML descriptors
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769308 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 09:20:06 +00:00
Pinaki Poddar 29a5f7acd2 OPENJPA-1050: Use parameterized type whenever applicable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768588 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 19:29:07 +00:00
Pinaki Poddar a868ae3435 OPENJPA-926,OPENJPA-1050: handling corner cases of access type. moving uniformaly to access code. adding type parameters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768498 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 09:11:11 +00:00
Pinaki Poddar cf8647198a OPENJPA-1050: Use parametrized types wherever applicable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768452 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 02:57:40 +00:00
Pinaki Poddar 0ffbce338f OPENJPA-926: entity without any property can have unknown access type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768428 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 22:24:45 +00:00
Pinaki Poddar 2c7432cccd OPENJPA-703: Set original query string for prepared query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768395 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 18:49:46 +00:00
Pinaki Poddar ffdf2648fd OPENJPA-1050: Use parametrized types wherever applicable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768386 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:59:38 +00:00
Pinaki Poddar 178f0a180a OPENJPA-926: Support explicit access types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767973 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 16:55:45 +00:00
Pinaki Poddar 27935272ba OPENJPA-1044: Retire test where entity is used as a query parameter as it causes a thread deadlock
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767571 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 15:39:09 +00:00
Fay Wang 0e30a59b08 OPENJPA-1024: clean up test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767246 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 18:23:07 +00:00
Catalina Wei f3b437ab76 1035 JPA2 Query allow embeddable as orderby item
add more test strings for IS NULL and IS EMPTY predicates with path navigation thru key path or embeddable

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 09:21:02 +00:00
Fay Wang 282b8770cd OPENJPA-1024: clean up test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766845 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 20:13:55 +00:00
Catalina Wei 32fd2a52d1 1035 JPA2 Query fix setParameter for key path in predicates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766576 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 05:21:40 +00:00
Milosz Tylenda 4d1b86e860 OPENJPA-933: Database version detection in MySQLDictionary is not reliable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766310 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 12:26:26 +00:00
Fay Wang 8bbf149781 OPENJPA-1024: subquery support of nullif and coalesce for enum literals
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766204 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 02:54:35 +00:00
Jeremy Bauer ff29a053dd OPENJPA-1033 Committing documentation updates contributed by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766044 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 15:11:32 +00:00
Fay Wang 1da766bc55 OPENJPA-1038: detect circular dependencies among embeddables
and issue proper error message to avoid stack overflow

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765846 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 04:26:10 +00:00
Jeremy Bauer d9039ca640 OPENJPA-1029 SQLServerDictionary updates contributed by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765841 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 03:15:38 +00:00