Commit Graph

1968 Commits

Author SHA1 Message Date
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
David Ezzio e4b87fd6b3 Fix for OpenJPA-1002, patch submitted by Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765801 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:27:02 +00:00
Fay Wang 0daf1bffc8 OPENJPA-1041: allow orderBy on nested embeddables
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765800 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:24:07 +00:00
Fay Wang b2f74fcbd5 OPENJPA-1024: clean up test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765742 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 20:11:03 +00:00
Fay Wang 5681d06afe OPENJPA-1024: clean up testcases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765716 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 18:42:05 +00:00
Catalina Wei 5239148763 1035 JPA2 Query map key path in predicates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765469 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:34:49 +00:00
Michael Dick 60988f8be8 OPENJPA-1010. Exclude test class for Java 5 compilers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765239 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 15:27:02 +00:00
Michael Dick 9696252e4d OPENJPA-1040 reset build flag and fix line length problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765228 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 15:06:53 +00:00
Pinaki Poddar 21b41a50fe OPENJPA-1039: treat AND OR operators as non-associative
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765085 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 08:34:45 +00:00
Catalina Wei affdc073d0 OPENJPA-1035 JPA2 Query allow map key/value path to appear as argument to scalar functions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765064 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 06:18:17 +00:00
Pinaki Poddar e55f36f813 OPENJPA-1010: Tests for Canonical Metamodel Generator from annotated source code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 01:48:06 +00:00
Fay Wang 0398c0e7dd OPENJPA-1024: support case expression in subquery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764779 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 13:53:41 +00:00
Milosz Tylenda 171fe56aa2 OPENJPA-966: Added missing super call from within MySQLDictionary.decorate(Connection) method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764733 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 10:47:56 +00:00
Catalina Wei f758a191ee OPENJPA-1035 JPA2 Query allow map key/value path to appear as argument to scalar functions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764668 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 04:09:05 +00:00
Pinaki Poddar 372dea0106 OPENJPA-1010: Canonical Metamodel Generator from annotated source code. Add/modify for explicit and default access types. Change maven build to condition compilation & packaging. Add support for array types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764665 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 03:58:35 +00:00
Albert Lee ae182d488e Per agreement with Pinaki, disable jdk-6 annotation processing services until the processor implementation solidifies.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764591 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 20:02:07 +00:00
Catalina Wei 4da7ad3790 OPENJPA-967 JPA2 Query support for embeddable MapKey improvement/rework
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764279 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 03:19:46 +00:00
Catalina Wei 8c31381f18 OPENJPA-1021 allow MapKey on relation field
- add JPA2 Query support for MapKey on relation field
- remove @AllowFailure in test cases

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764218 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 16:47:15 +00:00
Fay Wang d00cf9d468 OPENJPA-1024: support enum literal in case expression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764094 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 22:57:00 +00:00
Jeremy Bauer 69d01f2813 OPENJPA-1034 Remove OrderColumn attributes and corresponding tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764041 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 20:38:28 +00:00
Milosz Tylenda 62aabafc53 OPENJPA-983: FirebirdDictionary improvements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763992 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 17:57:57 +00:00
Jeremy Bauer 20b3559bbe OPENJPA-1032 Reverting back to 1.x OpenJPAQuery.getPositionalParameters signature due to spec update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763958 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 15:04:47 +00:00
Fay Wang 16c8b6d2dc OPENJPA-1024: add enum literal support for case expression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763860 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 02:51:31 +00:00