Commit Graph

2839 Commits

Author SHA1 Message Date
Fay Wang e53378bd26 OPENJPA-1455: fix the way to get current schema per Milosz's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898118 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 23:43:38 +00:00
Richard G. Curtis 0efea474f2 OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Pinaki Poddar 5cef9cff17 reduce performance cost of isCacheable().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897308 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 19:40:10 +00:00
Donald Woods 3065f2febb OPENJPA-1452 Configurations attempts to modiy an umodifiable map. Add null checks back in to match 1.2/1.3 branches.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897284 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 18:23:07 +00:00
Donald Woods 6710465b7c OPENJPA-1452 Configurations attempts to modiy an umodifiable map. Patch contributed by JIRA uid baboune.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897269 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 17:23:24 +00:00
Fay Wang e303892e2a OPENJPA-1455: fix add column problem involving tables with same name in multiple schemas for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897056 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 23:42:31 +00:00
Donald Woods b90c4f0191 OPENJPA-1453 cleanup classpaths for jpa.classes and tsant
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896412 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 12:02:29 +00:00
Donald Woods bfd07edf3f update POMs to include ASF license header, remove tabs and update displayed descriptions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896085 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 15:12:29 +00:00
Donald Woods 5938ca72f0 OPENJPA-1453 Old 1.0b TCK does not create a reports dir
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896046 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 14:05:08 +00:00
Donald Woods 254e9362cd OPENJPA-1453 Old 1.0b TCK does not create a reports dir
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896033 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 13:26:00 +00:00
Donald Woods 8cf03bdab7 OPENJPA-1453 Fix setting javaagent
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895863 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 02:21:40 +00:00
Donald Woods c4fe0957ee OPENJPA-1453 Merge some of the tck2-profile updates into tck-profile and chnage the tsant macro in tck2-profile to not fail the build when errors occur
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895819 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 22:55:49 +00:00
Fay Wang 3320287392 OPENJPA-1020: fix class cast exception when retrieving eager persistent collection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895788 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 21:17:35 +00:00
Donald Woods f78ddef9c2 OPENJPA-1453 Updates to add javaagent and pass/fail counts for JPA2 runs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895783 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 21:10:09 +00:00
Donald Woods 02b5554036 OPENJPA-1453 Add support for testing with JPA 2.0 TCK
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895723 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 17:47:19 +00:00
Milosz Tylenda c6459391c8 OPENJPA-1248: Add limited support of LOB streaming on SQL Server; wording corrections.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895453 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 17:55:35 +00:00
Milosz Tylenda e5d2bd435f OPENJPA-1248: PostgreSQL needs truncating LOB content on update when new content is shorter than the existing content.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895408 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 15:10:42 +00:00
Milosz Tylenda 5b7c20eacb OPENJPA-1248: Test case refactored for easier control of LOB data creation, increased amount of LOB data to a more realistic value (but still under MySQL default BLOB limit - 64 kB).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895040 13f79535-47bb-0310-9956-ffa450edef68
2010-01-01 17:39:28 +00:00
Milosz Tylenda d33884a90a OPENJPA-1248: Add note on MySQL limitations related to LOB streaming, improve wording.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@894052 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 10:28:34 +00:00
Albert Lee 2274f9c21f Fix test cases adapting to Geronimo Persistence class single/multiple providers behaviors.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893878 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 19:12:35 +00:00
Catalina Wei 5607a959ab OPENJPA-1442 JPA2 java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
Fix testcase to avoid inserting duplicate keys.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893794 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 18:04:17 +00:00
Catalina Wei a0e001e40a OPENJPA-1442 JPA2 java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893642 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 22:33:57 +00:00
Pinaki Poddar 775c627b80 OPENJPA-1445: Support enums as External values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893504 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 13:07:33 +00:00
Pinaki Poddar fded22b2e0 OPENJPA-1445: Support enums as External values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893503 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 13:06:03 +00:00
Pinaki Poddar df5a403700 OPENJPA-1444: distinct query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893448 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:35:07 +00:00
Pinaki Poddar 29e919f2cc OPENJPA-1444: distinct query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893447 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:33:28 +00:00
Pinaki Poddar 3dee418d36 OPENJPA-1444: Use special result list for distinct query.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893420 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 07:57:31 +00:00
Kevin W. Sutter 91d46a8453 OPENJPA-1443. First couple of testcases that should get out of the "exclude" list (with a few minor updates).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893400 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 04:10:05 +00:00
Richard G. Curtis 781654af60 OPENJPA-1224: Backing out DB2 and Derby related changes to investigate in a seperate JIRA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 16:28:09 +00:00
Richard G. Curtis 35377aace9 OPENJPA-1441: Set pcVersionInit FieldMetaData to transient in PCEnhancer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893181 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 14:27:19 +00:00
Pinaki Poddar ac6dab1d07 OPENJPA-1440: Allow COUNT(*) syntax when DBDictionary.useWildCardForCount=true
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892949 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 19:57:11 +00:00
Pinaki Poddar 14a0241792 OPENJPA-1440: Allow COUNT(*) syntax when DBDictionary.useWildCardForCount=true
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892947 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 19:55:58 +00:00
Pinaki Poddar d491a9cbed OPENJPA-1439: Cover for InputStream/Reader type fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892884 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 17:13:23 +00:00
Richard G. Curtis d8ef5c1792 OPENJPA-993: PersistenceProductDerivation.getAnchorsInxxx(..) should only return PUs that belong to OpenJPA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892877 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 16:44:27 +00:00
Fay Wang d189eac9dd OPENJPA-1438: fix wherePrimaryKey for entity using derived identity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892430 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 04:50:24 +00:00
Fay Wang 5d9f08e728 OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +00:00
Catalina Wei 9e8b0ded0b OPENJPA-1401 Inheritance using Join Strategy may fail in cross join JPQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891476 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:31:44 +00:00
David Ezzio a05e007394 OpenJPA-1258: Applied Amy Yang's patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891465 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:02:25 +00:00
Fay Wang 8410bc88c6 OPENJPA-1435: remove null element from the coll
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891417 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 20:33:31 +00:00
Michael Dick 40f017a2e9 OPENJPA-714:
Check l1 cache when looking for managed instances when cascading.
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891120 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 04:17:43 +00:00
Fay Wang 8dff017694 OPENJPA-1431: fix @Temporal annotation when used in conjunction with @Column and @ElementCollection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891035 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 22:26:11 +00:00
Pinaki Poddar f5c216eb19 OPENJPA-1050: Restore existing method signature but deprecate them.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890859 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:16:48 +00:00
Pinaki Poddar fd5c79aabc OPENJPA-1050: Restore existing method signature but deprecate them.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890857 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:15:21 +00:00
Pinaki Poddar de8d125575 OPENJPA-1412: OpenJPA Eclipse Enhancer plugin. Add ui support, begin non-captive lib support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890545 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 23:13:35 +00:00
Richard G. Curtis 3067245dac OPENJPA-1224: Updating DBDictionaries to support setting precision on a BigDecimal column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890486 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 21:31:31 +00:00
Milosz Tylenda 6cee09c8c9 OPENJPA-1248: User manual improvements related to LOB streaming.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889946 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 16:32:02 +00:00
Donald Woods 9dc10ef15e OPENJPA-1103 removed the early access disclaimer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889824 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:35:06 +00:00
Donald Woods 60cae2ff51 OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +00:00
Pinaki Poddar b119e2b959 OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889801 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:33:32 +00:00
Pinaki Poddar 4715cc737b OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889800 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:32:16 +00:00