4108 Commits

Author SHA1 Message Date
Jody Grassel
61238ede48 OPENJPA-2146: StateManager for Embeddable may throw Exception while initializing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1333100 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 16:26:55 +00:00
Heath Thomann
7642e7e249 OPENJPA-2133: Fix to allow custom mappings to be found by an applicable class loader.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 17:44:20 +00:00
Heath Thomann
d5a324f802 OPENJPA-2159: Provide dictionary option for Date rounding - merged Dianne's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332307 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 17:28:30 +00:00
Dianne E. Richards
e44873972a OPENJPA-2142 Fix copy problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332025 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 23:40:10 +00:00
Dianne E. Richards
f725640046 OPENJPA-2142 Fix merge of a new entity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1330360 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 15:45:18 +00:00
Albert Lee
d6af6b75f9 Add TCK 2 tck2-20110815.xml configuration and enable pluggability test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1297100 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:52:06 +00:00
Heath Thomann
e985d5b4ad OPENJPA-2117: Back-port Albert's trunk changes to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1295384 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 02:34:54 +00:00
Kevin W. Sutter
63321e5906 Integrating the patchoj.py tool for ease of creating patches. It already existed in later releases, so I'm just bringing it backwards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1293389 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 19:25:19 +00:00
Jody Grassel
52f9ae6718 OPENJPA-1901: QueryCacheStoreQuery CachedObjectId is not Serializable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1240341 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 21:13:27 +00:00
Albert Lee
7b94014ca4 Replace hard-coded tck runtime timeout (7200000) to system property jpatck.run.tmo (default to 7200000).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1231189 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:11:57 +00:00
Jody Grassel
4f6277057e OPENJPA-1993: Deadlock Potential with ORM XML Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227818 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 20:30:35 +00:00
Jody Grassel
c410de6b83 OPENJPA-1993: Deadlock Potential with ORM XML Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227779 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 19:28:04 +00:00
Heath Thomann
36166e0d04 OPENJPA-2102: Added code to compare decoded URLs in AbstractCFMetaDataFactory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227170 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 14:41:20 +00:00
Richard G. Curtis
fe5cb1e0d6 OPENJPA-1986: Merge Compatibility javadoc from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1202817 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 18:06:59 +00:00
Heath Thomann
8400488b08 OPENJPA-2051: Change to ensure entities are properly cascaded after a flush.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1186889 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 16:29:48 +00:00
Heath Thomann
381bd91cc5 OPENJPA-2055: Added code to account for IPv6 addresses.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1179900 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 23:34:54 +00:00
Heath Thomann
860954f764 OPENJPA-1376: Updated DBDictionary to remove extraneous 'if' block.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1171254 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 20:15:43 +00:00
Heath Thomann
3a9bd6ad3c OPENJPA-1691: Made update to localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1160888 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:26:48 +00:00
Michael Dick
2748b934f0 OPENJPA-2038: Add tests for tablename including schema
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156339 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:45:29 +00:00
Michael Dick
8682e6b423 OPENJPA-2038: remove hard coded property from testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156338 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:45:22 +00:00
Michael Dick
6941c1254e OPENJPA-2038: Exclude schema name when calculating table name length by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156334 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:37:45 +00:00
Heath Thomann
210b2e3e8f OPENJPA-2006: If flushing, also pre-flush non-provisional entities to allow sequence ID population - applied Jeremy's 1.2.x patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 02:27:50 +00:00
Heath Thomann
a64c6cfb42 OPENJPA-1376: Added documentation for the new property provided via this code fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1155376 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 14:07:47 +00:00
Heath Thomann
d7f9bcbe92 OPENJPA-758: Added code to check the ClassResolver to get a class loader when attempting to load a ValueHandler or FieldStrategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1155109 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 21:21:30 +00:00
Heath Thomann
73cf25744d OPENJPA-1691: Added property for forward compatibility, documented property and migration considerations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1155013 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 16:57:53 +00:00
Heath Thomann
1dbc7edccb OPENJPA-1376: Backported trunk changes to 2.1.x where possible, made code gated by a system property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1153990 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 20:01:34 +00:00
Michael Dick
dddb5a0f67 OPENJPA-2011: Optionally prevent reparsing annotations in in query mode.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1151637 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 21:32:34 +00:00
Michael Dick
7db9f3dc7e OPENJPA-2010: Check line number and source file before logging duplicate metadata warning
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1151591 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 19:06:24 +00:00
Richard G. Curtis
a4cfa21136 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1148539 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:19:32 +00:00
Richard G. Curtis
acd6c54ac2 [maven-release-plugin] prepare release 2.1.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1148537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:18:31 +00:00
Richard G. Curtis
a230798af5 updating files for release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1146888 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 20:46:35 +00:00
Richard G. Curtis
5233ca9743 OPENJPA-1986: Remove newly added serialVersionUID and change compatibility flag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1141200 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 19:11:30 +00:00
Michael Dick
95722e35c8 OPENJPA-2010: Temporarily reverting to unroll other changes."
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1141143 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 16:05:43 +00:00
Heath Thomann
bebc03a951 OPENJPA-2010: Check line number and source file before logging duplicate meta data warning - merged Mike's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140332 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 21:38:41 +00:00
Michael Dick
c012ee98f3 Remove try/catch that hides exception text in TestM2MInDataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140251 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 17:50:50 +00:00
Michael Dick
47d7a32e5f OPENJPA-1989: remove extra curly brace and reformat TestToOneLazyXmlOverride
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140250 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 17:50:24 +00:00
Richard G. Curtis
b89f6cd462 OPENJPA-2020: Open up some of StateManagerImpl to all for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140198 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:06:24 +00:00
Richard G. Curtis
c0077e759f OPENJPA-2014: Allow proxies to stay in place when using LiteAutoDetach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140191 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:59:59 +00:00
Richard G. Curtis
4c3992fde3 OPENJPA-1989: Fix *ToOne xml fetch attribute to honor LAZY.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140188 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:54:54 +00:00
Richard G. Curtis
ade8ff1fb0 OPENJPA-1986: Avoid querying the db when cascading a persist to a new instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140182 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:44:38 +00:00
Richard G. Curtis
18fe45f5c6 OPENJPA-1990: Skip calling back to DB2 when an exception is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140165 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:01:02 +00:00
Heath Thomann
2fd8540c51 OPENJPA-1999: Optional support for non-sequential positional parameters - made additional changes, per Mike Dick, to QueryImpl ctor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1134440 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 20:53:51 +00:00
Heath Thomann
a3790a37cd OPENJPA-1999: Optional support for non-sequential positional parameters - Added Rick's test provided in his patch for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1134065 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 20:31:05 +00:00
Heath Thomann
e083055ee3 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/branches/2.1.x@1134064 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 20:28:07 +00:00
Michael Dick
144a6a43a9 OPENJPA-1725: Add documentation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1133507 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 18:52:41 +00:00
Michael Dick
23cc77b477 OPENJPA-1725: preserve original behavior in 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1102457 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 20:57:05 +00:00
Michael Dick
dfbf5983e6 OPENJPA-1725: Do not include schema name when checking table name length. Merged from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1102047 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 19:34:20 +00:00
Jody Grassel
ad5a23d4ff OPENJPA-1996: OpenJPA Samples fail on MacOS X
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1101909 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 14:56:06 +00:00
Michael Dick
2a91e9b7d6 OPENJPA-1985: Check for abstime as a timestamp type for Postgres
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1097237 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 20:55:42 +00:00
Albert Lee
9ce0bb784e OPENJPA-1972 Update test and adapt to DB2 9.7 behavior changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1087429 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 20:13:17 +00:00