Commit Graph

1361 Commits

Author SHA1 Message Date
Kevin W. Sutter 70f3a94b36 OPENJPA-505. Resolving some formatting issues with the r616658 commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616878 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 20:01:09 +00:00
Patrick Linskey badc4b924f OPENJPA-437. Reverted back to hard-reference ArrayList instead of a concurrent set, since the new logic only performs local mutation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616845 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 19:03:48 +00:00
Patrick Linskey 0b4ce34920 OPENJPA-505. Committing on behalf of joe@bea.com (Joe Weinstein).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616658 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 06:49:26 +00:00
Catalina Wei b2a10e285f OPENJPA-477 no need to make changes to BootStrap, StateManagerImpl and PersistenceProviderImpl.
These files are restored to their previous version.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 09:36:42 +00:00
Patrick Linskey 37c4e9148a OPENJPA-437. Trivial change to be consistent with class usage between constructor and symbolic constant.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615361 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 21:53:57 +00:00
Patrick Linskey 78f5a95b2b OPENJPA-437
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615360 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 21:52:05 +00:00
Patrick Linskey 2a612c1053 OPENJPA-245
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615317 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:41:57 +00:00
Patrick Linskey 2a45dc5929 OPENJPA-437
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@615316 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 19:41:47 +00:00
Patrick Linskey d4454e5a1f OPENJPA-503
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614936 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 17:41:44 +00:00
Patrick Linskey 5a1faec471 OPENJPA-502
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614812 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 07:33:32 +00:00
Patrick Linskey 6a29ebffe4 OPENJPA-503
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614806 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 06:56:14 +00:00
Catalina Wei a8f6d3c116 OPENJPA-477 Making StoreManager more flexible and extensible
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614763 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 01:33:48 +00:00
Michael Dick 8d18daabd7 OPENJPA-464 committing patch provided by Teresa Kan
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614731 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 23:25:56 +00:00
Patrick Linskey 72aefb149b OPENJPA-430. Docs update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614643 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 19:54:29 +00:00
Patrick Linskey 95018cef64 OPENJPA-430. Fixed bug that passed all column name checks through to the DBDictionary for potential renaming even when _defMissing is enabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614640 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 19:51:45 +00:00
Patrick Linskey 13dd4f2252 Improve error message when checking metadata access types; correct recursive method to always include superclass information.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614606 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 18:15:09 +00:00
Patrick Linskey 3aa60007dd OPENJPA-500
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614583 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 17:22:55 +00:00
Michael Dick 4d9a6759db OPENJPA-245
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614563 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 15:16:01 +00:00
Patrick Linskey 92d1334e52 OPENJPA-498. Resolve this by not removing if the prop is not set; the prop in question is only ever set internally anyways when EMF pooling is enabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@613332 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 00:55:19 +00:00
Kevin W. Sutter 7f797f0226 OPENJPA-437. Changed AbstractBrokerFactory.loadPersistentTypes to be synchronized to get around the multi-threading issue during broker creation.
Also, migrated the change for OPENJPA-449 from trunk to the 1.0.x branch.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612846 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 15:35:45 +00:00
Pinaki Poddar 240d356314 OPENJPA-495 Populate Ordering/ProjectClauses from JPQL parser to be used for merging multiple ordered results
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612583 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 22:01:42 +00:00
Patrick Linskey 8464ea75f1 OPENJPA-488. HSQL override is no longer necessary; correct if clause in DBDictionary.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612523 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 17:25:47 +00:00
Patrick Linskey 206f0f04e1 OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492. Reduce logging in test case; use onlyChild() to validate tree structure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612348 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 04:35:26 +00:00
Patrick Linskey 3d3cb67c5a OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492. Adding omitted license headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612347 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 04:18:19 +00:00
Patrick Linskey 8c4cf9511e OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612345 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 03:49:23 +00:00
Patrick Linskey 72f7d7ce43 OPENJPA-147: added license headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610999 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 00:28:55 +00:00
Patrick Linskey d4a2929a57 OPENJPA-147 -- managed interface support. Also includes failure test case for OPENJPA-481.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610924 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 20:44:35 +00:00
Patrick Linskey 2933147f53 proxy collection optimization for adding to the end of a list vs. adding elsewhere
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610922 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 20:37:36 +00:00
Catalina Wei 0d3bc96fcb OPENJPA-471 iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
or @GeneratedValue(strategy=GenerationType.SEQUENCE)


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610697 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 06:55:17 +00:00
David Ezzio d621aa765d Removed duplicate prefixing of schema name in resolveTableName
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610427 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 15:59:39 +00:00
Patrick Linskey 07c046a077 Oops; earlier refactoring was not complete.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609825 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 01:03:43 +00:00
Patrick Linskey 26ef9ddabb Obtain the DBDictionary up-front in the mapping tool constructor to ensure that the dictionary is fully configured with connection-specific information.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609824 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 00:57:05 +00:00
Patrick Linskey 5a0b5b39e7 Write output to the logging channels instead of to stdout.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609776 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 20:58:01 +00:00
Patrick Linskey 6f29454e48 Small log clarification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609775 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 20:56:22 +00:00
Craig Russell 4140d243a4 OPENJPA-452 Fixed xml in secondary table mapping example. Patch contributed by Ignacio Andreu
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@608157 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 17:45:12 +00:00
Pinaki Poddar 82cd11cb19 Do not throw exception when failed to lookup JNDI, rather return null. Callers handle null
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@608009 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 05:14:52 +00:00
Pinaki Poddar 4fda4e9484 Allow access to underlying DataSource for extensibility
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@608008 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 05:12:25 +00:00
Craig Russell 288355f4ad Updated NOTICE to be consistent with other Apache NOTICE files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@607941 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 23:03:30 +00:00
Patrick Linskey e11e2078af removed incorrect premain class from interim jar
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@607583 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 19:20:53 +00:00
Craig Russell 69ee1ce7f0 OPENJPA-331 fix notices
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@607478 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 22:07:29 +00:00
Pinaki Poddar e868210ca0 Allow read-only access to operating set of instances to extensions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@606946 13f79535-47bb-0310-9956-ffa450edef68
2007-12-26 21:02:43 +00:00
David Ezzio a3c2d2a487 Harmless change to test commit ability
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@606709 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 16:25:07 +00:00
Patrick Linskey ab88266f2a OPENJPA-470. Added test case for custom sequence implementations, and updated docs with the current parentheses limitation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@605679 13f79535-47bb-0310-9956-ffa450edef68
2007-12-19 20:19:49 +00:00
Patrick Linskey 84205d6d50 Error message improvement: include nested exception in constructor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 20:06:44 +00:00
Patrick Linskey f185a0fe7b Doc improvement: added a cross-reference.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604668 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 18:38:24 +00:00
Patrick Linskey 008b249c24 OPENJPA-331. Checking in on behalf of Miroslav Nachev. Includes minor whitespace reformatting and @since tags for new source classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604621 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 12:30:15 +00:00
Pinaki Poddar 7bd70d36db Allow JDBCStoreManager to avail configuration different than that of its StoreContext. Wrong tab corrected.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604327 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 23:00:46 +00:00
Pinaki Poddar 2c18b555c7 Allow JDBCStoreManager to avail configuration different than that of its StoreContext
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604318 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 22:35:06 +00:00
Marc Prud'hommeaux 787b57a486 OPENJPA-9 Use the same criteria for resolving the configuration file for the purposes of listing all the anchors as we do for actually parsing the file itself. Fixes the problem where specifing the property "persistence.xml" was not actually resolving /META-INF/persistence.xml in order to obtain the list of anchors.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604300 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 21:26:02 +00:00
Patrick Linskey 485372b3f6 Change Services.getImplementorClasses(Class) and Services.getImplementorClasses(Class,ClassLoader) to filter out implementations that are not assignable to the Class argument. This allows the Services call to be more fault-tolerant in environments with odd classloader configurations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603666 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 16:32:28 +00:00