Heath Thomann
bded0a42b6
OPENJPA-2235: READ_UNCOMMITTED setting for the fetch plan isolation level is ignored in DB2Dictionary - applied Helen Xu's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426352 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:21:52 +00:00
Heath Thomann
2d5ab5c862
OPENJPA-2289: Applied Albert's patch to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1415702 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 15:39:17 +00:00
Helen Xu
af3df6bd11
OPENJPA-2282 do not append escape clause by default.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1413890 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 22:02:44 +00:00
Heath Thomann
0633d68005
OPENJPA-2196: Made an update to the message which was added to localizer.properties via this JIRA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1406249 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 17:53:32 +00:00
Richard G. Curtis
60b97e307f
OPENJPA-2292: Pool CancelPreparedStatements to reduce object allocations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1405929 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 19:55:44 +00:00
Richard G. Curtis
2980c1901e
OPENJPA-2280: Reverting previous commits.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1404317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 19:45:06 +00:00
Richard G. Curtis
0988966e5c
OPENJPA-2280: Change AbstractDB2Dictionary numeric type mapping from DOUBLE to DECIMAL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1398979 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 20:30:31 +00:00
Albert Lee
4ca0cdc92c
OPENJPA-2275 - Enhancements for SchemaTool extension. Contributed by Francesco Chicchiriccò.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396145 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 18:09:37 +00:00
Albert Lee
a06d373573
OPENJPA-2247 Complete fix for 1x1 bi and mx1 uni relationships of the described problem.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392661 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:42 +00:00
Richard G. Curtis
e424097b56
OPENJPA-2269: Fix duplicate key exception when inserting into sequence table on multithreaded init.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391185 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 19:36:44 +00:00
Richard G. Curtis
837638b91b
OPENJPA-2264: Change PreparedStatementManagerImpl.logSQLWarnings to take a Statement rather than a PreparedStatement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1388137 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:55:21 +00:00
Albert Lee
bc29ef104d
OPENJPA-2255 Enable join table id columns to use the column length from the target instead of hard-coded db specific default column length.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1379687 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 04:13:26 +00:00
Jody Grassel
9e9b0a7ae3
OPENJPA-2149: Criteria.function adds wrong casts to parameters making it unusable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1376659 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 19:27:22 +00:00
Albert Lee
c3169ccf36
OPENJPA-2242 - Extends procedure call parameter String cast length if value length is greater than the default length
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1371269 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:01:32 +00:00
Richard G. Curtis
a55000a4be
OPENJPA-2229: Honor JoinColumn.name when mapping a uni-directional OneToOne that is in a SecondaryTable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1369042 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:33:00 +00:00
Albert Lee
654f835222
OPENJPA-2196 - Commit contribution by Scott Parkerson.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1365688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 18:30:31 +00:00
Jeremy Bauer
0506e9f0b5
OPENJPA-2236 put try/catch around connection info trace in DBDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1363627 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 02:51:52 +00:00
Richard G. Curtis
4b04ef53cf
OPENJPA-2228: Fix SQLBuffer when using an Entity with an EmbeddedId that has multiple pks and QuerySQLCache is enabled. Patch contributed by Helen Xu.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1362679 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 21:59:10 +00:00
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