Catalina Wei
dbc271305f
OPENJPA-967 add query test string for JPA2 path nagivation thru KEY appear in FROM clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779833 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 04:26:29 +00:00
Michael Dick
b2a8732a8b
Setting eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779699 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:55:10 +00:00
Donald Woods
c9e74d4c7a
update pom names to better match the module name and add descriptions where missing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779579 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 12:10:45 +00:00
Donald Woods
85bc7a5e80
OPENJPA-1102 Support application/container provided ValidatorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779554 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 10:43:55 +00:00
Michael Dick
c1b842d492
OPENJPA-1026. Committing patch from B.J. Reed and enabling newline check.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779416 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 02:50:00 +00:00
Michael Dick
3464d8e9b8
OPENJPA-1015. Enforce column width for testcases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779361 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 00:22:33 +00:00
Fay Wang
fcebb24e61
OPENJPA-1013: clean up test cases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779297 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 20:19:42 +00:00
Michael Dick
b3ab297d62
OPENJPA-1092. Enable TestEJBQueryInterface
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778867 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 20:08:29 +00:00
Jeremy Bauer
5b53615609
OPENJPA-926 Modify XML-based explicit access tests to use build-time enhancement
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778831 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 18:29:29 +00:00
Donald Woods
137d0883bd
remove duplicate artifact versions that are provided by the parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778738 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 15:12:57 +00:00
Catalina Wei
b1e8eec3ce
OPENJPA-1098 JPA2 Query support for subselect_identification_variable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778540 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 00:05:36 +00:00
Albert Lee
24c1e49edd
OPENJPA-1090 - Commit contribution by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778055 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 22:50:37 +00:00
Albert Lee
3f28f44d3a
OPENJPA-946 - Commit contribution by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777649 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 18:32:26 +00:00
Fay Wang
9638a84e37
OPENJPA-1013: more test cases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777646 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 18:25:52 +00:00
Albert Lee
0a05d8023a
OPENJPA-891 - Eliminate tests of compatible lock mode type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777558 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 15:02:43 +00:00
Albert Lee
26b83c8300
OPENJPA-891 - Eliminate tests of compatible lock mode type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777549 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 14:40:22 +00:00
David Ezzio
a224644c4c
OpenJPA-1099: Replaced <xmp> tag with <pre> tag in Javadoc comments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777539 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 14:16:23 +00:00
Michael Dick
291e27eba9
OPENJPA-1015. Committing patch provided by BJ Reed. Additional testcases have been added which do not conform - I've updated some of them but some still exist so validation is not enabled by default
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777135 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 14:39:31 +00:00
Pinaki Poddar
70f55bdee8
OPENJPA-1013: Joins, MetaModel validation, Array type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776951 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 05:05:39 +00:00
Fay Wang
768cd337b0
OPENJPA-1069: support of @OrderBy("DESC") on ElementCollection containing basic type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776878 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 21:59:24 +00:00
Fay Wang
f91a31dae4
OPENJPA-1013: OrderBy support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776551 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 05:09:38 +00:00
Fay Wang
9ef9654a99
OPENJPA-1013: non-default escape character support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776495 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 23:30:12 +00:00
Fay Wang
598c25f2b9
OPENJPA-1013: NOT IN/ IS (NOT) NULL/LIKE support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776435 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 20:04:10 +00:00
Michael Dick
175554580d
OPENJPA-918. Committing testcases based on patch provided by B.J. Reed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776411 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:51:21 +00:00
Fay Wang
e4488c4034
OPENJPA-1013: constructor test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776205 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 06:46:59 +00:00
Catalina Wei
2ce5299a73
OPENJPA-1094 JPA2 Query support KEY to appear in subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776117 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 22:23:04 +00:00
Donald Woods
c7a2b9252c
OPENJPA-1077 fix invalid attributes, which caused validation failure only on IBM SDK
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776000 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 16:06:42 +00:00
Fay Wang
76764564b1
OPENJPA-1013: parameter support for Criteria Query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775997 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 15:56:35 +00:00
Pinaki Poddar
7b581bf651
OPENJPA-703: ORDER BY queries are cachable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775924 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 12:46:53 +00:00
Fay Wang
78f0f54dc3
OPENJPA-1013: add more test scenarios for parameter settting in Criteria Query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775367 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 22:08:32 +00:00
Fay Wang
a5f85ac7f8
OPENJPA-1013: TYPE expression support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775306 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:05:48 +00:00
Donald Woods
63c9be2716
OPENJPA-247 Add testcase showing new-delete-new-find issue has been fixed. Patch from: BJ Reed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775295 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:27:41 +00:00
Donald Woods
20fb414d02
OPENJPA-1077 fix validation failure on IBM SDK
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775140 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 14:06:28 +00:00
Fay Wang
2203aedf46
OPENJPA-1013: MEMBER OF support for criteria query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775009 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 05:27:38 +00:00
Fay Wang
9d30d4819e
OPENJPA-1013: IS EMPTY/SIZE() support for criteria query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774955 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 22:52:03 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Fay Wang
d0cb71dd59
OPENJPA-1021: support MapKey annotation on relation fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763015 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:32:36 +00:00
Catalina Wei
05ebf66372
OPENJPA-1024 JPA2 support scalar expressions in subquery
...
add test strings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762871 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:51:36 +00:00
Catalina Wei
df18282acd
OPENJPA-1024 JPA2 support scalar expressions in subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762854 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:06:19 +00:00
Michael Dick
b5d5ea2734
OPENJPA-1023. set svn:eol on .properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762563 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 23:28:17 +00:00
Albert Lee
4386138356
OPENJPA-1022 - correct test case to properly handle notify/wait testing protocol between multi-threads test scenario. This fix corrects some timing related failures.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762559 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 22:59:21 +00:00
Albert Lee
bdce39ae28
OPENJPA-1022 - Ensure LockMode READ/OPTIMISTIC & WRITE/OPTIMISTIC_FORCE_INCREMENT are distinct in type but semantics equivalent.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762409 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 16:30:24 +00:00
Albert Lee
718370e1ef
OPENJPA-957 - Create Fetch*HintHandler(s) for property processing in EntityManager/Query interface methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762161 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 21:29:42 +00:00
Catalina Wei
5e820a36c9
OPENJPA-967 JPA2 Query embeddable MapKey rework
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761851 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 01:10:30 +00:00
Michael Dick
b6e661e24a
OPENJPA-1015 fix line wrapping in source files. Based on patch contributed by B.J. Reed. Updates made to do enforce line wrapping during the process-sources phase of the build.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 03:09:53 +00:00
Fay Wang
f21f7b5ae5
OPENJPA-1004: fix problems with IdClass which has a derived identity and the relation corresponding to the derived identity uses generatedKey
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761326 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:38:34 +00:00
Catalina Wei
33ed6bfb7f
JPA2 Query support for embeddables; nested embeddables; relationships from embeddables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 19:53:54 +00:00
Michael Dick
80be256e13
OPENJPA-975 committing patch from B.J. Reed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760914 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 15:15:42 +00:00
Jeremy Bauer
a5e3bdd592
OPENJPA-990 Committing code and test updates contributed by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760056 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:21:57 +00:00
Milosz Tylenda
7f5471bae7
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@759470 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 14:38:49 +00:00
Jeremy Bauer
f8bb2a83e6
OPENJPA-773 Updates for 03/13/2009 JSR-317 public draft.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@759348 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 20:58:10 +00:00
Catalina Wei
ad0c7db14c
OPENJPA-961 JPA2 Query support for element collection
...
add support for element collection within embeddable object
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@759330 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 20:18:39 +00:00
Catalina Wei
c7fabe7ff7
OPENJPA-956 JPA2 Query support ElementCollection in FROM clause
...
add query test strings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758906 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 22:45:39 +00:00
Catalina Wei
7e6ca9043e
OPENJPA-956 support elementCollection in FROM clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758868 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 21:36:08 +00:00
Pinaki Poddar
32796f751b
OPENJPA-5: Upgrade to JDK6
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758490 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:01:39 +00:00
Jeremy Bauer
a4124b4743
OPENJPA-885 Committing additional detach tests contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758442 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 21:43:57 +00:00
Fay Wang
f48b254eba
OPENJPA-967: Qualified Identifier in-memory query test cases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757670 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 05:55:13 +00:00
Michael Dick
b546423063
OPENJPA-896. Setting eol-style:native and removing windows eol characters from XML files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757388 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 12:42:41 +00:00
Michael Dick
90b84c5d73
OPENJPA-896. Setting eol-style:native and removing windows eol characters from source files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757278 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:37:24 +00:00
Pinaki Poddar
c3175eea3c
OPENJPA-995: Refactor OpenJPA Criteria query implementation as 'dynamic query' extension.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756730 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 19:47:26 +00:00
Fay Wang
9e683c7612
OPENJPA-963: commit patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756193 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:54:28 +00:00
Albert Lee
1d92b9a5c0
OPENJPA-991 - disable TestException.testThrowsOptimisticException() until this issue is addressed. This will avoid the test hang condition and allow other tests to proceed, when run in DB2.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756180 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:34:28 +00:00
Catalina Wei
ed0f74a34b
OPENJPA-967 add query test strings for JPA2 path nagivation thru KEY appear in FROM, WHERE, and ORDER BY clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756151 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 19:36:46 +00:00
Catalina Wei
6f253f050b
OPENJPA-967 JPA2 add support for collection valued path thru KEY appear in FROM clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756104 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 17:33:03 +00:00
Jeremy Bauer
bb1bc8a39d
OPENJPA-878 Committing code and test updates contributed by Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:54:29 +00:00
Jeremy Bauer
2edc92d97f
OPENJPA-972 Committing code doc update and tests contributed by Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755615 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 15:18:44 +00:00
Michael Dick
1d94611932
OPENJPA-947. Reduce testcase logging
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755580 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 12:37:31 +00:00
Jeremy Bauer
65a8219817
OPENJPA-885 Committing code and tests contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755468 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 04:01:04 +00:00
Jeremy Bauer
cb271bfa1d
OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755115 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:40:23 +00:00
Catalina Wei
7c9ef84fb9
OPENJPA-967 JPA2 JPQL allow KEY(e) of basic types appear in conditional expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755102 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 03:13:10 +00:00
Catalina Wei
29a2d30a8a
OPENJPA-967 JPA2 support qualified path
...
add support for ORDER BY & GROUP BY a path thru KEY navigation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@754961 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:16:39 +00:00
Fay Wang
2860368801
OPENJPA-978: make the third argument in substring function
...
optional.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753596 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 03:28:14 +00:00
Catalina Wei
d8da810820
OPENJPA-967 JPA2 Query support for selection of state field thru KEY navigation
...
Sample JPQL: select KEY(e).name from Dept d join d.emps e
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753473 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 23:20:45 +00:00
Albert Lee
0e7c84ef81
OPENJPA-866 - Commit contributions by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753024 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 21:31:11 +00:00
Pinaki Poddar
c8c43e4065
Add no-args constructor such that runtime enhancer can use
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752930 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:50:21 +00:00
Albert Lee
c5a3a56b48
OPENJPA-905 - Commit contribution by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752912 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:00:42 +00:00
Pinaki Poddar
393111b875
OPENJPA-857: PersistenceProductDerivation sets Compatibility according to current specification. Allow multiple specifications to coexist.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752557 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 18:38:35 +00:00
Albert Lee
6e6cb3786c
OPENJPA-891 - Complete new LockModeType supports in EntityManager. Manual updated. Build and TCK passed. Code reviewed by Pinaki P. and Mike D.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752306 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 23:41:03 +00:00
Pinaki Poddar
4506244327
OPENJPA-958,959: timeout on query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 07:22:23 +00:00
Pinaki Poddar
a1917d1378
OPENJPA-968: Change default detach to be in-place rather than copy to align with JPA 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751910 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 23:27:50 +00:00
Michael Dick
ca9d49a5f4
Fix formatting for procedureList classes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751790 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 18:55:33 +00:00
Catalina Wei
de5e6c9ba9
OPENJPA-967 JPA2 Query support for selection of KEY, VALUE, ENTRY of a Map value
...
more test scenarios for Map having @MapKeyClass or @MapKeyJoinColumn annotations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751766 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 17:08:34 +00:00
Pinaki Poddar
cae33419ae
OPENJPA-955: test+documentation on MethodQL. Allow candidate class be optional on MethodQL. Do not cache MethodQLQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750798 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:50:54 +00:00
Pinaki Poddar
4b31d54b3e
OPENJPA-966: Support unwrap() for JPA 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750788 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:08:20 +00:00
Catalina Wei
30ee661fdc
OPENJPA-879 JPA2 Query support for selecting KEY, ENTRY and VALUE of a Map value
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750517 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 17:30:20 +00:00
Fay Wang
dff6bf561b
OPENJPA-937: AssociationOverrides support when applied to
...
MappedSuperclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:51:53 +00:00
Fay Wang
2f3ef42f4f
OPENJPA-937: back off test case. Will check it in later.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750225 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 23:26:51 +00:00
Fay Wang
0098cc1e25
OPENJPA-937: AssociationOverrides support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:42:51 +00:00
Jeremy Bauer
b611d3f34e
OPENJPA-927 Committing code contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750113 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:23:40 +00:00
Albert Lee
8bf4da08ff
OPENJPA-891 - correct tests failure due to CPU speed sensitive wait between threads interaction.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749497 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:38:28 +00:00
Pinaki Poddar
23145bf7ca
OPENJPA-704: Make extended path lookup optional to save runtime costs for predominant use cases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749435 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 21:05:05 +00:00
Albert Lee
781c837812
OPENJPA-903 - Commit contribution submitted by Tim McConnell. [Ref: http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00089.php ]
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749423 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 19:32:14 +00:00
Albert Lee
a95c0f0f89
OPENJPA-891 - Fix problematic thread test case synchronization problem.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749135 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 22:15:02 +00:00
Michael Dick
f3d1704863
OPENJPA-213. Scale and precision specified for doubles upgrade column type to NUMERIC.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749090 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:38:21 +00:00
Fay Wang
b811a6c43b
OPENJPA-931: IdClass support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748349 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 23:35:54 +00:00
Fay Wang
d22fc6ab7c
OPENJPA-930: fix test case error caused by
...
TestAttrOverridesXml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748296 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 20:51:51 +00:00
Albert Lee
bcfb4e9c83
Remove @Allowfailure in lock manager tests after FinderCache fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748276 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 19:27:19 +00:00
Pinaki Poddar
a9c858b39a
OPENJPA-766: Allow an explanatory message for @AllowFailure tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748185 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 15:47:00 +00:00
Pinaki Poddar
f5cc8d8b9c
OPENJPA-942: Allow Tests to specify target database platform
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747969 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 23:42:44 +00:00
Jeremy Bauer
909c838138
OPENJPA-934 Fixed bugs in test code and added instructions to run in an Oracle environment.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747496 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:52:16 +00:00
Albert Lee
22a0f837e1
OPENJPA-891 - Committing basic JPA2 lock mode support for em refresh, find and lock methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747489 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:48:09 +00:00
Fay Wang
62c76e42ea
OPENJPA-930: orm xml support for AttributeOverride
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747239 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 00:39:48 +00:00
Pinaki Poddar
9d7360cb35
OPENJPA-935: Detect table for embedded PC to avoid extra select before delete.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746640 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 05:52:06 +00:00
Fay Wang
e2fef6a276
OPENJPA-930: AttributeOverride support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 04:11:32 +00:00
Fay Wang
f72b68bfbb
OPENJPA-931: nested embeddedId/MappedById support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746446 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 07:29:40 +00:00
Pinaki Poddar
cfd133447f
OPENJPA-924: Set JDBC query parameters with type information
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746060 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:58:42 +00:00
Fay Wang
47c15ce621
OPENJPA-871: fix test case problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746043 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 22:52:30 +00:00
Fay Wang
40ec58ce0d
OPENJPA-871: check in test case for multiple MappedById
...
annotations with generated key
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745945 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 17:48:28 +00:00
Albert Lee
679989fd16
OPENJPA-466 - Commit patch contributed by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745737 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 05:34:30 +00:00
Catalina Wei
1a407b6d68
OPENJPA-906 fix testcase TestEntityTypeExpression
...
committing patch from Tim McConnell
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745706 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 02:13:02 +00:00
Fay Wang
357cf347c8
OPENJPA-871: mappedById support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745699 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 00:30:06 +00:00
Catalina Wei
350dcbc92a
OPENJPA-925 update testcase comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745597 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 18:34:09 +00:00
Albert Lee
ba80c16806
Insert missing assertion on failure condition.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745588 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 18:12:04 +00:00
Catalina Wei
d1c23c2d9d
OPENJPA-925 Bidirectional OneToOne relation incorrectly set in loadEagerJoin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745408 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:06:12 +00:00
Pinaki Poddar
3fc7f54a01
OPENJPA-924: Support cache of Finder queries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745293 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 23:21:37 +00:00
Michael Dick
3adf70a029
OPENJPA-917 add testcases contributed by B.J. Reed. Changes to QueryImpl were already made in OPENJPA-900 svn rev 743396
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743836 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 18:56:08 +00:00
Jeremy Bauer
7d0452763a
OPENJPA-869 Added support for order column table attribute
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743594 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 01:55:45 +00:00
Jeremy Bauer
a1f6b1550f
OPENJPA-919 Committing test code contributed by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743473 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 20:06:42 +00:00
Fay Wang
1b7ff075c9
OPENJPA-871: MappedById support (spec 2.4.1.2 Ex3b, 5b)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743437 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 18:19:13 +00:00
Pinaki Poddar
8a9595bed4
OPENJPA-900: Consolidate Query Hint related processing. As a byproduct, support new JPA 2.0 getHins() and getSupportedHints().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743396 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 16:57:26 +00:00
Michael Dick
b20e5e7086
OPENJPA-876 committing patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742775 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 22:42:09 +00:00
Catalina Wei
32a6c11b0a
OPENJPA-703 cleanup TestOptimizeForClause testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742184 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 22:09:07 +00:00
Catalina Wei
64be080321
OPENJPA-802 JPQ2 fix TestOrderColumn, enforce ordered results
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742181 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 22:01:47 +00:00
Catalina Wei
80aea14f18
OPENJPA-912 Potential NPE in setInverseRelation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741994 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 01:43:45 +00:00
Catalina Wei
0416d6b54c
OPENJPA-807 JPQ2 JPQL fix testcase, enforce ordered results
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741916 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 17:16:22 +00:00
Fay Wang
16778feb29
OPENJPA-871: fix test case name clash problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741752 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 22:02:01 +00:00
Catalina Wei
ed3889ff69
OPENJPA-703 fix TestOptimizeForClause testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741745 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 21:43:53 +00:00
Catalina Wei
72fa143e53
OPENJPA-703 add testcase for getSingleResult
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741737 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 21:26:32 +00:00
Fay Wang
6bbbb786c2
OPENJPA-871: check in MappedById test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741701 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 20:11:54 +00:00
Catalina Wei
9c003aa909
OPENJPA-807 JPQ2 JPQL fix testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741691 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 19:44:55 +00:00
Catalina Wei
26b54075bb
OPENJPA-856 JPQ2 JPQL support for entity type expression
...
fix testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741665 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 18:28:44 +00:00
Pinaki Poddar
72ac31544f
DB2 optimization for Query.getSingleResult()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741398 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 04:31:17 +00:00
Jeremy Bauer
b4a09c4dab
OPENJPA-849 Committing code for Dianne Richards that reverts driver property name back to openjpa property.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741386 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 03:32:35 +00:00
Pinaki Poddar
889ca9d6a4
OPENJPA-703: Update Prepared Query Cache documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741275 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 20:06:02 +00:00
Jeremy Bauer
f99be0c0e0
OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740986 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:21:25 +00:00
Pinaki Poddar
c27f31a107
OPENJPA-899: Initial support for new JPA 2.0 Query.getHints() API method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740911 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:06:47 +00:00
Fay Wang
7b5510cabc
OPENJPA-873: check in test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740802 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 17:24:35 +00:00
Fay Wang
4d5a6c5e56
OPENJPA-870: orm support for OrphanRemoval
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740781 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 16:31:54 +00:00
Michael Dick
d61b3b26a9
OPENJPA-772 committing patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740763 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:12:58 +00:00
Pinaki Poddar
ddec73796c
OPENJPA-703: Validate parameter values by their expected types.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740506 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:18:54 +00:00
Pinaki Poddar
f9c94752d7
OPENJPA-857: Extend support for Specification through a more structured type to carry Version information. Will help Compatibitibility (and may be others) that needs to tune their behavior based on current Specification version as well as backward compatibie versions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740492 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:38:45 +00:00
Michael Dick
808f4a6174
Revert bad testcase changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740356 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 17:39:31 +00:00
Jeremy Bauer
592352e8b8
OPENJPA-869 Added query expression to target a specific entity during validation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740314 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 14:46:17 +00:00
Pinaki Poddar
b7ca8734b9
OPENJPA-703: Parse SQL for both ?n and ? style parameter markers
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740208 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 04:13:51 +00:00
Pinaki Poddar
c71522fa9a
OPENJPA-703:How user parameters are converted to Object[] is determined by the Executors. Because they are the consumer of this information. kernel.Query toParameterArray() was making many implict assumptions. A detailed test with paramenetrs and forcing PreparedQueryCacheImpl to cache JPQL only.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740184 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 01:41:25 +00:00
Jeremy Bauer
8746348ea3
OPENJPA-876 Adding required packaging def to DB2 and Oracle example profiles.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740101 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 20:47:18 +00:00
Pinaki Poddar
64329e007e
OPENJPA-703: Support Collection-valued parameters. Handle re-parameterization when collection-valued parameter has different size across invocations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740016 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 15:57:27 +00:00
Pinaki Poddar
2065e905dd
OPENJPA-703: Use Prepared Query for packed results.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739796 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 17:34:04 +00:00
Pinaki Poddar
4ed05803e1
OPENJPA-703: A separate executor for Prepared SQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739784 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 16:50:45 +00:00
Pinaki Poddar
e30261e55a
OPENJPA-703: Support PersistenceCapable as query parameter during reparameterization of Prepared Query.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739589 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 19:37:01 +00:00
Pinaki Poddar
47a0f41e72
Reuse EMF.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739178 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 05:33:42 +00:00
Fay Wang
3c85ec758a
OPENJPA-870: orphanRemoval support with test case checked in
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739166 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 04:32:51 +00:00
Pinaki Poddar
d81211251d
OPENJPA-703: Deactivate a test whose domain model clashing with other tables during schema creation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739159 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 03:53:09 +00:00
Pinaki Poddar
819514f157
Cache EntityManagerFactory for better performance
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739158 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 03:51:10 +00:00
Fay Wang
6453c64343
OPENJPA-870: orphanRemoval support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739155 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 03:15:09 +00:00
Pinaki Poddar
e47d83b051
Make some part of the test database dependent because it verifies hardcoded Derby URL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739148 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 02:41:14 +00:00
Pinaki Poddar
d00a4e6eb9
OPENJPA-703: Deactivate a test whose domain model clashing with other tables during schema creation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739146 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 02:33:04 +00:00
Pinaki Poddar
295442d82f
OPENJPA-703: Prepared Query Cache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739123 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 01:27:35 +00:00
Michael Dick
1fdd52fb0a
OPENJPA-881. 'better' default values for connection pool settings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738989 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 20:07:13 +00:00
Catalina Wei
8e60655cd7
OPENJPA-865 JPA2 Query support for collection-valued input parameter in in-expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738940 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 17:51:35 +00:00
Fay Wang
963e541fd2
OPENJPA-838: check in testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738918 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 16:43:44 +00:00
Michael Dick
30b7c05468
OPENJPA-876 adding db2 and oracle profiles to openjpa-persistence-jdbc/pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738555 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 17:22:29 +00:00
Jeremy Bauer
da91c0bb56
OPENJPA-849 Removing partial feature update for milestone release
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738157 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 17:26:02 +00:00
Catalina Wei
f1d2bf4bef
OPENJPA-863 Unexpected mere-cascade behavior when cascade.all/merge specified on both sides of relationships
...
Committing patch provided by Sandhya Truraga
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737132 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 18:23:18 +00:00
Jeremy Bauer
017e518bba
OPENJPA-802 Base OrderColumn support and corresponding tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736915 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 04:54:33 +00:00
Catalina Wei
8ee71283c9
OPENJPA-856 JPQ2 JPQL add support for entity type expression
...
remove System.out from testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736895 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 02:43:13 +00:00
Catalina Wei
d49fdb1ea2
OPENJPA-856 JPQ2 JPQL add support for entity type expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736881 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 01:19:47 +00:00
Michael Dick
c5736acdf4
OPENJPA-864 do not remove table aliases for databases which use JoinSyntaxes.SYNTAX_DATABASE (no joins).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736748 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 19:16:37 +00:00
Michael Dick
50f65873f5
Fix TestRunner.run calls in TestSQLBigDecimalId, TestSQLDateId, and TestSQLBigIntegerId
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736320 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 14:53:10 +00:00
Michael Dick
fd42fb9d9e
testcase cleanup. Remove System.err.printlns
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736066 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 19:01:50 +00:00
Michael Dick
0452a7c4ab
OPENJPA-809 support JPA 2.0 cache interface.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736036 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 16:50:01 +00:00
Pinaki Poddar
cdc015fae8
OPENJPA-849: Load supported properties from resource.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@735760 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 17:47:19 +00:00
Fay Wang
a09954b754
OPENJPA-851: xml orm support for MapKeyClass, MapKeyColumn,
...
MapKeyJoinColumn
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734926 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 06:49:30 +00:00
Catalina Wei
7ce5b0dad8
OPENJPA-834 removed @AllowFailure from xmlmapping testcase
...
committing patch provided by Milosz Tylenda
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734833 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 21:52:02 +00:00
Catalina Wei
9e78d8caae
OPENJPA-834 fix xmlmapping testcase
...
committing patch provided by Milosz Tylenda
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734828 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 21:29:31 +00:00
Catalina Wei
388c56f05f
OPENJPA-846 XML column support for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734601 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 03:11:00 +00:00
Pinaki Poddar
2e2618407d
OPENJPA-858: Allow configurable PostPersist callback either post flush/commit or post persist immediately.Also refactored callback options around a CallbackOptions configuration class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734344 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 06:20:31 +00:00
Fay Wang
c99c9d24f9
OPENJPA-851: enhanced map support for JPA 2.0 (Spec 10.1.26,
...
10.1.27, 10.1.28, 10.1.29, 10.1.30, 2.7)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734319 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 04:11:32 +00:00
Michael Dick
b8ec28b38a
OPENJPA-843 refactor testcase so that it runs during a normal maven build.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734253 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 22:05:07 +00:00
Michael Dick
500fc71ba3
OPENJPA-843 move testcases to openjpa-persistence-jdbc module to resolve compile failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733970 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 23:56:33 +00:00
Catalina Wei
4427455757
OPENJPA-855 JPA2 Query updates add support for Index function
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733142 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 20:13:20 +00:00
Michael Dick
f491d6e361
OPENJPA-854 remove hard coded trace levels from testcases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733054 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 15:04:24 +00:00
Pinaki Poddar
cbbc768673
OPENJPA-850: Add notion of equivalent property keys for configurable Value. Use this facility to support new javax.persistence.* style property keys alongside openjpa.* style property keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732443 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 19:38:45 +00:00
Pinaki Poddar
44a4c38a1e
OPENJPA-850: Add persistence.xml for equivalent configuration support testing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732418 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 18:33:24 +00:00
Catalina Wei
fb7ab1908b
OPENJPA-557 Primary key sequences broken with postgres schemas
...
Commit patch provided by Milosz Tylenda
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729180 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 00:18:32 +00:00
Catalina Wei
1437517d8c
OPENJPA-833 An improved test case for XML column mapping
...
Commit patch provided by Milosz Tylenda
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729169 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 23:21:11 +00:00
Jeremy Bauer
c924cc2fc8
OPENJPA-803 Added support to allow a specific schema name to be specified on sequence generators per JPA 2.0.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728147 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 21:22:18 +00:00
Michael Dick
16b7b1a7f7
OPENJPA-784 committing patch provided by Fernando
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728004 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 11:36:13 +00:00
Jeremy Bauer
0e6a3bd79d
OPENJPA-823 Removed assertion from test due to variability in JREs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727841 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 22:22:33 +00:00
Jeremy Bauer
04900fe85c
OPENJPA-819 Committing fix for NPE and corresponding test case contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727813 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 20:39:06 +00:00
Fay Wang
78dda5c2b7
OPENJPA-782: add test case for embeddable support
...
using orm xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727791 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 19:08:43 +00:00
Fay Wang
90f6d5ff80
OPENJPA-782: adding element-collection and collection-table
...
support for XML Serializer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727649 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 05:44:44 +00:00
Fay Wang
5256a6c516
OPENJPA-782: embeddable support. Adding more test cases per
...
spec 10.1.7, 10.1.24, 10.1.25, 10.1.34
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727639 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 04:43:33 +00:00
Catalina Wei
e63fbd5226
OPENJPA-805 JPQL updates iteration 1
...
add in-memory query testcase for Case, Coalesce, and NullIf expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727611 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 01:30:00 +00:00
Michael Dick
ead852dc38
OPENJPA-777 committing testcase from Fay's patch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727530 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 21:59:09 +00:00
David Ezzio
9ba8587238
Merged changes 726860, 68, and 76 from branch 1.1.x. Added Cache Marshallers to descriptors, and renamed test case. Was not able to enable test case due to additional missing property descriptors in trunk. See Jira: OPENJPA-830.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727250 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 03:01:26 +00:00
Catalina Wei
13027e218c
OPENJPA-806 : fix testcase: testGeneralCase & testParameter
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727107 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 18:27:30 +00:00
Fay Wang
4cf216c21f
OPENJPA-782: embeddable support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727084 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 16:44:26 +00:00
Pinaki Poddar
5d27c28dd4
OPENJPA-800: Introduce OpenJPAQueryBuilder interface. Implement CONCAT() and other String functions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726879 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 00:02:12 +00:00
Jeremy Bauer
c1d791f6dd
OPENJPA-823 Added new 2.0 schemas and updated persistence and metadata parsers to use per-version schema validation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726144 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 22:36:30 +00:00
Catalina Wei
debe82b8d0
OPENJPA-805 JPQL iteration 1 - add support for COALESCE and NULLIF expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725881 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 01:29:19 +00:00
Jeremy Bauer
cabd344397
OPENJPA-800 remove version milestone indicator from build artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725817 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 21:17:55 +00:00
Fay Wang
11a57c87c5
OPENJPA-782: add orm support for CollectionTable and
...
ElementCollection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725770 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 18:42:10 +00:00
Catalina Wei
979a6e373c
OPENJPA-805 JPQL iteration 1: add support for Case Expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725728 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 16:16:32 +00:00
Catalina Wei
2bb40626e6
OPENJPA-805 JPQL iteration 1 add support for select ScalarExpression & Order By selectAlias
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725530 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 01:43:52 +00:00
Pinaki Poddar
d1f498b59e
OPENJPA-806: Testing Criteria API by executing against the database. Persistent test classes declare fields as appropriate to the tested queries. Criteria that use new JPQL constructs such as KEY(), CASE etc. are compared literally with handcrafted JPQL string. The supported ones are executed against the database.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725522 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 01:29:10 +00:00
Michael Dick
82e702867e
OPENJPA-817 fixed in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724765 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 16:04:37 +00:00
Pinaki Poddar
411382d4d9
OPENJPA-806: Refactor different domain paths into a single list in QueryDefinitionImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724564 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 00:17:23 +00:00
Fay Wang
9946b6c19b
OPENJPA-792: MappedSuperClass problem. Commit on behalf of
...
Sandhya Turaga.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724490 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:22:58 +00:00
Fay Wang
e78a1bc079
OPENJPA-782: embeddable support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724437 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 18:27:45 +00:00
Pinaki Poddar
74c5f3078f
OPENJPA-806: Interface changes (merge Selectable to Visitable) + String Functions (Concat etc) + Detect recursion
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724402 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 17:00:34 +00:00
Michael Dick
7a6ac4afc7
Reverting OPENJPA_817 in trunk. Conflict with Issue 706 causes unpredictable results
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723914 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 23:00:22 +00:00
Michael Dick
c15fb7dfbb
OPENJPA-817 preserve order of statements with ConstraintUpdateManager merge to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723854 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 20:30:05 +00:00
Pinaki Poddar
4c4219fc22
OPENJPA-806: Initial Criteria API implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723553 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 01:37:13 +00:00
Fay Wang
55b1fa6cd3
OPENJPA-815: retrieval fails for an entity that contains an
...
embeddable, which contains a toMany relation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723480 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 23:03:42 +00:00
Jeremy Bauer
c60a95f77a
OPENJPA-800 Change release artifact versions for milestone 1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723373 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 16:51:03 +00:00
Jeremy Bauer
492a92a260
OPENJPA-773 Updates for JPA 2.0 spec API. Stubbed out unimplemented methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@721073 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 02:41:13 +00:00
Fay Wang
bb937f3634
OPENJPA-742: add get lineNumber/ColumnNumber to SourceTracker
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719314 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 18:16:46 +00:00
Srinivasa Segu
031f525d4f
OPENJPA-680 - After load and after refresh callbacks were each resulting in a post load call resulting in the duplicate call. Fix addresses the same and re-introduces the original fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719166 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 05:37:59 +00:00
Pinaki Poddar
9d40841d48
OPENJPA-340: Let DBDictionary generate Unique Constraint names rather than Unique trying to auto-generate such names in lesser scope. Strengthen the tests to have exactly same named unique columns in two classes to verify that the unique constraint names are unique across tables.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@713778 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 18:33:07 +00:00
Pinaki Poddar
25c31398f1
OPENJPA-766: Use @AllowFailure to remove <exclude> clause for failing tests in pom.xml. Also added a facility to list tests that are annotated with AllowFailure.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@713630 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 04:09:08 +00:00
Michael Dick
1ae20fc277
unify doPrivHelpers
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@713493 13f79535-47bb-0310-9956-ffa450edef68
2008-11-12 20:19:40 +00:00
Pinaki Poddar
ef910bb684
OPENJPA-766: Allow Tests that fail to be included in the repository. Annotate the TestCase or its specific methods with @AllowFailure(true|false)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@713084 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 17:01:42 +00:00
Michael Dick
02608cc658
OPENJPA-765 Check for isInsertable and isUpdatable in HandlerFieldStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712928 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 03:44:43 +00:00
Catalina Wei
5550d8dbb5
OPENJPA-755 Update to SingleFieldManager to permit detached related entities on a merge with cascade persist.
...
cosmatic changes only - removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712817 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 19:55:00 +00:00
Pinaki Poddar
e11d0f7e12
Generate unique name for unique constraints created by @Column(unique=true)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712300 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 22:49:13 +00:00
Jeremy Bauer
54d4d0d07d
OPENJPA-755 Update to SingleFieldManager to permit detached related entities on a merge with cascade persist. Committing for Dinkar Rao.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@709527 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 18:39:16 +00:00
Fay Wang
1a378e13f9
OPENJPA-738: query cache performance improvement. Commit
...
the change in OPENJPA-738.11.patch on behalf of Sandhya
Turaga.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708980 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:06:58 +00:00
Albert Lee
7c1c9fca60
OPENJPA-754 - Add additional condition to determine if the pre/postUpdate callback should be called.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708722 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 23:31:09 +00:00
Michael Dick
b9476a8ae8
Code cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708213 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 15:07:00 +00:00
Michael Dick
e1bd3c4dcb
Code cleanup: remove some unnescessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707937 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 04:31:28 +00:00
Michael Dick
284bd408f8
[maven-release-plugin] prepare release 1.3.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707728 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:49 +00:00
Catalina Wei
e2388e9b3c
OPENJPA-738 QueryCache Improvement
...
Committing patch provided by Sandhya Sturaga
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706481 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 00:23:29 +00:00
Catalina Wei
7131ef0748
OPENJPA-744 Extra SQL on LAZY/EAGER ManyToOne relation
...
Further improved code and additional testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@705335 13f79535-47bb-0310-9956-ffa450edef68
2008-10-16 19:37:02 +00:00
Catalina Wei
5128ee06a4
OPENJPA-744 Extra SQL on LAZY/EAGER ManyToOne relation
...
Further improved for performance when OneToMany is fetch EAGER, the inverse ManyToOne relations are set such that relation fields in entities after detach remain valid.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@704585 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 17:22:39 +00:00
Catalina Wei
212ddcefc9
OPENJPA-744 OneToMany EAGER loading generates extra SQLs on inverse ManyToOne relation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@703912 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 04:37:48 +00:00
Albert Lee
99dc9d8a66
OPENJPA-732 - Re-commit the same original committed changes (code and tests) after test cases corrections were made.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702348 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 05:15:05 +00:00
Albert Lee
7b11877e36
Modified CombinationGenerator.generator() algorithm to create the complete combination set from added options.
...
Removed the test case which assumes "UPDATE CHILD SET PARENT_ID ..." will be issued for some test's conditions and make sure consistent successful execution from repeated test runs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702346 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 05:12:25 +00:00
Albert Lee
d31d40f511
Fix test case db preparation to allow tests to repeat run without taking various runtime exception.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702180 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 15:33:57 +00:00
Albert Lee
229220b922
Fix test case db preparation to allow test to repeat run without taking a duplicate key exception.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702177 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 15:30:34 +00:00
Albert Lee
50ff3ed693
OPENJPA-732 - Regressed a unit test. Reverting BrokerImpl back to previous level and disabling a test in the new TestMessageListener.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701266 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:50:41 +00:00
Albert Lee
f0ad75d7fd
OPENJPA-732 - Fixed BrokerImpl's fields of type Set to consistently use the correct implementation type of HashSet rather than ArrayList or LinkList.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701236 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 20:41:18 +00:00
Michael Dick
b1f1d3250c
OPENJPA-734 added dbcp.args property in openjpa-persistence-jdbc/pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700603 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 22:16:48 +00:00
Jeremy Bauer
ab42492100
OPENJPA-733: Updated state manager to use actual oid instead of owner oid.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700563 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 19:42:11 +00:00
A. Abram White
0226888590
OPENJPA-722 resolution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700158 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 16:07:01 +00:00
Catalina Wei
baa01d79dd
OPENJPA-731 Bug on FetchType.EAGER when QuerySQLCache is turned on
...
Committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@699156 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 03:05:52 +00:00
Michael Dick
7a7957d8cc
OPENJPA-685. Removing references to maven.compile.classpath and maven.dependency.classpath from enhancer ant task
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@697955 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 19:26:35 +00:00
Kevin W. Sutter
4aa64410ad
OPENJPA-715. Committing the testcase provided by Ekin Sokmen and the patch provided by Fay Wang. Committing the change for both the 1.2.x service stream and 1.3.0 snapshot (trunk).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693287 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:34:26 +00:00
Catalina Wei
0ea75e720e
OPENJPA-712 Not correctly parsing the "having" clause with aggregate functions (ie. max, min, etc)
...
Committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@692609 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 03:47:40 +00:00
Catalina Wei
650161a887
OPENJPA-708 sub-sub-query generates SQL with syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@690823 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 23:53:36 +00:00
Pinaki Poddar
aa1516f04b
OPENJPA-697: Add new capabilities to support version columns to spread across primary and secondary tables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@690346 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 17:46:15 +00:00
Pinaki Poddar
912b9a37f7
OPENJPA-704:Adding test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688809 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 18:10:59 +00:00
Pinaki Poddar
f0126e921f
OPENJPA-697: Upgrade version strategy for multiple numeric-valued columns to support @VersionColumns.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688734 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 14:25:36 +00:00
Pinaki Poddar
3ee2f9e40e
Remove wrong headers
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@687879 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 22:12:51 +00:00
Pinaki Poddar
0d5f08efd9
Add a test case for projection of multiple entity.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@687806 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 17:11:42 +00:00
Pinaki Poddar
d9712537da
OPENJPA-111: Modified tests to use correct binding parameter. Added methods in MetaDataRepository to look for NamedQuery only by name without defining class information.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686419 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 23:36:16 +00:00
Pinaki Poddar
d76c646acc
OPENJPA-111: Validate native SQL parameters by the numbers of parameters in StoreQuery level and bypass validation at facade layer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686349 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:38:10 +00:00
A. Abram White
fd15719a4b
Eagerly compile JPQL queries to catch JPQL errors and throw proper exception as
...
required by spec. OPENJPA-678
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686325 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:04:25 +00:00
Kevin W. Sutter
d5820cb4c6
Cleaning up our testcase run to get rid of the INFO messages for a non-existent file.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686061 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 22:14:41 +00:00
Pinaki Poddar
aae1260665
OPENJPA-693: Support 1.5 directional mapping where Parent maps its Children but Child refers to Parent via Parent's primary key value. Introduces a concept of implicit ForeignKey that marks the shared mapped column without any database schema impact.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 20:52:16 +00:00
Catalina Wei
f4845dae9b
OPENJPA-679 java.lang.ArrayIndexOutOfBoundsException may occur when a relation field is annotated as a primary key and a foreign key
...
Commit patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@685042 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 05:10:54 +00:00
Pinaki Poddar
ffb59c35fc
OPENJPA-692: Detect orphaning relation and change row update to delete for join table entry.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684822 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 17:18:31 +00:00
Pinaki Poddar
c8895c6978
OPENJPA-687: Change table names to avoid conflict
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684806 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 16:44:01 +00:00
Pinaki Poddar
7432d1e1ef
Missed the last combination
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684679 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 08:59:35 +00:00
Pinaki Poddar
e7c3df714b
OPENJPA-692: Add Test cases for Bi-directional mapping with JoinTable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684443 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 10:12:37 +00:00
Pinaki Poddar
0d3812fcb5
OPENJPA-687: Add read/write/hit statitics to DataCache/StoreCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 22:39:39 +00:00
David Ezzio
0bbc9463fd
Test case that works when enhancement is done at compile time. OPENJPA-684.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684066 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:41:30 +00:00
David Ezzio
122229bb9a
Fixed a comment and added exclusion from enhancement for any classes contained within a directory named "unenhanced".
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684065 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:39:43 +00:00
David Ezzio
e5a363e651
A little better error handling when an unknown persistence unit is specified in the test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684064 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 19:38:13 +00:00
Pinaki Poddar
610023adee
OPENJPA-678: Adding test case for query/named query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683914 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 08:53:35 +00:00
Pinaki Poddar
9ebfe800a5
OPENJPA-677: While loading intermediate data be more strict about when superclass oid can be allowed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683902 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 08:06:18 +00:00
Pinaki Poddar
446b85a6ae
Assorted changes in test utilities
...
1. Added a new Test class CombinatorialPersistenceTestCase to run test with auto-generated configurations as combination of possible values of many configuration properties
2. Added a Test for Parent-Child insertion under different foreign key constraint + update startaegies scenarios as an exemplar of this new utility
3. Moved exception handling routines to base Persistence TestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683878 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:47:14 +00:00
Catalina Wei
053ad36618
OPENJPA-681 Subquery generates SQL with syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683876 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:46:29 +00:00
Pinaki Poddar
a6216d10db
OPENJPA-628: Adding missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682877 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 19:10:37 +00:00
Pinaki Poddar
a7464c7e0a
OPENJPA-628: Adding more test cases for testing proxy collections in tracking changes in detached mode.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682875 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 19:07:34 +00:00
Michael Dick
e41e1dd976
OPENJPA-628. Revert changes from revision 610922 and add testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682821 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 17:37:39 +00:00
Pinaki Poddar
3b00de3b26
OPENJPA-665: Check for null constraint on insert and update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682610 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 07:23:41 +00:00
Pinaki Poddar
45651cee86
OPENJPA-497: TemporalType conversion at facade level Query.
...
Also includes extensive changes in parameter validation logic and data structure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681977 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 13:58:56 +00:00
Pinaki Poddar
043b0596b8
OPENJPA-485: Add test
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681911 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 00:07:58 +00:00
Pinaki Poddar
bea15fff47
OPENJPA-28: GROUP BY clause on nested sub query should not appear on top-level query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681904 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 23:42:01 +00:00
Pinaki Poddar
8cb82a6f33
OPENJPA-485: ORDER BY clause in JPQL generates syntactically wrong SQL for TABLE_PER_CLASS inheritance hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681781 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 19:03:34 +00:00
Pinaki Poddar
6ae99af762
Add test case for IDENTITY generation strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681747 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 16:57:52 +00:00
Pinaki Poddar
3b91451d16
OPENJPA-207: Add new test case for multi-level derived id
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681746 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 16:55:22 +00:00
Michael Dick
c67f4e6054
OPENJPA-670 added missing license header to test class
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681444 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 19:25:09 +00:00
Michael Dick
68f051fccf
OPENJPA-670 committing patch provided by Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681370 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 13:52:50 +00:00
Pinaki Poddar
4af04f30d9
OPENJPA-187: Allow managed, unmanaged, transient entity as binding query parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681207 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 21:30:26 +00:00
Pinaki Poddar
5f138fe08d
OPENJPA-44: Add test cases for processing metadata-complete tag.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680566 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 23:37:58 +00:00
Michael Dick
64dbe4c924
[maven-release-plugin] prepare release 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680508 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:20:09 +00:00
Kevin W. Sutter
3d81f8652f
OPENJPA-668. Fixed up the orm.xml file that was used for testing so that it could pass the validation of the IBM JDK parser.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680481 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 20:26:21 +00:00
Pinaki Poddar
1111ee16ff
OPENJPA-665: Sets column i/o conditions accordingly when column is set as not nullable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679487 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 18:45:44 +00:00
A. Abram White
388754a280
Add apache license headers.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679437 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 15:38:40 +00:00
Catalina Wei
62a8c5c32f
OPENJPA-292 Extra JOIN on eager bi-directional relationship
...
commit openjpa_292_1.patch and testcase_241_292.patch on behalf of Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679262 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 01:39:55 +00:00
A. Abram White
37d610ca2c
Fix a bug in which joined classes using an application identity hierarchy
...
couldn't be loaded correctly as an inverse relation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679152 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 18:20:25 +00:00
Pinaki Poddar
b4c557d0c0
OPENJPA-660: SQL Query Cache supports binding non-primary key parameters to cached SQL. Commit fix on behalf of Fay Wang. Original test case developed by Vikram Bhatia.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678722 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 11:54:26 +00:00
Pinaki Poddar
4c0bf1be10
OPENJPA-207: Support multi-level derived identity. Enhancer has been modified.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678518 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:55:17 +00:00
Catalina Wei
89695ec253
OPENJPA-51 A non-correlated subquery resulting SQL syntax error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676787 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 02:06:55 +00:00
Pinaki Poddar
434319cfee
OPENJPA-659: Dirty checking fails for runtime enhanced classes. The original case reported the failure in a Spring-Tomcat-Weaver with Embdded field. But as TestSimpleUnenhancedQuery can raise the same failure in a simpler settings. The fix is related to initializing a SaveFieldManager conditional to having loaded fields at invocation of saveFields(). The fix removes the condition and ensures that a SaveFieldManager is assocaited even when saveFields() is invoked without any field loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 20:46:18 +00:00
Catalina Wei
b2812a4cce
OPENJPA-51 Incorrect SQL with syntax error for JPQL subqueries
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676467 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 03:46:44 +00:00
Pinaki Poddar
026c96d513
OPENJPA-656: raise error messages with connection parameters on connect failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676073 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 20:28:49 +00:00
Pinaki Poddar
2a588d6a2b
OPENJPA-652: Formatting to be published base TestCases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673855 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 22:41:07 +00:00
Pinaki Poddar
50aaa9764a
OPENJPA-647: Simple edit for 80-column format rule
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673479 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 20:00:49 +00:00
Pinaki Poddar
1ad09239b3
OPENJPA-647: ClassMetaData listens to value updates of dynamic property
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673476 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 19:50:37 +00:00
Catalina Wei
25a69ffe0a
OPENJPA-648 Table generator uses incorrect schema name
...
commit OPENJPA-648_1.2.0.patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673267 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 03:51:05 +00:00
Catalina Wei
de790be2ad
OPENJPA-235 SQL reordering to avoid non-nullable foreign key constraint violations
...
Fix problem in deletion for foreign key on delete cascade.
Commit openjpa-235-delete-cascade.patch provided by Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673258 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 01:32:33 +00:00
Pinaki Poddar
d52998d074
OPENJPA-340: Formatting to 80 lines
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672416 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 22:54:51 +00:00
Pinaki Poddar
6868b1cc4a
OPENJPA-340: UniqueConstraint supported via XML Descriptors
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672406 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 22:02:34 +00:00
Pinaki Poddar
ff4a96e707
OPENJPA-340: Support for @UniqueConstraints on @TableGenerator, @SecondaryTable and @JoinTable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672038 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 22:04:06 +00:00
Michael Dick
fb78813259
OPENJPA-545 committing patch provided by Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671319 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:48:23 +00:00
Pinaki Poddar
d1a165bc61
OPENJPA-112,OPENJPA-111: Early check for 1-based positional parameter and no named parameter in native query. Also more specific error message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669341 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 00:40:17 +00:00
Pinaki Poddar
f62ea1ab0d
OPENJPA-533: Update query can set single-valued association to NULL or non-NULL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:25:59 +00:00
Pinaki Poddar
a8e0dc180e
OPENJPA-458: Amplified SQL Exception processing. Introduced a new sql-error-state-codes.xml to specify database specific error code for different types of Store exceptions. This helps to narrow SQL exception to a specific errors which bubble up to user application.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668814 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 20:07:12 +00:00
Pinaki Poddar
e00c6e8f80
OPENJPA-625: remove Embedded collection members throws exception in PCData
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 19:29:24 +00:00
Pinaki Poddar
7ac8321f27
OPENJPA-209,OPENJPA-210: Test for projection query with duplicate result
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667647 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 20:46:40 +00:00
Pinaki Poddar
71519b0808
OPENJPA-610: Restored refresh() behavior for clean/new instances.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667312 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 01:58:49 +00:00
Patrick Linskey
12c0a094ee
Merge from ../branches/1.1.x. svn merge -c 656796 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:15 +00:00
Patrick Linskey
1a45d110a2
OPENJPA-130. Merging r655581 from 1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666914 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:55:03 +00:00
Patrick Linskey
753be68e24
OPENJPA-231. Merging r655354 and r655592 from 1.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666912 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:52:31 +00:00
Patrick Linskey
97a94847f6
OPENJPA-130. Merge from ../branches/1.1.x. svn merge -c 653008 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666905 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:46:28 +00:00
Patrick Linskey
96dd926f4a
OPENJPA-522. Backporting r652026 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666894 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:22:54 +00:00
Patrick Linskey
b589da8070
OPENJPA-245. Backported r646082 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666888 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:14:24 +00:00
Michael Dick
981c023e0e
OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Pinaki Poddar
63c4899227
OPENJPA-602: Avoid NPE when table-per-class inheritance staregy with an abstract root. See test cases for further details.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666314 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 20:34:52 +00:00
Pinaki Poddar
794305c2f1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661800 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 18:10:50 +00:00
Pinaki Poddar
89b296fd54
OPENJPA-610: OpenJPA internal exceptions are heuristically translated at facade-level to JPA-defined exception subtypes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661498 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 21:53:51 +00:00
Pinaki Poddar
45693d4e7a
OPENJPA-610: refresh() hits database irrespective of clean/dirty state or current lock mode or active/inactive DataCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660753 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 22:45:01 +00:00
Pinaki Poddar
8f97a2aea3
Clear instances before running the tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660536 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 14:40:17 +00:00
Pinaki Poddar
1ad21f614c
OPENJPA-610 Adding some comments/formatting to the tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659679 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:51:25 +00:00
Pinaki Poddar
534778acf8
OPENJPA-610 Test cases to identify use cases where behavior differs because of DataCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659669 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:35:32 +00:00
Michael Dick
3a5e61238d
OPENJPA-213
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658197 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 10:51:42 +00:00
Michael Dick
4ac794ee69
OPENJPA-589 updating testcase with Fay's changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@655842 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 12:52:57 +00:00
Patrick Linskey
c27bed9d7b
OPENJPA-589. Committing test cases on behalf of Fay Wang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@655682 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 22:50:57 +00:00
Pinaki Poddar
33e094c6f1
OPENJPA-586 Query parameter binding for externalized fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654272 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 21:06:16 +00:00
Michael Dick
a31dfaa31f
OPENJPA-591
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654227 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 19:34:26 +00:00
Catalina Wei
14eeab2c00
OPENJPA-573 JPQL: The combination LIKE ESCAPE does not accept parameters
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@653176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 03:26:24 +00:00
Michael Dick
0f32d37668
OPENJPA-407 committing patch provided by Fay Wang and Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@652913 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 21:09:14 +00:00
Patrick Linskey
18a3db781b
OPENJPA-562, OPENJPA-536, OPENJPA-564, OPENJPA-536, OPENJPA-576, OPENJPA-577. Merging changes from 1.1.x branch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@650714 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 01:10:43 +00:00
Catalina Wei
07cd1728a1
OPENJPA-547 add test strings for FETCH JOINs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@647026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 01:08:29 +00:00
Albert Lee
810e401dbe
OPENJPA-565 - Add test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646594 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 23:27:47 +00:00
Patrick Linskey
8803104f41
moved release number to 1.2.0-SNAPSHOT now that we've made a 1.1.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646049 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:40:02 +00:00
A. Abram White
ea8b942364
Be a little more flexible on the exceptions thrown when persisting instances
...
with auto-generated keys already assigned values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@645610 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:52:31 +00:00
Patrick Linskey
999ce2e670
OPENJPA-536. Committing on behalf of Amy Yang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644115 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 00:01:47 +00:00
Albert Lee
315a348848
OPENJPA-417 - add openjpa.Compability(StoreMapCollectionInEntityAsBlob=true) option to enable map/collection stores as Blob in the database. This allows existing application continues to work.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641842 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 15:08:07 +00:00
Patrick Linskey
b2c1e8f16f
OPENJPA-544. Get rid of JDK1.4 support, fold the jdk1.5 modules into their siblings, get rid of some ugly reflection that was there for 1.5 support, and move to the java.util.concurrent collections classes. This includes a wrapper around ConcurrentHashMap that allows nulls, since the old OpenJPA concurrent map allowed nulls and we rely on that behavior. The implication is that putIfAbsent() and some of the other special JDK1.5 methods don't obey the same contracts as in the java.util.concurrent package.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640685 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 03:37:56 +00:00
Catalina Wei
57ca9afbdd
OPENJPA-539 Can't create a table with a field of java type "Map" in Derby
...
commit patch for Fay Wang.
testcases have been modified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639746 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 18:23:19 +00:00
Michael Dick
831bd55051
OPENJPA-528 committing patch provided by Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639681 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 15:48:30 +00:00
Patrick Linskey
4bed57d778
Added license header.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636531 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 22:01:23 +00:00
Patrick Linskey
282c8e0c5b
Improve product derivation debugging; add test case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636052 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 18:29:19 +00:00
Patrick Linskey
85c7a33365
OPENJPA-521. License headers.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633950 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 17:59:15 +00:00
Patrick Linskey
f3dd4c0397
OPENJPA-521. Committing on behalf of Qin Feng.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633738 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 01:12:19 +00:00
Michael Dick
ca9828726d
OPENJPA-528 reverting behavior. Original fix caused problems with the TCK.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633075 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 12:54:56 +00:00
Michael Dick
a4600fbe98
OPENJPA-528 Handle foreignKey column names similarly to joins in PeristenceMetaDataDefaults.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632486 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 23:06:06 +00:00
Patrick Linskey
9ece24ade3
Better error message.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632412 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 19:16:27 +00:00
Patrick Linskey
66d6230a41
Additional test case for enums in queries
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@632404 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 18:41:16 +00:00
Patrick Linskey
e097063b0a
Trivial whitespace change.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631329 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 18:40:13 +00:00
Albert Lee
c3e2f01204
Fix TestVersion's "InvalidStateException: The context has been closed." problem: em1 and em2 are using the same em from currentEntityManager(). This test is very similar to (if not the same as) *.persistence.jdbc.annotation.TestVersion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630516 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 19:38:00 +00:00
Patrick Linskey
699f043cd2
Lazy many-to-one tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@630340 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 22:40:08 +00:00
Kevin W. Sutter
4c70963f1a
OPENJPA-513. Temporarily exclude the "no xsd" test until we get a workaround figured out. I haven't figured out an easy way and I need to make progress with the IBM JDK...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629990 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 21:03:10 +00:00
Patrick Linskey
a7648a78c5
Enable more new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628840 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 18:25:55 +00:00
Patrick Linskey
de8a4760c8
Enable some of the new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628375 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 19:30:20 +00:00
Patrick Linskey
7d44e7a355
Enable some of the new tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628233 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 03:06:37 +00:00
Patrick Linskey
4ab1384b43
Fixed test case dependency on Sun's VM
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628177 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 21:48:03 +00:00
Patrick Linskey
699f06e06c
removed unintentionally-added temporary file
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628111 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:41:24 +00:00
Patrick Linskey
1b74811ed9
removed unintentionally-added tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628109 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 16:38:22 +00:00
Patrick Linskey
d2f5b73e91
previous exclude was overly comprehensive
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627980 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 09:25:57 +00:00
Patrick Linskey
325aa77bc1
New test cases, currently disabled.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627979 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 09:19:55 +00:00
David Ezzio
07d26ee05a
Generated values for non-ID fields have interacted poorly with post persist call backs prior to r617525. This test ensures no regression to the buggy behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627516 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 16:35:08 +00:00
Kevin W. Sutter
8de471e541
OPENJPA-513. Three of the four test failures with the IBM JDK were due to a malformed listener-orm.xml file. XML elements were out of order and there were a couple of syntax errors.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@620200 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 20:53:49 +00:00
Michael Dick
94f233f0d8
OPENJPA-374
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619770 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 05:18:44 +00:00
Michael Dick
99bf6d14f8
OPENJPA-512
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619723 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 01:15:44 +00:00
David Ezzio
321ede95ee
Test conversion of svn:eol-style from as-is to native. One file in DOS line endings and one file in Unix line endings. Neither file changed on client, only their svn:eol-style property has been changed by this update.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619411 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 13:47:48 +00:00
David Ezzio
2a3ee08d92
Corrected (I hope) the DOS line endings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619009 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 15:02:40 +00:00
David Ezzio
754eb8d60c
Allow EntityManagerFactory objects to be serialized and deserialized successfully.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618844 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 00:51:34 +00:00
Patrick Linskey
3f439edc57
OPENJPA-506. Fixed behaviors for global listeners to get TCK working on trunk again. It turns out that global listeners and per-instance listeners are bound into the OpenJPA event framework differently.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618821 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 23:26:33 +00:00
Pinaki Poddar
024faa31d7
OPENJPA-509 Fix & Test for insertion of MappedSuperClass-Entity-Embedded domain model insertion failure.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618794 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:53:39 +00:00
David Ezzio
c767561f9d
Added property to permit passing in debugging settings during Maven test run.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618791 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:52:59 +00:00
David Ezzio
b74fc31881
Prevent deadlock in database during teardown when testing failures leave transactions open
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618787 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:49:11 +00:00
David Ezzio
ebe3fdbd6d
Improved the robustness of these test cases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618786 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:46:09 +00:00
Patrick Linskey
18c90bbd0b
OPENJPA-508 Merge from ../branches/1.0.x. svn merge -c 617760 ../branches/1.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617763 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 06:42:20 +00:00
David Ezzio
8ba8ffffc4
Fixed line lengths
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617580 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 17:57:45 +00:00
David Ezzio
4d336b2a2c
Rolledback change to AbstractBrokerFactory pending resolution of issues arising from r616972. Modified TestSerializedFactory to expect failure: it expects created EntityManagerFactory objects to be instances of Serialization, but to not be useful after serialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617577 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 17:53:48 +00:00
Patrick Linskey
a747db9443
OPENJPA-506. svn merge -c 617334 ../branches/1.0.x; svn merge -c 617363 ../branches/1.0.x, plus modifications for serialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617525 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 15:46:51 +00:00
Patrick Linskey
64d0ea8166
OPENJPA-135, OPENJPA-420 Merge from ../branches/1.0.x. svn merge -c 617164
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617200 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:41:46 +00:00
Patrick Linskey
171dc5d46a
OPENJPA-258 Merge from ../branches/1.0.x. svn merge -c 617073
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617199 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:40:34 +00:00
Patrick Linskey
62c8c548d9
OPENJPA-258 Merge from ../branches/1.0.x. svn merge -c 617039
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617198 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:39:25 +00:00
David Ezzio
d24bec6ed6
Allow EntityManagerFactory objects to be serialized and deserialized successfully.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616972 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 00:59:02 +00:00
Patrick Linskey
d4454e5a1f
OPENJPA-503
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614936 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 17:41:44 +00:00
Patrick Linskey
5a1faec471
OPENJPA-502
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614812 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 07:33:32 +00:00
Patrick Linskey
6a29ebffe4
OPENJPA-503
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 06:56:14 +00:00
Patrick Linskey
13dd4f2252
Improve error message when checking metadata access types; correct recursive method to always include superclass information.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 18:15:09 +00:00
Michael Dick
4d9a6759db
OPENJPA-245
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614563 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 15:16:01 +00:00
Patrick Linskey
206f0f04e1
OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492. Reduce logging in test case; use onlyChild() to validate tree structure.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612348 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 04:35:26 +00:00
Patrick Linskey
3d3cb67c5a
OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492. Adding omitted license headers.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612347 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 04:18:19 +00:00
Patrick Linskey
8c4cf9511e
OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612345 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 03:49:23 +00:00
Patrick Linskey
72f7d7ce43
OPENJPA-147: added license headers
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610999 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 00:28:55 +00:00
Patrick Linskey
d4a2929a57
OPENJPA-147 -- managed interface support. Also includes failure test case for OPENJPA-481.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610924 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 20:44:35 +00:00
Patrick Linskey
07c046a077
Oops; earlier refactoring was not complete.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609825 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 01:03:43 +00:00
Craig Russell
69ee1ce7f0
OPENJPA-331 fix notices
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@607478 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 22:07:29 +00:00
Patrick Linskey
ab88266f2a
OPENJPA-470. Added test case for custom sequence implementations, and updated docs with the current parentheses limitation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@605679 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 20:19:49 +00:00
Patrick Linskey
008b249c24
OPENJPA-331. Checking in on behalf of Miroslav Nachev. Includes minor whitespace reformatting and @since tags for new source classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604621 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 12:30:15 +00:00
Michael Dick
45eb530812
OPENJPA-456 committing patch provided by Teresa Kan
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603633 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 14:59:12 +00:00
Patrick Linskey
265be5d1bd
Tweak test case to report original error instead of cleanup error in the case where a test case failed and put things in a state that prevents cleanup from succeeding.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603119 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 02:15:28 +00:00
Pinaki Poddar
c00f3b5b78
OPENJPA-462: Adding a Test case to verify correct exception type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603032 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:16:11 +00:00
Michael Dick
e503930afa
OPENJPA-456 committing patch provided by Teresa Kan
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@601379 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 15:57:23 +00:00
Michael Dick
860a260fe2
OPENJPA-454
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@599547 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 19:14:08 +00:00
Patrick Linskey
5018dfaa88
OPENJPA-126: EntityManager serializability. Also includes a fix to make LoadListener.afterRefresh() work. Committing directly (not via remote queue) as I'm about to lose my internet connection for a while. Hopefully, my local testing is accurate.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597155 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:40:54 +00:00
Patrick Linskey
fad6f35201
Removing the XML types from the default test runs to reduce complexity of unit test executions and to speed up overall test execution time.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597041 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 11:42:01 +00:00
Patrick Linskey
21ec161339
Example of how to do dynamic class registration in OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596958 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 06:34:00 +00:00
Patrick Linskey
4fb39b9590
Example of how to do dynamic class registration in OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596954 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 06:25:29 +00:00
Patrick Linskey
aa5259d521
OPENJPA-446: preemptively adding ASL license header on the assumption that the contributor will allow us to license these files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596795 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 19:37:02 +00:00
Michael Dick
e1dccc1872
OPENJPA-446
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596731 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 16:17:57 +00:00
Patrick Linskey
4c2efed65b
OPENJPA-447 -- improved test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596661 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 13:46:03 +00:00
Patrick Linskey
0346483ada
Trivial whitespace change to test build-triggering filters
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595916 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 07:01:40 +00:00
Patrick Linskey
da9c4ba721
Removing disabled test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595915 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 06:49:40 +00:00
Patrick Linskey
f875a5e98b
OPENJPA-200
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595912 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 06:38:33 +00:00
Patrick Linskey
74683912e3
New test case for enums and JPQL (including some disabled failing tests related to OPENJPA-200); simplification to JDBCStoreManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595910 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 05:28:58 +00:00
Patrick Linskey
6f44b55736
OPENJPA-316
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595512 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 01:19:14 +00:00
Patrick Linskey
0071f7b0d8
OPENJPA-316
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595510 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 01:09:26 +00:00
Patrick Linskey
634bdc5c92
OPENJPA-9
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595508 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 00:51:07 +00:00
Patrick Linskey
2895819d40
OPENJPA-417. Removed obsolete test support class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592964 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 00:09:55 +00:00
Patrick Linskey
17a93adda5
OPENJPA-417. Added support for containers of primitives, embeddeds, externalizables, etc.
...
This does not include test cases for the following annotations:
KeyClassCriteria
KeyColumns (KeyColumn is tested, and follows similar pathways)
KeyEmbeddedMapping
KeyJoinColumns (KeyJoinColumn is tested, and follows similar pathways)
KeyStrategy
ElementColumns (ElementColumn is tested, and follows similar pathways)
ElementEmbeddedMapping
ElementStrategy
XEmbeddedMapping
XMappingOverrides (XMappingOverride is tested, and follows similar pathways)
This change presents a backward-compat issue for OpenJPA: in the past, a Collection<String> or Map<String,String> would be mapped as a BLOB by specifying @PersistentMap or @PersistentCollection on the field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592917 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 21:46:09 +00:00
Patrick Linskey
a710a30b54
Additional test cases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592557 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 21:26:40 +00:00
Patrick Linskey
af4ea13a2c
OPENJPA-430 -- strip hungarian notation prefixes. Checking in patch for Ben Short, along with minor whitespace reformatting and a small tweak to reduce computation if branch logic in correctName() will not use the calculated name.
...
The initial patch included a test for fields that would end up having duplicate names after truncation. The code, however, does not do anything to resolve / avoid duplicates. To make it work, we would need to change MappingDefaultsImpl.correctName() to take a ValueMapping as an argument, and do a two-pass algorithm to check for other fields that would turn into duplicates. Even doing this will not be foolproof, as a duplicate column might come from a subclass or an embedded class. Since this option is not enabled by default anyways, and the duplicate error would become evident during testing / schema creation, I do not believe that it would be worthwhile to spend much time addressing this.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592319 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 07:36:55 +00:00
Kevin W. Sutter
e5556e0fe5
OPENJPA-370. Backing out the changes for the LoadFetchGroup implementation. We need to re-think the implementation (both the real and the expected). I left the test Entities in SVN, but removed the testcase so that we wouldn't fail the builds.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@591176 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 00:36:54 +00:00
Pinaki Poddar
18cc4b932f
Added to count SQL issued. Current sql list size is not used so that user can reset the counter without destroying the list of SQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@591135 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 19:36:55 +00:00
Patrick Linskey
830cc35014
Additional test cases for JPA annotations; commented-out test for OPENJPA-425.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590529 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 01:27:23 +00:00
Patrick Linskey
c3ba59f3e7
removed accidentally-added test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590485 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 21:54:31 +00:00
Patrick Linskey
9776c5bdfe
Fixed test case that depended on new error message.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590484 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 21:52:47 +00:00
Patrick Linskey
98ef3d9063
OPENJPA-407. Assorted performance improvements found while working on this issue. This change does not include any SQL caching work.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590150 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:56:47 +00:00
Patrick Linskey
e487d35da6
OPENJPA-419
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@588533 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 05:39:48 +00:00
Michael Dick
9e5cc06fcb
OPENJPA-416
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587943 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 18:09:01 +00:00
Michael Dick
cb2a061dc7
OPENJPA-113 with testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587775 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 04:17:59 +00:00
Marc Prud'hommeaux
61c789dbaf
OPENJPA-322 reverted change #567170 to restore previous behavior of TimeZones in Calendar fields; added test case to confirm that the Calendar fields behave as expected
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@586649 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 00:49:37 +00:00
Patrick Linskey
c4f8a37d91
OPENJPA-404
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@586284 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 07:02:22 +00:00
Patrick Linskey
09c894a368
OPENJPA-403. Assuming that ignoring the new code is sufficient in cases where the fetch configuration is unavailable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 23:21:30 +00:00
Patrick Linskey
7eabf992bb
removed empty file. In addition to being empty, this was causing rat to fail.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584891 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:16:41 +00:00
Michael Dick
2d6fbb5d13
OPENJPA-399 Committing Teresa's patch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584354 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 00:51:54 +00:00
Michael Dick
151cf2d034
OPENJPA-399 committing Teresa's patch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584330 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 23:42:34 +00:00
Patrick Linskey
22e5530d0c
OPENJPA-392
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581933 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 14:44:37 +00:00
Marc Prud'hommeaux
abff87ef35
OPENJPA345 The last patch had the side effect that the artifact zip doesn't contain most of the required dependency jars (e.g., commons-lang), since the transitive dependencies are not followed to pick up these jars. Resolved this by explicitly listing the required jars in the openjpa-all dependencies. Also moved most of the dependency version numbers into the parent pom.xml dependencyManagement section to ensure that all dependency versions are the same.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581536 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 09:10:54 +00:00
Kevin W. Sutter
60062e27a2
OPENJPA-370. Committing Teresa's patch with a few minor updates (per my JIRA Issue remarks).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581039 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 19:08:19 +00:00
Patrick Linskey
bb527a1e88
OPENJPA-369. Committing Albert's 1.5-supporting changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580451 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 18:23:48 +00:00
Michael Dick
12840cafbf
OPENJPA-382
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578867 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 16:14:12 +00:00
Michael Dick
89b030c3d1
OPENJPA-380
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:38:31 +00:00
Kevin W. Sutter
7524219f6a
OPENJPA-369. Committed Albert's changes for the Java 2 Security updates for the Solaris platform.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577029 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 19:44:06 +00:00
Patrick Linskey
809cb37003
OPENJPA-335. 'svn merge -c 575492 ../branches/1.0.x'
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575495 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 23:24:12 +00:00
Kevin W. Sutter
efc6e371b7
OPENJPA-360. Remove code dependencies on DB2 libraries from unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575008 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 16:45:59 +00:00
Catalina Wei
a4bf964c08
OPENJPA-360 SQL FOR UPDATE OF incorrectly generated for DB2 UDB version8.1 or earlier and DB2 ISeries V5R3 or earlier.
...
These DB2 version also require the "optimize for <n> row" clause appear before FOR UPDATE clause.
Due to this requirement, the OPTIMIZE clause will appear before FOR UPDATE clause for all DB2 versions.
Also fixed the affected testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574464 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:32:37 +00:00
Patrick Linskey
d022b18ad5
OPENJPA-130. Committing Ignacio's patch, with a few whitespace and method name tweaks.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574143 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 06:11:29 +00:00
Michael Dick
caa4b76fe2
OPENJPA-353
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573398 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:16:10 +00:00
Patrick Linskey
a3b0778071
Improve error messages when processing metadata / JPQL queries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@572492 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 02:05:15 +00:00
Kevin W. Sutter
5affd1274f
OPENJPA-347. This change brings the performance back to the expected levels. I have also updated the "BidiSQL" testcase to ensure that regressions like this get caught during normal testing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571461 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 13:42:29 +00:00
Pinaki Poddar
44db5768cd
Allow dynamic configuration property. Changes include
...
1. Add getter/setter for boolean 'dynamic' field of Value
2. Add Value.assertChangeable() that Value subclasses must invoke prior to set
new internal state
3. Changes Configuration readOnly state from a boolean to a simple 3-step state
variable INIT_STATE_LIQUID/FREEZING/FROZEN. This is done to allow lazy
instantiation of some PluginValues after the BrokerFactory freezes configuration.
4. Removes assertNotReadOnly() check from Configuration implementations' setX()
methods.
5. Removes dynamic Value related methods from Configuration API and its
implementations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571294 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:19:44 +00:00
Patrick Linskey
3a78ec68ac
updated site index with some links and more content; changed pom definitions to put docs into the uploaded builds
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571259 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 18:01:10 +00:00
Patrick Linskey
cbe8908430
OPENJPA-344. Moved temporary files into the target dir.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571210 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 15:33:13 +00:00
Patrick Linskey
e89b51c4c6
OPENJPA-344. Enable serialization of metadata and query compilation caches. This implementation requires that the user run a tool to build the cache, and set a configuration property to tell OpenJPA where the serialized data is stored.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570948 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 22:07:44 +00:00
Marc Prud'hommeaux
614c53df58
Merging changes from 1.0.x branch into trunk (from branch point 567935:HEAD)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570908 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 19:37:59 +00:00
Marc Prud'hommeaux
c70bee2898
Changed trunk version to be 1.1.0-SNAPSHOT (was 1.0.0-SNAPSHOT)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570465 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 16:03:23 +00:00
Patrick Linskey
99029c0bda
Make derived setUp() methods public so that they will get invoked by junit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570279 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:32:06 +00:00
Patrick Linskey
99730c3a5a
Make SingleEMFTetsCase.setUp() public so that it'll get invoked by junit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570278 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:30:13 +00:00
Michael Dick
92d78bc296
Pass along openjpa.loglevel to enhancer and remove hard coded trace spec from a testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@569713 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 17:56:59 +00:00
Michael Dick
ee05926f19
Setting heap size for tests in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@568622 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 14:21:42 +00:00
Michael Dick
071a9abbbb
OPENJPA-326 Initialize discType
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@568403 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 04:01:07 +00:00
Patrick Linskey
56f6b43790
OPENJPA-317. Some more API Javadoc cleanup, plus a bit of last-minute renaming and method visibility changes for clarity.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567986 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 07:03:48 +00:00
Patrick Linskey
ebcec6e55b
OPENJPA-317. Moved away from requiring Type at the end of enums, in favor of alignment with existing OpenJPA config settings.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567900 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:37:39 +00:00
Patrick Linskey
e26e15496e
OPENJPA-317. Added ResultSetType and FetchDirection enums. Used FetchDirection instead of FetchDirectionType because FetchDirection seemed much more natural.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567893 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 01:09:20 +00:00
Patrick Linskey
ede9dcbd61
OPENJPA-293. More-eager failures.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567889 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 00:54:44 +00:00
Patrick Linskey
dda1e8ef6f
OPENJPA-293. Allow runtime redefinition to be disabled via a configuration setting. We really should sweep through the code and change ImplHelper to take a Configuration as an argument, but that won't change the behavior; it'll just make some of the validations more eager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567886 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 00:45:23 +00:00
Patrick Linskey
8dd6857f67
OPENJPA-314, OPENJPA-315
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567875 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 23:19:05 +00:00
Patrick Linskey
6de7e5f581
Imports cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567856 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:24:03 +00:00
Patrick Linskey
007154980b
OPENJPA-317. Removed comment; added exception to test case method definition for extensibility
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567851 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 22:08:40 +00:00
Patrick Linskey
778ab2a393
OPENJPA-317. Changed OpenJPA published API pre-1.0. Reduced the scope of the dependencies in OpenJPAEntityManager and the other published interfaces; converted JDK1.4-style symbolic constant usage to new enums; changed some method names for clarity and consistency; removed old javax.resource dependencies; updated @published and @nojavadoc tags. The published interfaces should now only reference other published interfaces in method signatures, and it should be possible to build javadoc for just the published interfaces.
...
Removed getDelegate() calls from the published interfaces, as they expose internals. They are still available on the impl classes themselves, or the SPI ifaces when available.
Added covariant return types to JDBCFetchPlan.
Changed BrokerFactoryListener interface to not encode event types in the listener signature.
Moved some methods from OpenJPAPersistence to JPAFacadeHelper.
We will need to grow these published interfaces to provide access to some things in the internal interfaces. However, these interfaces will remain stable moving forward within the constraints of the OpenJPA deprecation policies.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567838 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 21:32:54 +00:00
Michael Dick
6cd259f310
OPENJPA-143
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566788 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 17:59:57 +00:00
Pinaki Poddar
8d1dacad82
Adding support for change of configuration properties after the configuration has been frozen.
...
Three methods have been added to Configuration:
i) Configuration.getDynamicValues() returns list of Values that are dynamically modifiable.
ii) Configuration.isDynamic(String property) affirms if the named property is dynamically modifiable.
iii) Configuration.modifyDynamic(String property, Object value) modifies the named property value even when Configuration.isReadOnly().
Currently, OpenJPAConfigurationImpl.getDynamicValues() return 3 simple IntValue properties {dataCacheTimeout, fetchBatchSize, lockTimeout)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@566494 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 05:52:17 +00:00
Marc Prud'hommeaux
ecc36a0f37
Build system work in preparation for 1.0.0 release; fixed some missing license headers; added maven ARAT plugin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@565955 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 22:39:55 +00:00
Kevin W. Sutter
5c9642d5f4
OPENJPA-244. Committing Albert's changes for Java 2 Security (minus the white space).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@564408 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 22:27:17 +00:00
Patrick Linskey
63c3748900
OPENJPA-165
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563702 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 23:47:19 +00:00
Patrick Linskey
86e47000db
OPENJPA-86
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563697 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 23:12:56 +00:00
Patrick Linskey
d260d34d69
Oops; fixing NPE caused by previous short-circuiting.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563664 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 21:32:06 +00:00
Patrick Linskey
fa39addf82
Prevent this class from attempting to build its schema when using a database that doesn't support XML datatypes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@563661 13f79535-47bb-0310-9956-ffa450edef68
2007-08-07 21:16:55 +00:00
Kevin W. Sutter
9382677eb1
OPENJPA-272. Committing the changes to allow @GeneratedValue to detect and report if initial values and/or setters were called on fields marked with @GeneratedValue. New testcases were also provided.
...
Also had to update an existing testcase (TestSharedMappedSuperclassIdValue) and associated Entities because it was breaking the contract put in place.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562987 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:34:06 +00:00
Kevin W. Sutter
c34fb4e80e
OPENJPA-281. Committing the patch that I posted earlier this week. These changes do the proper eager loading of @Basic types. Along with a new testcase and updated AllFieldTypes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562986 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:30:08 +00:00
Kevin W. Sutter
890d16047e
Just a couple of new testcases that I used to debug some problems recently. Turned out to be non-issues, but I thought the testcases still might be worthwhile to have in our bucket.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562985 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:20:10 +00:00
Michael Dick
a8fc8dfa76
OPENJPA-295 improved testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562244 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 20:33:18 +00:00
Marc Prud'hommeaux
17ecf6753a
Fixed test case to first check to see if any CREATE TABLE statement was issued at all. If not, then the database might already have created the TemporalFieldTypes table, in which case the validation assertions of the temporal column types will fail.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@562206 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 17:58:37 +00:00
Michael Dick
a1d28857fa
OPENJPA-303 committing on behalf of Albert
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561405 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 17:32:01 +00:00
David J. Wisneski
7ca46cf69d
OPENJPA-240 XMLMapping Query - refactoring JAXB XML annotaion parser
...
Help Catalina committing OPENJPA-240.r560665.patch for refactoring JAXB XML annotation parser.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561376 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 16:19:24 +00:00
Patrick Linskey
0243702b35
OPENJPA-293. Fixed problem with transactional state maintenance that was preventing lifecycle tests from passing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560601 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 19:53:13 +00:00
Patrick Linskey
8c1710ed63
OPENJPA-297
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560304 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 16:26:52 +00:00
Patrick Linskey
747226b1d6
OPENJPA-293. All tests pass, but only because we don't currently test Java 5 + redefinition (only Java 5 + no redef). We need a new version of serp (1.13.1) to support that configuration; the new version has not yet made it into ibiblio.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@560016 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 22:08:37 +00:00
Patrick Linskey
3ddd88b576
Removed unneeded imports.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559521 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 16:49:44 +00:00
Patrick Linskey
dbf7ab273e
Simple test case for lifecycle listener support.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559515 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 16:30:59 +00:00
Patrick Linskey
b50530274b
Simple test case for in-memory remote commit provider.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559503 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 16:04:27 +00:00
Patrick Linskey
092729c11c
Test case for selecting enum values into a new managed instance.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@559353 13f79535-47bb-0310-9956-ffa450edef68
2007-07-25 08:32:38 +00:00
Michael Dick
19dc613dd0
Reset sequencetable for TestTableGenerator
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558815 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 18:03:04 +00:00
David J. Wisneski
a5ed9f701d
OPENJPA-240 XMLMapping Query support, fix eol delimiters to unix style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558221 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 01:25:48 +00:00
Patrick Linskey
e2556dd6b2
Test that @ContainerTable annotation is properly read.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558191 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 23:03:21 +00:00
Patrick Linskey
9ce0bed09d
Test that externalization of EnumSets works as expected.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558186 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 22:42:16 +00:00
Michael Dick
a5d1acd44e
OPENJPA-284 committing on behalf of Teresa
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558097 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 19:17:19 +00:00
Michael Dick
1c9f0ae0ae
OPENJPA-287
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557768 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 20:55:30 +00:00
David J. Wisneski
462cf31ed5
OPENJPA-240 XMLMapping Query testcase - fix identation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557444 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 01:32:03 +00:00
David J. Wisneski
b761732fdf
OPENJPA-240 XMLMapping Query testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557442 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 01:07:53 +00:00
Craig Russell
b8bb8404a9
OPENJPA-235 break-nullable-patch contributed by Markus Fuchs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557089 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:56:45 +00:00
Patrick Linskey
4b6b578f2b
OPENJPA_283. Committing Ignacio Andreu's patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555694 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 16:52:22 +00:00
Patrick Linskey
3408ef1e0c
New test case. It works already, so this is mostly just additional coverage.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555389 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 20:36:55 +00:00
Patrick Linskey
774e7b5b8c
OPENJPA-274, OPENJPA-275. Improved our bulk update support to automatically increment version counters as necessary if an UPDATE query does not maintain the version fields itself. Also fixed a bug with all queries involving version fields by changing FieldMappings representing version fields to return their owning ClassMapping's Version's columns from a getColumns() call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553912 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 14:49:52 +00:00
Patrick Linskey
e286a915d5
OPENJPA-278
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553629 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 20:51:01 +00:00
Marc Prud'hommeaux
8b5a7f68a0
OPENJPA-244 Fixed some formatting inconsistencies with the patch for OPENJPA-244
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553010 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 22:42:39 +00:00
Michael Dick
0c517d163e
OPENJPA-244 committing on behalf of Albert
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552996 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 21:55:29 +00:00
Patrick Linskey
1bded00298
OPENJPA-199. Passed all local tests; I have not run against the CTS though. It *should* work against the CTS, as it was a bug on our side, and not the spec's side.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552363 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 21:13:16 +00:00
Marc Prud'hommeaux
85b2e766ca
OPENJPA-239 Patch to support the generation of annotation mappings using the reverse mapping tool
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552358 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 19:37:04 +00:00
Patrick Linskey
5c4a8c7e73
OPENJPA-70. Added new RemoteCommitEvent payload type and logic to fire RemoteCommitEvents when stale records are detected. This logic still gets fired via afterCommit(), even though these checks can happen either after a commit or a flush is issued. Additionally, these events are only fired against local listeners, so actually represent local analysis that is detecting remote events, rather than remote events themselves.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552059 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 23:08:41 +00:00
Patrick Linskey
1b9d1e2d12
OPENJPA-262. Added test case for lifecycle and tx registries in BrokerFactories. Also discovered that BEFORE_PERSIST listeners (and possibly a couple of others) were not being invoked; fixed-by-inspection and simplified the registration of types in the lifecycle event handler.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551885 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 13:18:26 +00:00
Patrick Linskey
f34e22efe4
Added setUp() so that extending types don't need to always create one.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551844 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 10:52:24 +00:00
Patrick Linskey
49445edc83
OPENJPA-267. Test case for some basic MethodQL behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551159 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 13:23:36 +00:00
Patrick Linskey
39f1071085
OPENJPA-262
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550185 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 09:16:57 +00:00
Marc Prud'hommeaux
bd51cad23f
Changed checking for javax.xml.bind.annotation.XmlType to use reflection instead of a hard-wired class name so we more gracefully handle cases where JAXB is not available.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549517 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 15:44:06 +00:00
David J. Wisneski
1921d6cc59
OPENJPA-240 fix JAXB dependency and move XMLValueHandler to openjpa-jdbc-5.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548860 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 21:53:55 +00:00
David J. Wisneski
8bf89a655a
OPENJPA-240, packaging/renaming/JAXB dependency cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548834 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:44:58 +00:00
Patrick Linskey
9f0a7ff545
OPENJPA-259. Applied Craig's patch (minus the ACK char; maybe Craig meant ^L instead?), and added a test case. The test uses dynamic JPQL, but the parser change should work for XML-based named queries also, and it seems fair to allow newlines in dynamic strings as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547872 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 06:54:12 +00:00
David J. Wisneski
e0e176ab83
OPENJPA-240 Feature:Persistent field mapping support for XML column type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547837 13f79535-47bb-0310-9956-ffa450edef68
2007-06-16 00:09:45 +00:00
David J. Wisneski
1a130afb05
OPENJPA-240 Feature:Persistent field mapping support for XML column type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547832 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:45:00 +00:00
Marc Prud'hommeaux
0091bcabe3
Added a 'java14.jar' property that can be used to specify the location of the JDK 1.4 runtime jar, against which we will compile the JDK 1.4-specific modules. This can be used to ensure that JDK 1.5-specific methods and classes don't slip into the JDK 1.4 modules.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546768 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 07:50:11 +00:00
Patrick Linskey
aa3353d34d
Reece's test case from OPENJPA-235. I was a bit nervous about the changes to EntityB and EntityC's relationships, but all the existing OpenJPA tests pass, so evidently we did not rely on the particular settings as they were.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@545360 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 01:18:40 +00:00
Patrick Linskey
aea920d171
Improve documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@545345 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 23:23:35 +00:00
Kevin W. Sutter
1ef670d2f6
I'm pretty sure the rollback() test method should be calling rollback() instead of commit()... :-) I found this while attempting some other tests, so I figured I would clean this up before somebody else stumbles across it.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@543503 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 15:24:32 +00:00
Kevin W. Sutter
c634dcb4d8
OPENJPA-248. Modified parseForeignKey to set the appropriate cascade update action.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@543265 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 21:24:46 +00:00
Marc Prud'hommeaux
3599a48964
Moving version to 1.0.0-SNAPSHOT as a result of mailing list vote
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@541929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:18:37 +00:00
Marc Prud'hommeaux
0e19b714ac
Changed version from 0.9.8-incubating-SNAPSHOT to 0.9.8-SNAPSHOT to reflect move from incubation to TLP
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540829 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:36:05 +00:00
Marc Prud'hommeaux
f98ecf4d22
OPENJPA-235 Reverted patch since it was causing TCK failur
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@539630 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 23:31:55 +00:00
David J. Wisneski
9eaec94118
OpenJPA 168 testcase
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@537213 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 15:44:13 +00:00
Michael Dick
59bd5b0d3f
OPENJPA-51 removing testcases
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536706 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 23:05:16 +00:00
Marc Prud'hommeaux
a92785fea6
OPENJPA-194 Changed openjpa-all-VERSION.jar to be just openjpa-VERSION.jar, and changes openjpa-project-VERSION.zip to be apache-openjpa-VERSION.zip
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:54 +00:00
Patrick Linskey
80671afcbf
OPENJPA-235. Reformatted code to meet OpenJPA conventions; widened some type arguments that seemed unnecessarily narrow.
...
This passes all the OpenJPA tests in my environment, and the logic seems sound. I think that we could adjust the algorithm to require less collection copying, but I don't think that we should hold up the commit for that type of optimization.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535379 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 20:58:49 +00:00
Patrick Linskey
2f07532f22
added clarifying comment to persistence.xml
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535359 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 19:22:50 +00:00
David J. Wisneski
d7d400b818
fix build break, class list is removed.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535041 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 00:39:55 +00:00
David J. Wisneski
bcc3b67223
add query test for OPENJPA-51, queries with subselects with correlated/non-correlated aliases
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535003 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 22:49:49 +00:00