Commit Graph

1167 Commits

Author SHA1 Message Date
Kevin W. Sutter dde88d592c OPENJPA-2204. Detect a potential null value before blindly outputting a trace string.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346213 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 02:23:03 +00:00
Dianne E. Richards 4f479a9887 OPENJPA-2175 Fix problem with multiple foreign keys of the same type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346073 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 18:18:04 +00:00
Heath Thomann e6129051c2 OPENJPA-2095: Applied Helen Xu's patch to trunk with Albert's test case changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1345263 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 16:02:31 +00:00
Heath Thomann 5fb9e71726 OPENJPA-2072: Applied Helen Xu's patch to trunk, and applied test case changes as Albert had done in JIRA OPENJPA-2095 for issue with using Test* in entity name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344914 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 21:17:41 +00:00
Heath Thomann ebe06fdf35 OPENJPA-2174: Applied Helen Xu's patch to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344721 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 13:39:52 +00:00
Heath Thomann 11cd0d5fd4 OPENJPA-2118: Provide fix to avoid possible 'division by zero' error.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1344498 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 23:09:15 +00:00
Mark Struberg 122f5fe92d remove unused import and fix JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340705 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 12:58:04 +00:00
Albert Lee 901c70e1d6 OPENJPA-2199 - If inverse relation is removed (nulled out) when commit, attempt to find the target type from initialized object in the state manager to complete the update graph for foreign key constraint detection between the relationships.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340123 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:08:50 +00:00
Heath Thomann e6a8d377bc OPENJPA-2067: Added code, gated by the new DBDictionary.useJDBC4SetBinaryStream prop, to use a JDBC 4.0 version of setBinaryStream.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1338494 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 00:42:09 +00:00
Jody Grassel 8c8e250f40 OPENJPA-2133: OpenJPA doesn't find custom mappings with an applicable class loader
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1333982 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 14:18:19 +00:00
Jeremy Bauer df8d3c4416 OPENJPA-2165 Minor fixes, more proxy types, testcases, and doc udpates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1331051 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 19:53:49 +00:00
Mark Struberg aac116c904 OPENJPA-2178 switch Date PostgreSQL preci from CENTI to MICRO
We looked at the PostgreSQL documentation back to pgsql-6.3 (1998)
and all versions since then can deal with microseconds for TIMESTAMP 
fields.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1330898 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 15:10:53 +00:00
Albert Lee 3bfaadf1c1 OPENJPA-2170 - Clear the batching cache regardless if the batch execution has succeeded or failed to avoid duplicated SQL updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1312030 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 22:33:08 +00:00
Albert Lee 06742412b3 OPENJPA-2131 - Commit contribution by Zilin Chen.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1309495 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 17:15:50 +00:00
Kevin W. Sutter 8e445e03a1 OPENJPA-2167. Change data structure type from a Set to List so as to avoid the use of hashcode processing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1308654 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 02:14:43 +00:00
Jeremy Bauer 31da969bd6 OPENJPA-2165 minor improvements to delayed collection loading
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1308194 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 20:23:47 +00:00
Kevin W. Sutter 0354b057c9 OPENJPA-2162. Allow the setting of the DBDictionary property supportsDelimitedIdentifiers to "false" to skip the extra overhead of processing delimited identifiers when they will not exist for a given application or usage.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307157 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 23:06:42 +00:00
Jeremy Bauer 3e1de6c8e3 OPENJPA-2165 Added support for non-db-ordered list proxies that provide the ability to do non-indexed add or remove operations without loading the collection from the database. Testcases and documentation will follow in future commits.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306449 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 16:10:35 +00:00
Dianne E. Richards 83b432a46f OPENJPA-2159 Provide dictionary option for Date rounding
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1304349 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 13:59:13 +00:00
Albert Lee b68cf1d0fb OPENJPA-2153 Mark DBCPDriverDataSource non-abstract so that DBCPDriverDataSource.class.newinstance is used to instantiate for property configuration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299276 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 21:26:31 +00:00
Dianne E. Richards f94fb7f727 OPENJPA-2132 Fix empty List for OneToMany with InheritanceType.JOINED or SINGLE_TABLE
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1298856 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 14:46:44 +00:00
Jeremy Bauer d03434b557 OPENJPA-2141 fix and test for lazy embedded fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293250 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 13:53:01 +00:00
Kevin W. Sutter fdda697583 OPENJPA-2123. Introduce a new DBDictionary property (trimStringColumns) that allows for trimming of String columns when retrieved from the ResultSet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292574 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 23:09:39 +00:00
Kevin W. Sutter 1cb2f10f6e OPENJPA-2123. Just check the value of db2ServerType instead of calling isDB2ZOSV8xOrLater().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 17:26:09 +00:00
Albert Lee 408d8b4463 Update pom.xml version to 2.3.0-SNAPSHOTS in trunk after 2.2.0 is released.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291435 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:37:05 +00:00
Albert Lee 4d1e1bc8df [maven-release-plugin] prepare release 2.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:29 +00:00
Kevin W. Sutter 2bbbcc9d73 OPENJPA-2099. With Pinaki's green light, we're going to back out the changes for OpenJPA-2099 and OpenJPA-2111 so that we can make progress on the OpenJPA 2.2.0 release.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243702 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:23:54 +00:00
Kevin W. Sutter e6d667e6db OPENJPA-2076. Too many newline characters in this one message...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243537 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:43:56 +00:00
Jeremy Bauer f9cf3b7919 OPENJPA-2124 Committing patch contributed by Helen Xu. Test covered by existing jUnit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1242547 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 21:52:28 +00:00
Kevin W. Sutter e5a7710d6b OPENJPA-2099. Temporarily disabling openjpa.CachesSelect property while cutting the 2.2.0 release.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241492 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 15:44:28 +00:00
Pinaki Poddar 3a5fce3e33 OPENJPA-2099: checkstyle error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240589 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 18:46:47 +00:00
Pinaki Poddar b0536597ae OPENJPA-2099: account for detached state manager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240572 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 18:09:57 +00:00
Pinaki Poddar 4d0917c551 OPENJPA-2099: Remove hard references from thread local
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240448 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 03:06:46 +00:00
Pinaki Poddar 64c8d56e9a OPENJPA-2099: Remove generics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240419 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 00:44:27 +00:00
Pinaki Poddar ba3f74e8be OPENJPA-2099: disable the feature temporarily
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240416 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 00:34:59 +00:00
Pinaki Poddar 65f9e59265 OPENJPA-2099: Rollback toString() because DB2 error not investigated
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240304 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 19:13:59 +00:00
Pinaki Poddar a666c1d14b OPENJPA-2099: Added toString() for debugging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240240 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 16:44:28 +00:00
Pinaki Poddar 7def6f8a67 OPENJPA-2099: simple doc change
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236281 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:37:16 +00:00
Pinaki Poddar e37a589072 OPENJPA:1050: Use generics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236280 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:36:38 +00:00
Pinaki Poddar ccdcf9b3fd OPENJPA-1050: Use generics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236278 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:35:16 +00:00
Pinaki Poddar f31e4ba507 OPENJPA-2099: Introduce flexible ThreadLocal
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235624 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 04:00:11 +00:00
Pinaki Poddar ade97ac4d4 OPENJPA-2099: Silly checkstyl error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235604 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 02:39:38 +00:00
Pinaki Poddar 816280b17b OPENJPA-2099: Align Slice threading model and Select reuse threading model
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235594 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 02:01:30 +00:00
Pinaki Poddar 49adef7c61 OPENJPA-2099: Use thread gate for reused select. Guard parameter binding
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235533 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:26:27 +00:00
Pinaki Poddar 6bed19c848 OPENJPA-2099: cached select for handler strategy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233094 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 22:20:14 +00:00
Pinaki Poddar 024ff20a8c OPENJPA-2099: Guard cached select
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:58:59 +00:00
Pinaki Poddar 6430d8eb92 OPENJPA-2111: Optimize lookup when possible
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232650 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 23:37:39 +00:00
Pinaki Poddar 3c1a262106 OPENJPA-2108: Allow configuration for SQL termination character in Mapping Tool
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232449 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 15:52:17 +00:00
Pinaki Poddar 1a50b5fe76 OPENJPA:2099: Cacheing select construct with class/field strategy. Adding configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232415 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 14:04:07 +00:00
Mark Struberg 3beb74571a switch back trunk to 2.2.0-SNAPSHOT
we wil restart the 2.2.x after a few important fixes on trunk


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230495 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 11:28:50 +00:00