Commit Graph

1877 Commits

Author SHA1 Message Date
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
Michael Dick 8c50f73fe4 OPENJPA-860 fixing the last trace call. Patch originally provided by Janko Heilgeist
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@735137 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 21:12:47 +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
Michael Dick 696388049b OPENJPA-860 improve trace. Entity class names are printed when found in orm.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734797 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 20:21:45 +00:00
Fay Wang 88f288b47a OPENJPA-851: enhanced bi-directional map support in
update operation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734617 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 07:05:13 +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
Catalina Wei 1583426e01 OPENJPA-836 after em.clear the datacache is inconsistent
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734551 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 23:21:13 +00:00
Pinaki Poddar b65b9b2471 OPENJPA-858: Document openjpa.Callbacks plug-in options
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734347 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 06:39:26 +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 9ab2dd6c4a OPENJPA-843 Unnecessary version update on inverse-side of a 1-m relationship
Committing patch provided by Dinkar Rao

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733932 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12 22:16:06 +00:00
Catalina Wei 2309a59df5 OPENJPA-853 Informix Cursor not open problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733204 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10 00:44:36 +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 0a20368e58 OPENJPA-850: Document alternative javax.persistence.jdbc.* keys introduced in JPA 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732448 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 19:52:47 +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
Pinaki Poddar f30eb24709 remove unused import statement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732084 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 19:56:20 +00:00
Jeremy Bauer ca3464e0b1 OPENJPA-837 Update documentation with current 2.0 schemas
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732045 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 18:36:30 +00:00
Pinaki Poddar 43a9847b93 Remove unnecessary imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729331 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 16:24:53 +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
Pinaki Poddar 2759792aea Timeout multithreaded tests if they hang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729134 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 21:49:49 +00:00
Pinaki Poddar 94efd58dd9 OPENJPA-845: Evaluate ordering value for PCPath to support ORDER BY slice queries that involves ordering terms not included in projection items and hence requires in-memory ordering from multiple slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@729084 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 20:08:39 +00:00
Pinaki Poddar 3f90c7eaa8 Handle version adjustment when replicated instances are flushed to multiple slices. Refactor untyped OpenJPAStateManager collections to save some redundant iteration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728807 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 22:11:48 +00:00
Pinaki Poddar ec531f3b9d OPENJPA-841: Add structure to hold Slice information. Also ensure that replicated instances carry all replicated slice information even when they are found in a single slice.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728761 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 20:22:52 +00:00
Fay Wang 6ff7d9a922 OPENJPA-838: remove cache from StoreCollectionFieldStrategy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728750 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 19:36:50 +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
Catalina Wei 0500645b7a OPENJPA-835 Loading nested toMany EAGER relation resuled in PersistenceException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727895 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 02:17:36 +00:00
Pinaki Poddar 574d559860 OPENJPA-825: Introduced internal locking for shared contexts (BrokerImpl/QueryImpl).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727864 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 00:08:23 +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
Michael Dick 3fd11d82ab OPENJPA-779 for trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727826 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 21:03:17 +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
Pinaki Poddar b3a9a1b0e0 OPENJPA-800: Documentation for new Criteria API support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727479 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 19:27:07 +00:00
Pinaki Poddar 0f7f03d8b0 OPENJPA-825: Cache unique flag for query to avoid lcoking. Use StateManager's instance lock rather than acquiring Broker's lock.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727297 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:23:00 +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 548ccbcf95 OPENJPA-828: Switch field value access based on declaredTypeCode rather than typeCode to take care of externalized fields.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726927 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:59:34 +00:00
Catalina Wei 47eab49812 OPENJPA-805 JPQL updates iteration 1
add in-memory query constructs for Case, Coalesce, and NullIf expressions

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726926 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:58:31 +00:00