Michael Dick
|
928aa703cb
|
OPENJPA-2027: Use SingularAttribute for unannotated arrays. ListAttribute for @PersistentCollections
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143519 13f79535-47bb-0310-9956-ffa450edef68
|
2011-07-06 18:17:36 +00:00 |
Milosz Tylenda
|
8a85ffb402
|
OPENJPA-487: Simplify generated SQL for SUBSTRING and LOCATE JPQL functions by switching from JDO style to JPA style in expressions. SUBSTRING parameters are still inlined to support grouping by SUBSTRING.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1142426 13f79535-47bb-0310-9956-ffa450edef68
|
2011-07-03 12:32:03 +00:00 |
Pinaki Poddar
|
31c0249e14
|
OPENJPA-2017: Adding DEATCH.NONE option. Retry commit after local test run
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141556 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-30 14:54:31 +00:00 |
Michael Dick
|
3a2d50e011
|
OPENJPA-1768: Check whether the broker is already loading before recursively loading an entity from datacache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1140315 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-27 20:59:01 +00:00 |
Richard G. Curtis
|
053d81db95
|
OPENJPA-1803: Add support for obtaining a connection via EntityManager.unwrap. Patch contributed by Sebastian Laskawiec.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1138059 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-21 15:46:46 +00:00 |
Michael Dick
|
f0fbbaa26a
|
OPENJPA-2017: Changes cause test failures in openjpa-lib. Reverting for now.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137645 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-20 14:54:58 +00:00 |
Pinaki Poddar
|
db960fbeae
|
OPENJPA-2017: Introduce AutoDetach.NONE option to improve batch insert operation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135857 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-14 23:51:18 +00:00 |
Michael Dick
|
a7778ff6a9
|
Use clear tables with TestOrderColumn
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135600 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-14 14:24:41 +00:00 |
Michael Dick
|
be88506438
|
Add order by clause for TestOrderColumn which was failing on Sybase. Also cleaned up asserts and removed DROP_TABLES
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135273 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-13 20:50:24 +00:00 |
Richard G. Curtis
|
cc3c3eb055
|
OPENJPA-2014: Allow proxies to stay in place when using LiteAutoDetach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134726 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-11 19:00:01 +00:00 |
Heath Thomann
|
cabf34a6fd
|
OPENJPA-1999: Optional support for non-sequential positional parameters - used Rick's provided patch for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134128 13f79535-47bb-0310-9956-ffa450edef68
|
2011-06-09 23:16:09 +00:00 |
Jeremy Bauer
|
b6f39e246d
|
OPENJPA-2007 Replace mistakenly removed assertion
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1128008 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-26 17:57:27 +00:00 |
Jeremy Bauer
|
50bfa5d261
|
OPENJPA-2007 jUnit for fetch plan isolation query hint validation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1128005 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-26 17:52:23 +00:00 |
Jeremy Bauer
|
7b0d1140ac
|
OPENJPA-2007 Updated supported hint set to include correct name for fetch plan level isolation hint.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127690 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-25 21:26:26 +00:00 |
Jeremy Bauer
|
81c46c503f
|
OPENJPA-2006 If flushing, also pre-flush non-provisional entities to allow sequence ID population.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127573 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-25 16:11:47 +00:00 |
Richard G. Curtis
|
862e818e50
|
OPENJPA-1989: Flip FeildMetaData.DefaultFetchGroupExplicit flag when parsing ToOne xml relationships.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101951 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-11 16:19:04 +00:00 |
Michael Dick
|
1148ba809d
|
OPENJPA-1995: detect mixed parameter types in JPQL query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101289 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-10 02:42:30 +00:00 |
Michael Dick
|
26aa776627
|
OPENJPA-1992: Throw exception if a JPQL query is missing the first positional parameter
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100787 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-08 18:39:07 +00:00 |
Michael Dick
|
c00af8d5e8
|
Remove @AllowFailure in passing testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1099900 13f79535-47bb-0310-9956-ffa450edef68
|
2011-05-05 18:02:18 +00:00 |
Richard G. Curtis
|
fb91730361
|
Fix test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097536 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-28 16:30:11 +00:00 |
Richard G. Curtis
|
d450910b0a
|
OPENJPA-1989: Fix *ToOne xml fetch attribute to honor LAZY.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097517 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-28 16:00:58 +00:00 |
Richard G. Curtis
|
1b8ce008b2
|
OPENJPA-1986: Avoid querying the db when cascading a persist to a new instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097209 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-27 19:16:36 +00:00 |
Michael Dick
|
76552a11fd
|
remove casts for broker factory aliases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096876 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-26 19:54:27 +00:00 |
Richard G. Curtis
|
045818b05d
|
OPENJPA-1983: Change test Entities to work on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1095805 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-21 20:21:35 +00:00 |
Richard G. Curtis
|
354eb3078e
|
OPENJPA-1983: Don't cascade to an unloaded field when merge is called on a managed Entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1095401 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-20 13:27:56 +00:00 |
Richard G. Curtis
|
2d232cf4c0
|
OPENJPA-1974: Fix StackOverflow in SelectImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1089124 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-05 16:35:56 +00:00 |
Jeremy Bauer
|
e6b590d73d
|
OPENJPA-1966 Updated attach strategies to query attach cache before going to the broker for entity references. Prevents merging in a detached entity that is being used for field attachment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087054 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-30 19:32:41 +00:00 |
Richard G. Curtis
|
7eb317e488
|
OPENJPA-1928: Fix @Factory method resolution when name is ambiguous. Patch contributed by Edward Sargisson.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084280 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-22 18:23:28 +00:00 |
Richard G. Curtis
|
2cfb4f6232
|
OPENJPA-1944: Properly handle a null version field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084265 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-22 17:41:58 +00:00 |
Milosz Tylenda
|
621c52065e
|
OPENJPA-1376: Add a test for new allocationSize behavior, make test take advantage of setTestsDisabled method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1081067 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-13 09:54:15 +00:00 |
Michael Dick
|
2dbbe70692
|
OPENJPA-1957: treat non element collection like normal serializable types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1079978 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-09 20:32:59 +00:00 |
Michael Dick
|
1cfbf9d171
|
increase retries and sleep time for intermittently failing testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1077978 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-04 14:48:39 +00:00 |
Michael Dick
|
e6421a4118
|
OPENJPA-1954: add license header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1076388 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-02 21:20:11 +00:00 |
Richard G. Curtis
|
887f8977ed
|
OPENJPA-1954: Fix ArrayIndexOutOfBoundsException when querying on a version field that is in a MappedSuperclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1076370 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-02 20:57:03 +00:00 |
Michael Dick
|
c54b8ca823
|
OPENJPA-1944: Version defaults to 1 if the column returns null from the database
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073201 13f79535-47bb-0310-9956-ffa450edef68
|
2011-02-22 02:06:11 +00:00 |
Michael Dick
|
b44614d94b
|
OPENJPA-1939: Increase index length for DB2 and testcase workaround for OPENJPA-1948
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073042 13f79535-47bb-0310-9956-ffa450edef68
|
2011-02-21 16:06:05 +00:00 |
Milosz Tylenda
|
5498030392
|
OPENJPA-1935: Add missing jdbc.DBDictionary property to test-ids-informix profile.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072295 13f79535-47bb-0310-9956-ffa450edef68
|
2011-02-19 10:16:49 +00:00 |
Albert Lee
|
0c37fc6e57
|
OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072061 13f79535-47bb-0310-9956-ffa450edef68
|
2011-02-18 16:59:16 +00:00 |
Michael Dick
|
a048ba1faa
|
clean deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071443 13f79535-47bb-0310-9956-ffa450edef68
|
2011-02-16 23:35:40 +00:00 |
Michael Dick
|
891ccc625c
|
OPENJPA-1912: Generate externalizable methods correctly for super and subclasses.
Submitted By: Mark Struberg
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071123 13f79535-47bb-0310-9956-ffa450edef68
|
2011-02-16 02:12:28 +00:00 |
Jeremy Bauer
|
d1ec54c691
|
OPENJPA-1935 Updated Informix dictionary to examine nested SQL exceptions when determining whether a generic exception is a lock exception. Added Informix JDBC profile to jdbc and locking poms.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068472 13f79535-47bb-0310-9956-ffa450edef68
|
2011-02-08 16:42:22 +00:00 |
Richard G. Curtis
|
cc1dcd9a4c
|
OPENJPA-1847: Fix NPE in SchemaGenerator and formatting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063827 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-26 18:54:54 +00:00 |
Milosz Tylenda
|
987513f7ac
|
OPENJPA-1876: Tests speed-up - do not shut Derby down at the end of each test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1062964 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-24 20:43:57 +00:00 |
Pinaki Poddar
|
01c9608fe6
|
OPENJPA-1923: Remove restriction to enclose collection-valued query parameter in parentheses.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060113 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-17 22:26:36 +00:00 |
Pinaki Poddar
|
28a0c0da86
|
OPENJPA-1923: Remove restriction to enclose collection-valued query parameter in parentheses. The commit ran tests locally and partially as my TeamCity agent is broken.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060094 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-17 21:15:29 +00:00 |
Richard G. Curtis
|
04b1abb039
|
OPENJPA-1856: Make DataCache eviction due to bulk updates configurable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057315 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-10 19:03:21 +00:00 |
Michael Dick
|
7b97c4b91f
|
OPENJPA-1909: Enhancing proxy entities separately with the appropriate configuration.
Submitted By: Mark Struberg
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1056354 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-07 15:29:31 +00:00 |
Richard G. Curtis
|
933da55ce5
|
OPENJPA-1915: Add missing license headers from OPENJPA-1911.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1055078 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-04 15:20:53 +00:00 |
Fay Wang
|
c39cd993fa
|
OPENJPA-1911: fix merge problem for entities with derived id
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1054717 13f79535-47bb-0310-9956-ffa450edef68
|
2011-01-03 19:32:03 +00:00 |
Richard G. Curtis
|
caeb66ab25
|
OPENJPA-1896: Allow merging a StateManagerless Entity with a default primitive version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1052025 13f79535-47bb-0310-9956-ffa450edef68
|
2010-12-22 18:41:09 +00:00 |
Richard G. Curtis
|
b6024187ba
|
OPENJPA-1900: Fix ClassCastException when serializing a proxy for an Entity that exists in an active persistence context. Patch contributed by Mark Struberg.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1050168 13f79535-47bb-0310-9956-ffa450edef68
|
2010-12-16 21:26:39 +00:00 |
Michael Dick
|
1ac8dd4058
|
OPENNJPA-1906 adding warning when connection retain mode is used with container managed EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1045397 13f79535-47bb-0310-9956-ffa450edef68
|
2010-12-13 22:32:20 +00:00 |
Jody Grassel
|
3de119f57a
|
OPENJPA-1905: Validate jar-file pu element after confirming OpenJPA is chosen provider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1045296 13f79535-47bb-0310-9956-ffa450edef68
|
2010-12-13 18:54:57 +00:00 |
Michael Dick
|
315a47945c
|
OPENJPA-1884: setting svn eol style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1044031 13f79535-47bb-0310-9956-ffa450edef68
|
2010-12-09 16:53:06 +00:00 |
Jeremy Bauer
|
b56fcf3287
|
OPENJPA-1884 Updated entity manager impl to process cache store mode property provided on refresh method and updated data cache manager to refresh the L2 properly when a store mode is provided.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1042698 13f79535-47bb-0310-9956-ffa450edef68
|
2010-12-06 16:09:08 +00:00 |
Michael Dick
|
2cc69063aa
|
[maven-release-plugin] prepare release 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-30 15:30:48 +00:00 |
Fay Wang
|
4a5f766a0c
|
OPENJPA-1890: attach a test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040230 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-29 19:05:27 +00:00 |
Michael Dick
|
f4cbe39a60
|
allow setSecurityManager() to be called by testcases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040224 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-29 18:57:07 +00:00 |
Milosz Tylenda
|
685ddfecc6
|
OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - pagination and schema support.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039879 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-28 13:18:41 +00:00 |
Fay Wang
|
d12209163e
|
OPENJPA-1893: handle more than one join-column tag inside collection-table tag
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037899 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-22 21:47:18 +00:00 |
Richard G. Curtis
|
73cd301520
|
OPENJPA-1892: Fix NPE in DataCacheStoreManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036988 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-19 19:48:49 +00:00 |
Michael Dick
|
24e17363ef
|
Move jest tests to sandbox
A https://svn.apache.org/repos/asf/openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jest/jest
D https://svn.apache.org/repos/asf/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jest
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036721 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-19 02:55:45 +00:00 |
Pinaki Poddar
|
559c43468a
|
OPENJPA-1859: Add few encoding tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036673 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-18 23:06:23 +00:00 |
Richard G. Curtis
|
98ebca2fe7
|
OPENJPA-1886: Remove query parameters when tracing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1035834 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-16 22:12:18 +00:00 |
Richard G. Curtis
|
c960f725cb
|
OPENJPA-1882: Fix DataCacheStoreManager NPE.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033637 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-10 18:34:35 +00:00 |
Michael Dick
|
6d423c5b6b
|
OPENJPA-1874: handle Oracle XMLType columns with @Lob annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031648 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-05 15:57:26 +00:00 |
Fay Wang
|
ad98d444e1
|
OPENJPA-1810: make QueryKey distinguishable for CriteriaQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031244 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-04 21:03:23 +00:00 |
Michael Dick
|
a09a2b5856
|
OPENJPA-1870 OPENJPA-740: adding testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031240 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-04 20:58:09 +00:00 |
Donald Woods
|
33c8d872b4
|
another attempt to fix the intermitent datacache test failures as the persist() is taking 1.2 secs on some test machines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031116 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-04 18:10:00 +00:00 |
Donald Woods
|
829334021c
|
another attempt to fix the intermitent datacache test failures
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031090 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-04 17:28:31 +00:00 |
Dianne E. Richards
|
c6d23cdb08
|
OPENJPA-1862 Enable test to run correctly on DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030495 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-03 15:19:29 +00:00 |
Richard G. Curtis
|
a70b134576
|
OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030492 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-03 15:11:15 +00:00 |
Richard G. Curtis
|
2f6baf7119
|
OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030479 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-03 14:51:28 +00:00 |
Donald Woods
|
2ca9d9f30f
|
one more attempt to fix these failing testTimeouts1 failures on some machines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030215 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-02 21:02:21 +00:00 |
Richard G. Curtis
|
b24d729deb
|
OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for lib, persistence, and persistence-jdbc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030172 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-02 18:50:13 +00:00 |
Donald Woods
|
05d19a0672
|
exclude JEST tests for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030124 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-02 17:04:25 +00:00 |
Richard G. Curtis
|
d99b9ba034
|
OPENJPA-1867: Fix ClassCastException when loading from DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030056 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-02 14:19:30 +00:00 |
Albert Lee
|
ab326efe07
|
OPENJPA-1793 - New test case testEntityA_Embed_Single_Coll caused "ORA-01861: literal does not match format string" when run against Oracle due to default DATE column format differences. (See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements004.htm)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1029821 13f79535-47bb-0310-9956-ffa450edef68
|
2010-11-01 20:19:32 +00:00 |
Pinaki Poddar
|
d4416c192f
|
OPENJPA-1851: minor edit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028520 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-28 22:28:24 +00:00 |
Pinaki Poddar
|
c325e704eb
|
OPENJPA-1821: Defensive thread guard on reparametrization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028488 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-28 21:25:14 +00:00 |
Pinaki Poddar
|
54234f6102
|
OPENJPA-1845: Detect query using IN expression with parameters and exclude from query cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028393 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-28 17:18:09 +00:00 |
Pinaki Poddar
|
3598d38ffc
|
OPENJPA-1851: Add URI to JEST server. Change parameter separator to &
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028291 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-28 13:35:14 +00:00 |
Donald Woods
|
979384e10e
|
fixup license header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028166 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-28 01:49:57 +00:00 |
Pinaki Poddar
|
91d1eb914b
|
OPENJPA-1851: Few basic tests on JEST (RESTful remote access to OpenJPA runtime)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028146 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-28 00:36:36 +00:00 |
Fay Wang
|
c3c97f7cf3
|
OPENJPA-1857: fix the exception to be thrown by OpenJPA when wrong JoinColumn annotation is specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028095 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-27 20:55:00 +00:00 |
Richard G. Curtis
|
35b5f8fddc
|
Remove invalid <class> from TestConv persistence.xml to reduce test logging.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028081 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-27 19:53:19 +00:00 |
Donald Woods
|
9e09567ddc
|
skip remaining 2 failing queryTimeout tests for MSSQL2005
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028071 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-27 18:56:41 +00:00 |
Donald Woods
|
47d7b1d778
|
rollback having closeEMF() perform clear(emf) automatically
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028052 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-27 17:56:15 +00:00 |
Richard G. Curtis
|
7c377a9043
|
OPENJPA-1856: Executing bulk updates should evict from DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027983 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-27 14:47:44 +00:00 |
Donald Woods
|
582e91b867
|
OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027722 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 20:14:15 +00:00 |
Donald Woods
|
36d157b0ec
|
allow tearDown() to cleanup resources
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027698 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 19:30:39 +00:00 |
Donald Woods
|
89fbaf709f
|
some testcase cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027694 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 19:22:06 +00:00 |
Donald Woods
|
5538fd7bb3
|
testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027686 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 19:08:55 +00:00 |
Donald Woods
|
1058a69afb
|
test should call super.tearDown() for cleanup. also added @AllowFailure to surefire excluded tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027682 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 18:52:34 +00:00 |
Donald Woods
|
065f0e25dc
|
testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027675 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 18:33:59 +00:00 |
Donald Woods
|
d461ba7f5c
|
use common closeEMF() in testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027674 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 18:32:37 +00:00 |
Donald Woods
|
73cbad1a16
|
test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027673 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 18:28:38 +00:00 |
Donald Woods
|
d62d67fcd9
|
test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027671 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 18:27:13 +00:00 |
Donald Woods
|
226c4731c5
|
test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027670 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 18:25:42 +00:00 |
Donald Woods
|
8813afb4b4
|
tests need to cleanup EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027663 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 17:38:16 +00:00 |
Donald Woods
|
aa9f10cdc8
|
have test call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027660 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 17:26:26 +00:00 |
Donald Woods
|
53da8cce2c
|
test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027639 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 16:45:15 +00:00 |
Donald Woods
|
8510080d45
|
test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027638 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 16:40:30 +00:00 |
Donald Woods
|
ee682d82ab
|
make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027588 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 15:09:32 +00:00 |
Donald Woods
|
8556afe921
|
test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027583 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 14:51:23 +00:00 |
Albert Lee
|
48f47fc775
|
This test only applies to run with Oracle. This test also is not functional; disable until fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027207 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-25 17:55:45 +00:00 |
Albert Lee
|
206d17bfcf
|
OPENJPA-1415 change GenerateType from IDENTITY to AUTO to fix "ORA-01400: cannot insert NULL into ("SCOTT"."ENTITYD"."ENTITYD_ID")"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026448 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-22 18:52:03 +00:00 |
Richard G. Curtis
|
daac0ac086
|
OPENJPA-1844: Add DataCache JConsole plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026046 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-21 16:01:51 +00:00 |
Albert Lee
|
32e0ff48f8
|
OPENJPA-1849 - eliminate the unnecessary length definition since test uses default mapping from char to int and the length has no bearing to this test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1025814 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-21 03:01:03 +00:00 |
Donald Woods
|
de5e7cefe3
|
only cleanup after all tests are complete due to DB2 performance issues
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024422 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-19 21:25:57 +00:00 |
Donald Woods
|
0a7e318638
|
only cleanup after all tests are complete due to DB2 performance issues
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024419 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-19 21:25:27 +00:00 |
Fay Wang
|
75bbc90899
|
OPENJPA-1837: fix the MaxEmbeddedLobFieldStrategy when there is limitation of max lob size and when the field is in an embeddable which is contained in an element collection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024306 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-19 16:14:51 +00:00 |
Albert Lee
|
e1a9859689
|
OPENJPA-1842 - replace @GeneratedValue type from IDENTITY to AUTO.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024093 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-19 02:31:15 +00:00 |
Michael Dick
|
4e3f42e70e
|
OPENJPA-1841: Allow DBDictionary to override IS NULL / IS NOT NULL clause for specific column types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024039 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 22:07:41 +00:00 |
Albert Lee
|
a13842f7ea
|
OPENJPA-1842 - replace @GeneratedValue by simulate entity id auto generation so that test can run for all databases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024034 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 22:00:53 +00:00 |
Michael Dick
|
c9f56ed822
|
use DROP_TABLES in IndirectRecursion testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024018 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 21:40:17 +00:00 |
Michael Dick
|
578704a848
|
Ensure consistent order of SQL statements when populating the database in section 10_1_27 testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024016 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 21:39:26 +00:00 |
Donald Woods
|
2468de045c
|
help testcases cleanup EMs they created but didn't close
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024002 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 20:47:43 +00:00 |
Albert Lee
|
fdf58d63ba
|
OPENJPA-1837 - reset Oracle dictionary maxEmbedded*lobSize = -1 for jdbc driver (11.2.0.x) that can handle *lob size > 4000 characters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023925 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 17:48:30 +00:00 |
Catalina Wei
|
60e88f82fa
|
OPENJPA-1828: Query with expression IN (collection_valued_input_parameter) gives wrong result when executed the second time
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023914 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 17:30:48 +00:00 |
Albert Lee
|
3707cc8b6d
|
Disable SQL log by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023828 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 15:04:09 +00:00 |
Michael Dick
|
2e11a6a90b
|
OPENJPA-1835: add dummy as an invalid column name for Sybase and update testcase to use DBIdentifier to get column name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022960 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-15 15:00:30 +00:00 |
Albert Lee
|
0e9c5e52dd
|
OPENJPA-1764 Fix test cases where finally { closeEMF(emf1) } still required ConnectionDriverName be specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022812 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-15 02:36:56 +00:00 |
Donald Woods
|
c6582b9f2b
|
make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022700 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-14 20:48:16 +00:00 |
Donald Woods
|
8cafaf9f19
|
make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022699 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-14 20:42:33 +00:00 |
Donald Woods
|
db1ce09390
|
more testcase comments about what gets cleaned up and print err msg if an EM or EMF cannot be closed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022698 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-14 20:39:11 +00:00 |
Michael Dick
|
c479f35f68
|
Update testcases for execution with Sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022629 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-14 17:50:43 +00:00 |
Albert Lee
|
3040a2d467
|
OPENJPA-1764 Per agreement with Donald, change test case skip condition from || to &&.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022609 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-14 16:42:49 +00:00 |
Donald Woods
|
887a7815a8
|
update testcase comments to denote if EM/EMFs are automatically cleaned up and what parent class it extends.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022301 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 21:40:13 +00:00 |
Donald Woods
|
dbbb6bf815
|
make sure tests close EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022292 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 21:13:22 +00:00 |
Donald Woods
|
ede1ebe30f
|
OPENJPA-1792 Drop JDK5 support starting with OpenJPA 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022278 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 20:07:06 +00:00 |
Donald Woods
|
1a3d16a013
|
make sure tests close EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022228 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 18:35:46 +00:00 |
Donald Woods
|
71ae858f91
|
make sure tests close EMs and streams
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022222 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 18:15:04 +00:00 |
Donald Woods
|
ff900d98fe
|
make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022210 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 17:42:37 +00:00 |
Donald Woods
|
172ec292a7
|
make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022206 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 17:32:48 +00:00 |
Donald Woods
|
ebdc670298
|
migrate testcase from depricated PersistenceTestCase to AbstractPersistenceTestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022204 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 17:32:10 +00:00 |
Donald Woods
|
4f06ae4591
|
make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022198 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 17:20:30 +00:00 |
Donald Woods
|
9f1e9db866
|
make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022193 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 17:07:36 +00:00 |
Donald Woods
|
0f0f01d366
|
tests were not closing EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022181 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 16:39:41 +00:00 |
Donald Woods
|
d32b7da7db
|
update testcase to use AbstractPersistenceTestCase instead of depricated PersistenceTestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022178 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 16:37:20 +00:00 |
Donald Woods
|
660fa547d6
|
remove closeEM() as AbstractPersistenceTestCase now provides it
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022168 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 16:14:30 +00:00 |
Donald Woods
|
e175b242f9
|
testcase wasn't committing/closing some EMs, so use new closeEM() helper
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022163 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 16:06:49 +00:00 |
Donald Woods
|
54e64edaa2
|
add closeEM() helper which handles open transactions before closing the EM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022161 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 16:06:14 +00:00 |
Donald Woods
|
f3e45e5e54
|
additional error handling when clear(EMF) is called
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022157 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 15:56:51 +00:00 |
Donald Woods
|
0c239c2dc4
|
testcase wasn't committing transactions and closing EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022155 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 15:55:11 +00:00 |
Donald Woods
|
e807ca86b8
|
add note about how created EMFs are handled and add check for null EM before using it in endEm().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022142 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 15:30:24 +00:00 |
Donald Woods
|
a50e380d99
|
add note about how created EMFs are handled
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022130 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 15:10:52 +00:00 |
Donald Woods
|
dddd2a4cfe
|
add notes about EMF must be manually closed. also clear the EMF before closing it in when using helper method closeEMF().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022129 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 15:06:27 +00:00 |
Donald Woods
|
f7b4bcd67d
|
add note about EMF must be manually closed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022126 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 15:04:22 +00:00 |
Donald Woods
|
ed00b5cee0
|
make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021976 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-13 02:16:07 +00:00 |