Commit Graph

2257 Commits

Author SHA1 Message Date
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
Milosz Tylenda 9d5066a225 OPENJPA-883: Documentation is out of date for some MySQLDictionary properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763780 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:37:02 +00:00
Milosz Tylenda 9202ab6944 OPENJPA-723: Feature request for PostgreSQL XML Column Mapping
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763772 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:11:28 +00:00
Michael Dick 3b2585f39b OPENJPA-1028 OPENJPA-1021 fix eol style for new classes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763677 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 15:07:33 +00:00
Catalina Wei be8731aafa OPENJPA-967 JPA2 Query support for MapKey fixes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763516 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 05:11:20 +00:00
Fay Wang 2901ea6e52 OPENJPA-1028: fixed setMappedByValue when embeddable is involved.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763427 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 22:06:56 +00:00
Fay Wang e4ec2cf90d OPENJPA-1021: fix test case problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763301 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 16:13:09 +00:00
Fay Wang da5c1da5c6 OPENJPA-1021: fix test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763295 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 15:58:19 +00:00
Fay Wang 5580dd3ea6 OPENJPA-1021: allow MapKey on relation fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763284 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 15:39:54 +00:00
Pinaki Poddar 921cd71acf Skip compiling JDK6 dependent class on JDK5 profile
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763155 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 09:37:04 +00:00
Pinaki Poddar 96cb35ffa3 OPENJPA-1024: Scalar expression in SubQuery requires subquery expression be enclosed in parentheses
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763149 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 09:06:11 +00:00
Pinaki Poddar 2582022326 Skip compiling JDK6 dependent class till we figure out conditional compilation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763147 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 09:00:28 +00:00