Commit Graph

1580 Commits

Author SHA1 Message Date
Pinaki Poddar ffa2851f89 OPENJPA-687: Documentation for cache statistics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684137 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 22:57:39 +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
Srinivasa Segu 2a5964a540 OPENJPA-166 - Fix to use the translated exception as the cause for rollback.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684082 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 20:36:31 +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
Albert Lee 352d799756 OPENJPA-680 - Format changes to standard 80 columns and spacing conventions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:32:01 +00:00
Pinaki Poddar 237c092ebb OPENJPA-677: Make a judgement whether reading discrimnator value from the result makes sense in a context
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683916 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 08:59:12 +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
Srinivasa Segu 4668ea4e77 OPENJPA-680. Consistent with the beforeRefresh call check for new unflushed instances
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683805 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 02:42:36 +00:00
Michael Dick b53a58f948 OPENJPA-676 remove extra bracket
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683304 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 15:45:08 +00:00
Michael Dick 62a6555c89 OPENJPA-676 remove extraneous cast
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683299 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 15:34:33 +00:00
Michael Dick ce3f368ab0 OPENJPA-676 close connection used for CONTIGUOUS or TRANSACTIONAL sequences
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683296 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 15:31:01 +00:00
Catalina Wei e97d6d1598 OPENJPA-674 javaagent enhancer (PCEnhancerAgent) ignores persistence units after the first in persistence.xml
committing PCEnhancerAgent.patch provided by Dinkar Rao

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683075 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 01:28:26 +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
Michael Dick aba5ddc7fb Update assembly with correct javadoc location
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682732 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 15:00:00 +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 b683569de0 OPENJPA-485:
OPENJPA-497: Saving NPE

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682570 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 03:19:13 +00:00
Albert Lee 49d5f19a68 OPENJPA-663 - Commit manual changes submitted by Jeremy Bauer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682478 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 19:45:12 +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 6d8a587984 OPENJPA-550: Correct example usage
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681909 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 23:59:11 +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 b29b9b6c76 OPENJPA-75: Error message for missing identification variable shows nearest Levensthien choice and all avaialble choices
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681807 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 20:05:18 +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 2d7faf24b1 OPENJPA-20 fix typo in manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681471 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 20:21:32 +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
Albert Lee adb9a6e3de Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680894 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 01:09:18 +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
Pinaki Poddar 9174b3f174 OPENJPA-44: Support 'metadata-complete' attribute to ignore class-level annotations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680520 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:56: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
Michael Dick 1cf3826ae8 [maven-release-plugin] prepare branch 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680506 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:19:52 +00:00
Michael Dick 191f26d72d OPENJPA-669 DBDictionary can specify the type of native sequences.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:12:17 +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 5fc632784f OPENJPA-20: Clarify return of embedded instances as query result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680421 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:52:06 +00:00
Pinaki Poddar 72b5b4def8 OPENJAP-664: Check length constraint onIndex name, not on the table on which index is created
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680413 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:29:15 +00:00
Pinaki Poddar 2254791f9b OPENJPA-619: Typographical errors
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680401 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 17:10:38 +00:00
Pinaki Poddar 997a094135 OPENJPA-667: Link configuration property to corresponding method in JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680396 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 16:46:02 +00:00
Michael Dick 134b37a753 OPENJPA-666
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679886 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 19:53:31 +00:00
Patrick Linskey 0ed72e477a moved docs, javadocs, and downloads output to openjpa-project, since it looks like trunk isn't including the top-level target/site dir anymore
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679594 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 22:41:36 +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