Commit Graph

107 Commits

Author SHA1 Message Date
Albert Lee 9fdf242b40 OPENJPA-2085 Use ASM to reconstruct the missing StackMapTable attribute in class file after entity enhancement. BCClassWriter is contributed by Brett Kail.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1209373 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 06:42:55 +00:00
Richard G. Curtis 3d5b44956d OPENJPA-2057: Reverting previous commits.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1197994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 17:17:26 +00:00
Pinaki Poddar 3494fab794 OPENJPA-2057: Change classloading scheme
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190716 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 00:44:11 +00:00
Pinaki Poddar 12878c9c05 rollback wrong commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1178849 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 16:08:06 +00:00
Pinaki Poddar 4ef9c9f6f1 use range information for slice query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1178634 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:23:23 +00:00
Michael Dick 27e0e704ad OPENJPA-2008: Setting svn eol-style for DistributedSQLStoreQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137651 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:09:37 +00:00
Pinaki Poddar 41f09d9226 OPENJPA-2008: Draft support for native SQL in Slice
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135806 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:33:28 +00:00
Pinaki Poddar 0de12ed492 OPENJPA-2012: Support in-memory MIN()/MAX() on non-numeric types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133605 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:50:30 +00:00
Pinaki Poddar 14816f465b Add code comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133602 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:37:58 +00:00
Michael Dick 25b4e87195 OPENJPA-1952: Excluding multithreaded test which causes intermittent build failures
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1074579 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 15:33:16 +00:00
Michael Dick 8c2b69d63f OPENJPA-1898: reduce number of threads in testcase.
Submitted By: Mark Struberg

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040742 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 19:57:09 +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
Donald Woods e991772527 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021839 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 17:02:53 +00:00
Donald Woods c92c435728 minor pom updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003634 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:24:41 +00:00
Pinaki Poddar f56c4ca729 OPENJPA-1776,OPENJPA-1777: Delay distribution decision to flush. Set diagonistic context by reflection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 19:33:37 +00:00
Donald Woods 560afb7df4 OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Michael Dick e449027abe Increase timeout value for slice testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@985067 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 02:03:48 +00:00
Donald Woods bcfadcff1b OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Richard G. Curtis b2d771f972 Adding missing licence header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946248 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 16:03:11 +00:00
Pinaki Poddar f4cddb4c82 Remove Compilation error because to @Override flag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943897 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 14:25:36 +00:00
Pinaki Poddar 3bb50e3d36 OPENJPA-1663,OPENJPA-1664: Add support to target find() or query to a subset of slices with plug-in policy. The existing, code intrusive mechanism of setting hints on query/fetch plan explicitly is retained. Intrusive, explicit setting of targets overrides policy based targets.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943688 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:08:34 +00:00
Pinaki Poddar 85ba2eada3 OPENJPA-1662: Remove usage of @Replicated annotation. Replace with openjpa.slice.ReplicatedTypes plug-in.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943294 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 21:09:17 +00:00
Pinaki Poddar 990bfb8d96 OPENJPA-1649: Add a test to verify transaction atomicity across slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941541 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 23:28:26 +00:00
Pinaki Poddar 4c24a47a8e OPENJPA-1649: Share metadata/mapping repository across slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941515 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 22:11:51 +00:00
Pinaki Poddar c7addd5f51 OPENJPA-1648,OPENJPA-1649,OPENJPA-1650: Replace fixed thread pools by cached thread pool.
Stop creating thread pools on every flush/query. 
Streamline property parsing/processing to create slice configurations.
Retain addSlice() on Persistence Unit and remove from Persistence Context and Configuration.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941084 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 23:01:51 +00:00
Pinaki Poddar d43fea80d8 OPENJPA-1643: Parse connection factory name. Add a constructor for serializability. Make CriteriaQuery sharable among slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939125 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 22:47:15 +00:00
Donald Woods b5b65a7d4b [maven-release-plugin] prepare release 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
Donald Woods 676a2f74f6 [maven-release-plugin] prepare branch 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:29 +00:00
Michael Dick c618b4692d OPENJPA-1557:
Use openjpa.Log to control build logging instead of openjpa.loglevel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:44:11 +00:00
Donald Woods 0befad7051 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods 099d18901e [maven-release-plugin] prepare release 2.0.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Donald Woods cda835d50b OPENJPA-1528 Upgrade to MySQL 5.1.12 driver. Include dbcp overrides needed for MySQL. Moved common dbcp and junit properties to parent pom to simplify maintenance. Add some blank lines in a couple poms to improve readability.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915448 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:27:27 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Donald Woods 2b2ede1e38 OPENJPA-1374 Enable junits to be executed against an in-memory Derby 10.5.3.0 db. Moved common Derby profiles to the parent POM. Added new Derby props in o-p-j which knocked 2 mins off build time. Added a test-derbymem profile to use Derby 10.5.3.0 as in-memory DB, which reduced build time by 5 mins.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901374 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:53:57 +00:00
Donald Woods 400c592100 fix ASL 2.0 header and change test-mysql profile to test-mysql-slice profile to keep it from running during the nightly auotmated tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821035 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 14:36:30 +00:00
Pinaki Poddar a8640cc5d2 OPENJPA-1285: Dynamic JDBC 4 Wrappers use constructor to save reflection cost
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813149 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:43:49 +00:00
Pinaki Poddar 4e6a98f634 OPENJPA-849,OPENJPA-1251: Property management, hidden values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:27:30 +00:00
Michael Dick 3ec9136da7 OPENJPA-651:
Default setting for RuntimeUnenhancedClasses = unsupported.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802457 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 21:03:56 +00:00
Donald Woods a3f0d4104c OPENJPA-1148 Remove recently added ehnancer agent settings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801165 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:12:23 +00:00
Donald Woods 96c824a8e3 OPENJPA-1148 remove Derby lock timeouts for now...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800914 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 18:35:09 +00:00
Donald Woods a63acfca77 OPENJPA-1148 Reformat and replace tabs with 4 space indenting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800888 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 17:43:22 +00:00
Donald Woods d727e60800 OPENJPA-1148 Remove test.jvm.arguments from openjpa-slice, which was causing this module to always fail with a OOM PermGen space with 64bit Java 6 on Linux for me. Also merged in some recent updates in o-p-j for derby lock timeouts and ehnancer agent settings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800878 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 17:12:43 +00:00
Donald Woods f503abe979 OPENJPA-1130 Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783404 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 15:55:14 +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
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 83bb518d7c OPENJPA-1079: Allow connection to be accessed by the client
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773249 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 16:40:59 +00:00
Pinaki Poddar eb359de6a5 Demonstrates that related instances can be stored across slices (i.e. collocation constrain can be bypassed) and the across-slice relations can be fetched reliably under certain restrictions (e.g. for lazy relations).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772721 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 17:36:05 +00:00
Pinaki Poddar 27935272ba OPENJPA-1044: Retire test where entity is used as a query parameter as it causes a thread deadlock
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767571 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 15:39:09 +00:00
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
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