Commit Graph

998 Commits

Author SHA1 Message Date
Kevin W. Sutter 60062e27a2 OPENJPA-370. Committing Teresa's patch with a few minor updates (per my JIRA Issue remarks).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581039 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 19:08:19 +00:00
Patrick Linskey bb527a1e88 OPENJPA-369. Committing Albert's 1.5-supporting changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580451 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 18:23:48 +00:00
Michael Dick a92418ddd6 OPENJPA-388
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580426 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 17:13:41 +00:00
Kevin W. Sutter 6f43ce7d40 OPENJPA-385. Committing changes for both 1.0.x and 1.1.0 to properly skip and optionally log malformed .class files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580087 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:36:48 +00:00
Michael Dick 12840cafbf OPENJPA-382
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578867 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 16:14:12 +00:00
Michael Dick 89b030c3d1 OPENJPA-380
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@578260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 20:38:31 +00:00
Srinivasa Segu 91917c406c OPENJPA-379. Creating the statement with the resultSetType, resultSetConcurrency specified consistent with the Kodos internal pool.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577991 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 05:54:55 +00:00
Catalina Wei 5d4d50df96 OPENJPA-378 DB2 "FETCH FIRST <n> ROWS ONLY" clause should not be generated in subselect for SELECT COUNT(*) from (subselect ...) s
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577973 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 03:32:14 +00:00
Pinaki Poddar cea8ab57d1 OPENJPA-305: Add originalValue for Value and modify Configuration equality/hashCode to base on Value equality/hashCode
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577164 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 05:39:17 +00:00
Kevin W. Sutter 7524219f6a OPENJPA-369. Committed Albert's changes for the Java 2 Security updates for the Solaris platform.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577029 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 19:44:06 +00:00
Catalina Wei c0cf405648 OPENJPA-375 DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577015 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 18:50:25 +00:00
Michael Dick 861e397196 OPENJPA-364 commiting patch from David Jencks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576925 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 14:03:14 +00:00
Pinaki Poddar c8ca563046 OPENJPA-24: Relaxing access to connect() for extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576582 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 20:47:52 +00:00
Kevin W. Sutter 884d6b5460 OPENJPA-367. Committing Albert's patch (since he doesn't have his committer karma quite yet...).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@576552 13f79535-47bb-0310-9956-ffa450edef68
2007-09-17 18:12:46 +00:00
Patrick Linskey 44c08403ac NPE check. Checking in on behalf of Abe.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575752 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 16:33:09 +00:00
Patrick Linskey 809cb37003 OPENJPA-335. 'svn merge -c 575492 ../branches/1.0.x'
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575495 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 23:24:12 +00:00
Catalina Wei 5e590a951e OPENJPA-360 FOR UPDATE clause incorrectly generated
remove transient variable

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575079 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 21:08:53 +00:00
Kevin W. Sutter efc6e371b7 OPENJPA-360. Remove code dependencies on DB2 libraries from unit tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575008 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 16:45:59 +00:00
Catalina Wei a4bf964c08 OPENJPA-360 SQL FOR UPDATE OF incorrectly generated for DB2 UDB version8.1 or earlier and DB2 ISeries V5R3 or earlier.
These  DB2 version also require the "optimize for <n> row" clause appear before FOR UPDATE clause.
Due to this requirement, the OPTIMIZE clause will  appear before FOR UPDATE clause for all DB2 versions.
Also fixed the affected testcases.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574464 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:32:37 +00:00
Kevin W. Sutter 3d8748c427 OPENJPA-361. Committing Albert's patch for the incorrect GREG_OFFSET (Gregorian Offset).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574398 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 23:01:39 +00:00
Patrick Linskey 4157d0931b clarified prerequisites
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574337 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 19:13:17 +00:00
Pinaki Poddar 7c07cc6d1d OPENJPA-357, OPENJPA-358: Checking for user error of wrong fetch group inclusion
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574293 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 16:20:08 +00:00
Pinaki Poddar 6d5fe3bb8a OPENJPA-357, OPENJPA-358: Adding @since tag/comments to new additions to FetchGroup inclusion
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574289 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 16:01:40 +00:00
Patrick Linskey cd66165d76 Fixing incorrect return value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574285 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 15:53:21 +00:00
Patrick Linskey d022b18ad5 OPENJPA-130. Committing Ignacio's patch, with a few whitespace and method name tweaks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574143 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 06:11:29 +00:00
Srinivasa Segu 1242abf2d5 OPENJPA-363
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574077 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 21:11:40 +00:00
Pinaki Poddar f33cb3d9eb Fix for FetchGroup inclusion and recursion depth calculation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573750 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 23:08:02 +00:00
Patrick Linskey a3a74cc233 OPENJPA-356
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573676 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 19:27:13 +00:00
Craig Russell 7d9724ac00 OPENJPA-355 Fix checking for log levels; patch submitted by Adrian Co"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573653 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 18:10:43 +00:00
Michael Dick caa4b76fe2 OPENJPA-353
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573398 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:16:10 +00:00
Patrick Linskey 6d1c3bfd97 Removing numeric constant in favor of JDK1.4 literal, now that OpenJPA requires 1.4.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573391 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 21:46:57 +00:00
Patrick Linskey bbbe5ad85a OPENJPA-345
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@572886 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 06:40:44 +00:00
Patrick Linskey 8fc5924617 OPENJPA-344. Increase the footprint of metadata that is gathered during the MetaDataCacheMaintenance storage process.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@572758 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 17:55:39 +00:00
Patrick Linskey a3b0778071 Improve error messages when processing metadata / JPQL queries.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@572492 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 02:05:15 +00:00
Patrick Linskey 8274867a54 Minor logging corrections; flow control correction when types are already enhanced.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571599 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 21:36:19 +00:00
Patrick Linskey dbc7cec446 updated build site to include more timestamp information; removed some documentation-related stuff from pom files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571595 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 21:28:04 +00:00
Kevin W. Sutter 8500feee82 OPENJPA-343. Modified the call to setRollbackOnly to check for a valid Transaction status first. If the Transaction is not in a valid state, then we will log a trace message indicating such failure. Processing will continue though.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571523 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 16:55:51 +00:00
Kevin W. Sutter 4dae2231cc OPENJPA-339. Committing Albert's Java 2 Security changes. Hopefully, this is the last batch of changes... :-)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571522 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 16:53:43 +00:00
Kevin W. Sutter 5affd1274f OPENJPA-347. This change brings the performance back to the expected levels. I have also updated the "BidiSQL" testcase to ensure that regressions like this get caught during normal testing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571461 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 13:42:29 +00:00
Patrick Linskey a61ecf0ff0 Removed now-illegal assertNotReadOnly() calls
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571325 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 21:48:57 +00:00
Pinaki Poddar 44db5768cd Allow dynamic configuration property. Changes include
1. Add getter/setter for boolean 'dynamic' field of Value 
2. Add Value.assertChangeable() that Value subclasses must invoke prior to set
new internal state
3. Changes Configuration readOnly state from a boolean to a simple 3-step state 
variable INIT_STATE_LIQUID/FREEZING/FROZEN. This is done to allow lazy
instantiation of some PluginValues after the BrokerFactory freezes configuration.
4. Removes assertNotReadOnly() check from Configuration implementations' setX() 
methods.
5. Removes dynamic Value related methods from Configuration API and its
implementations


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571294 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:19:44 +00:00
Patrick Linskey a7777cb075 OPENJPA-346
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571269 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 18:38:33 +00:00
Patrick Linskey 3a78ec68ac updated site index with some links and more content; changed pom definitions to put docs into the uploaded builds
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571259 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 18:01:10 +00:00
Patrick Linskey fefe7f2df1 added Catalina to committer list
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571258 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 18:01:00 +00:00
Patrick Linskey 87b9e53ad2 correcting scm dir specification
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571230 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 16:23:42 +00:00
Patrick Linskey cbe8908430 OPENJPA-344. Moved temporary files into the target dir.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571210 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 15:33:13 +00:00
Patrick Linskey 849e10a391 OPENJPA-344. Build is failing because of this change; changing to use initCause() on the hypothesis that the 1.4 phase of the build does not support a Throwable argument to the constructor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571042 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 05:09:56 +00:00
Patrick Linskey e89b51c4c6 OPENJPA-344. Enable serialization of metadata and query compilation caches. This implementation requires that the user run a tool to build the cache, and set a configuration property to tell OpenJPA where the serialized data is stored.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570948 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 22:07:44 +00:00
Marc Prud'hommeaux 614c53df58 Merging changes from 1.0.x branch into trunk (from branch point 567935:HEAD)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570908 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 19:37:59 +00:00
Patrick Linskey 065d3e2f59 OPENJPA-282. Fixed incorrect variable choice.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570593 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 23:05:26 +00:00