Mark Struberg
69f3a6e1c9
OPENJPA-2534 cleanup DBDictionary alias handling
...
use class.getName() to prevent typos - no functional change yet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1650957 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 19:52:59 +00:00
Heath Thomann
b659ac2578
OPENJPA-2534: A boolean is not converted correct when using the hint 'UseLiteralInSQL' - applied Rick's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1636474 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 23:48:24 +00:00
Jody Grassel
4540f82216
OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1636415 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 18:40:59 +00:00
Jody Grassel
319bb37fe1
OPENJPA-2525: Use of JoinColumn targets to another joinColumn key exposed as an attribute will cause a ConstrainViolation exception on persist
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1627091 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 17:03:48 +00:00
Heath Thomann
077ad2b446
OPENJPA-2494: A default Schema defined in a PU default (<persistence-unit-defaults>) in an orm.xml file is not being honored.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1626916 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 23:06:18 +00:00
Albert Lee
3eaaa0c4b2
OPENJPA-2516 - Aggregate connection property for Driver.connect
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1610313 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 22:38:03 +00:00
Heath Thomann
3f33d76a34
OPENJPA-2476: Fixed OptimisticLockEx due to rounding of a Timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1591541 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 03:24:11 +00:00
Heath Thomann
833031ba61
OPENJPA-2286: ArgumentException: Attempt to compare incompatible types class java.util.Date and class org.apache.openjpa.jdbc.sql.Raw
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1580972 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 18:26:36 +00:00
Heath Thomann
873daf3531
OPENJPA-2475: A query with LEFT FETCH JOIN returns incorrect results - applied fix to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1580432 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 02:38:08 +00:00
Richard G. Curtis
51e2b70be5
OPENJPA-2482: Cache column alias on colum+pathjoins rather than just column.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1576505 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 21:12:12 +00:00
Richard G. Curtis
48eaa1aef1
OPENJPA-2022 : Minor change to SchemaGenerator. Patch contributed by Jason Zwolak.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1569106 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 20:38:48 +00:00
Heath Thomann
d802d74930
OPENJPA-2453: Add support to retain milliseconds of 'un-rounded' Date field.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1566872 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 23:55:57 +00:00
Jody Grassel
bcf46e516c
OPENJPA-2423: Added null-check to DB2Dictionary update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564537 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 22:23:09 +00:00
Jody Grassel
4e8732d4ae
OPENJPA-2450: Option to disable execution of ALTER SEQUENCE...INCREMENT BY statement for sequences.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564080 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 21:48:45 +00:00
Richard G. Curtis
d4425f5799
OPENJPA-2466: Fix checkstyle problem.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1550731 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 14:03:11 +00:00
Richard G. Curtis
7c0c4a0a30
OPENJPA-2466: Update ReverseMappingTool to optionally write generated class to a String.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1550626 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 03:26:06 +00:00
Heath Thomann
28cad3351c
OPENJPA-2449: refresh(PESSIMISTIC_WRITE) generates seperate SQL for the lock - applied to trunk Albert Lee's patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1539200 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 23:47:16 +00:00
Mark Struberg
08035c10ef
OPENJPA-2200 remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536637 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:11:46 +00:00
Mark Struberg
092e70e0ac
OPENJPA-2018 fix handling of Arrays in Select IN statements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536439 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 17:43:21 +00:00
Mark Struberg
70f1188d19
release preparation upgrade trunk to 2.4.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535565 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:39:43 +00:00
Mark Struberg
a76249e143
OPENJPA-2440 close connection after not using it anymore
...
this prevents leaks like the one reported by rmannibucau.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533641 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:28:57 +00:00
Heath Thomann
83dab92168
OPENJPA-2435: Version field in a projection always returned as an Integer. Merged 2.1.x changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533289 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 23:28:31 +00:00
Heath Thomann
bb743b5f15
OPENJPA-2343: Version field returns null when explicity projected from a JOIN in SELECT clause - based fix off of patch provided by Howard Kelsey. Merged 2.2.x commit to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533227 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 19:46:14 +00:00
Jody Grassel
dc36e9ae8f
OPENJPA-2438: EmbedFieldStrategy.containsEmbeddedResult() optimization fails under certain native sql query conditions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533094 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 14:48:16 +00:00
Mark Struberg
35c91eef22
OPENJPA-2221 AbstractValueHandler map() fix applied to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533047 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 11:04:35 +00:00
Jody Grassel
70ccfae92f
OPENJPA-2433: Queries with a sort clause returns fewer entries than the same query that does not have a sort clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532909 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 21:06:27 +00:00
Jody Grassel
c8e3d5dcbb
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532882 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 20:12:10 +00:00
Heath Thomann
3b94663fe2
OPENJPA-2425: SELECT fields with @ExternalValues defined returns datastore values instead of unmapped fields - applied Albert Lee's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1530368 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 17:35:57 +00:00
Jody Grassel
a3fccb40e3
OPENJPA-2432: MySQL dictionary can't be found from a valid connection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1526968 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 16:05:01 +00:00
Jeremy Bauer
9f8a682a03
OPENJPA-2366 Committing code and unit tests contributed by Austin Dorenkamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1519550 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 04:18:09 +00:00
Heath Thomann
7a9815a15f
OPENJPA-2423: Isolation level is not working properly on DB2 for JPQL queries with nested sub-queries - committed to trunk the patch/fix provided by Pinaki Poddar.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1517843 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 15:06:13 +00:00
Jody Grassel
ee6f4acc3f
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:11:17 +00:00
Heath Thomann
0aed173d4f
OPENJPA-2376: Escape character in JPQL with parameter substitution generates incorrect SQL - committed a patch sent to me by Albert Lee - merged changes from 2.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1513276 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 22:02:58 +00:00
Heath Thomann
f63e792243
OPENJPA-2387: Fix to exclude schema name when checking the length of a sequence name. Made update to ensure schema is used after length is calculated.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1508188 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 19:27:27 +00:00
Jeremy Bauer
ca76712e38
OPENJPA-1794 aggregate function with no result set must return null
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1506198 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 18:26:42 +00:00
Jody Grassel
92c4369aa1
OPENJPA-2400: MariaDB DBDictionaryFactory update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504985 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 19:58:36 +00:00
Heath Thomann
e384913eae
OPENJPA-2387: Fix to exclude schema name when checking the length of a sequence name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504721 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 23:32:10 +00:00
Richard G. Curtis
4cf336fd95
OPENJPA-2410 : Detect SystemOut/Err in code at build time. Patch submitted by Di Wu Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504673 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:34:23 +00:00
Jody Grassel
1b1b60c9a7
OPENJPA-2400: MariaDB support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501805 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:43:18 +00:00
Albert Lee
a30d93f5c8
OPENJPA-2356 Database specific adjustments for previous patch. Contributed by Di Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501256 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 13:25:21 +00:00
Albert Lee
c7b4e05b1e
OPENJPA-2391 - commit patch contributed by Di Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1496128 13f79535-47bb-0310-9956-ffa450edef68
2013-06-24 17:23:56 +00:00
Albert Lee
123e28821e
OPENJPA-2390 - commit patch contributed by Di Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1496124 13f79535-47bb-0310-9956-ffa450edef68
2013-06-24 17:05:05 +00:00
Pinaki Poddar
fa122cdfae
OPENJPA-2373: special processing path for MapsId with auto-generated identity
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469649 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 00:55:11 +00:00
Pinaki Poddar
34b223fa67
OPENJPA-2373: Add toString() for debugging
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469646 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 00:12:35 +00:00
Pinaki Poddar
3d11895269
OPENJPA-2365: Support for delete-by-query. Correction for hint processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1464082 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 15:51:52 +00:00
Pinaki Poddar
6adc2f465f
OPENJPA-2356: Use FETCH OFFSET/NEXT and ROWNUM support for DB2 familiy of databases for Range queries
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1459918 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 18:22:38 +00:00
Richard G. Curtis
fd5cc0436c
OPENJPA-2328: Fix NoSuchElementException when using HandlerRelationMapTableFieldStrategy. Patch contributed by Guillaume Chauvet.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447955 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 22:54:35 +00:00
Pinaki Poddar
4fbf3fc1f0
OPENJPA-2336: Consider database dictionary schema case while matching join column name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447945 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 22:30:34 +00:00
Pinaki Poddar
7ce7e55620
OPENJPA-2335: Set non-default value to a foreign key contrained column
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447906 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 20:33:15 +00:00
Albert Lee
05b41094b8
OPENJPA-2332 - Update "no-driver" message content for clarity.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446687 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 16:57:26 +00:00
Kevin W. Sutter
aad999df89
OPENJPA-2332. Updated the "no-driver" message and added a couple of additional Trace statements to help with debugging Datasource configuration issues.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1445220 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 16:02:12 +00:00
Kevin W. Sutter
2facc84154
OPENJPA-2326. Found an errant trace statement that is not needed. Left over from a previous commit cleanup. Too much trace is generated...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1443682 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 19:37:47 +00:00
Albert Lee
150755864c
OPENJPA-2264 - restore deleted logSQLWarning(PreparedStatement) method to maintain binary backward compatibility.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1438133 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 19:27:12 +00:00
Heath Thomann
2c3ec95860
OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:41:30 +00:00
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
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
Pinaki Poddar
2846f873c2
OPENJPA-2099: Reuse internal select by parameter rebinding
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229690 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 19:08:31 +00:00
Mark Struberg
6289157f9c
release preparation. Move trunk to 2.3.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229557 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 14:29:08 +00:00
Albert Lee
afef47f798
OPENJPA-2104 Get the proper/indirect value from BindParameter.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1227406 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 23:57:34 +00:00
Kevin W. Sutter
9cc9b97c97
OPENJPA-2087. Adding "missing" methods on the concrete JDBC classes to allow building with Java 7. Committing this change on behalf of Jacob Nowosatka.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1226933 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 20:04:38 +00:00
Pinaki Poddar
da004e608e
OPENJPA:2099: Separate bind parameter and select construction logic
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1225592 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 16:54:10 +00:00
Pinaki Poddar
db415aa984
OPENJPA:2099: rollback revision 1225299
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1225348 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 21:36:25 +00:00
Pinaki Poddar
fab4535961
OPENJPA-2099: make use of generic types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1225299 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 19:05:52 +00:00
Pinaki Poddar
14d8109f95
OPENJPA-2099: Restore getColumns() method
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1224782 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 18:08:35 +00:00
Pinaki Poddar
ffd2a7bfed
OPENJPA-2099: Introduce bind parameter. Remove direct string appending to Select
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1222853 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 21:13:35 +00:00
Pinaki Poddar
e4a94c6cf8
OPENJPA-2099: Introduce bind parameter. Remove direct string appending to Select
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1222818 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 19:55:46 +00:00
Kevin W. Sutter
12e33c9af3
OPENJPA-2087. Removing the use of the ConcreteClassGenerator. Committing this change on behalf of Jacob Nowosatka.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1214975 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 22:28:29 +00:00
Richard G. Curtis
e24439984b
OPENJPA-2068: Optimized calendar creation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1212503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:30:58 +00:00
Michael Dick
9305834478
Undo mainline changes from previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1212229 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 02:40:31 +00:00
Michael Dick
6595f3125e
Adding OpenJPA patch tool
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1212228 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 02:36:41 +00:00
Albert Lee
b66ea198ae
OPENJPA-2069 Tolerate concurrent sequence alternation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1201383 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 01:25:18 +00:00
Albert Lee
f70dd22afb
OPENJPA-2073 Tolerate conf exception for no data source configuration so that live db2 connection is not required for MappingTool invocation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1200919 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 15:33:58 +00:00
Albert Lee
5fafa802aa
OPENJPA-2069 Update db sequence's INCREMENT BY value to match the allocationSize specified in @SequenceGenerator
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1199921 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 19:12:34 +00:00
Richard G. Curtis
3d5b44956d
OPENJPA-2057: Reverting previous commits.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1197994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 17:17:26 +00:00
Pinaki Poddar
3494fab794
OPENJPA-2057: Change classloading scheme
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190716 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 00:44:11 +00:00
Ravi Prakash Palacherla
201701459a
OPENJPA-2066 Edge case in OPENJPA-1227. openJPA fails to create a join and thus returns wrong data when a collection is selected from superclass and another field is selected from subclass two or more levels down the hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1189858 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 16:42:11 +00:00
Milosz Tylenda
b5859a740b
OPENJPA-2056: Use single backslash in searchStringEscape on PostgreSQL 9.1 and later.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1180585 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 11:11:58 +00:00
Pinaki Poddar
4a005fe340
useful error message for connection establishment problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1178636 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:27:44 +00:00
Pinaki Poddar
accc2e01fb
useful error message for connection establishment problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1178635 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 23:24:20 +00:00
Michael Dick
2c80991f6a
OPENJPA-2045: Remove NAME from default list of reserved words. Add it explicitly for FoxPro, Access, Pointbase and Informix.
...
Submitted by Jacob Nowosatka
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1170873 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:37:19 +00:00
Pinaki Poddar
e0568bde7d
Reduce log message verbosity
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1164520 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 13:08:33 +00:00
Pinaki Poddar
9cf12d186b
Add error code for SQLServer database
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161289 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 21:33:48 +00:00
Heath Thomann
3842a3d1a9
OPENJPA-1691: Made update to localizer.properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1160891 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:38:37 +00:00
Milosz Tylenda
dbf066de8e
OPENJPA-867: Use 3-argument version of LOCATE-like SQL function where possible, instead of a trick with SUBSTRING.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1160003 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 15:34:37 +00:00
Michael Dick
78d8843009
OPENJPA-2040: Default to non-strict MetaData and Mapping Factories when a user provided factory class is set.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1159318 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 17:20:04 +00:00
Richard G. Curtis
ea499a8ed6
OPENJPA-2039: Update javadoc and minor formatting changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1158364 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 16:39:40 +00:00
Richard G. Curtis
e032624813
OPENJPA-2039: Update configuration properties.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1158027 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:54:40 +00:00
Richard G. Curtis
42099529a2
OPENJPA-2039: Select FKs for fields that are in the DFG, but not in active fetchplan.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1157903 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 16:36:07 +00:00
Michael Dick
eb7fb7421f
OPENJPA-2038: Add tests for tablename including schema
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1156340 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:47:24 +00:00
Heath Thomann
3598a2d8eb
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/trunk@1155394 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 15:21:06 +00:00
Heath Thomann
529827b0fb
OPENJPA-1376: Added property for forward compatibility, documented property and migration considerations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155358 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:30:29 +00:00
Heath Thomann
8a7ef392f3
OPENJPA-1691: Added property for forward compatibility, documented property and migration considerations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155056 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 18:53:55 +00:00
Michael Dick
9a974626fd
OPENJPA-2034: Update error codes for H2 database.
...
Submitted By: Prashant Bhat
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1149697 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 19:20:57 +00:00
Michael Dick
eb4e83fa27
OPENJPA-2000: Update realTypeName for Postgres to match the Postgres manual.
...
Submitted By: Jacob Nowosatka
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1149387 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 21:58:24 +00:00
Milosz Tylenda
dae5ba7def
OPENJPA-487: After simplifying SQL generation for LOCATE function, the function works on Firebird 2.1 (wow!).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143985 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 19:15:42 +00:00
Milosz Tylenda
8a85ffb402
OPENJPA-487: Simplify generated SQL for SUBSTRING and LOCATE JPQL functions by switching from JDO style to JPA style in expressions. SUBSTRING parameters are still inlined to support grouping by SUBSTRING.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1142426 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 12:32:03 +00:00
Pinaki Poddar
41f09d9226
OPENJPA-2008: Draft support for native SQL in Slice
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135806 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:33:28 +00:00
Michael Dick
b9e61a8923
OPENJPA-2013: Add TEXT to the fixed size type list for Derby and HSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133904 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:55:25 +00:00
Pinaki Poddar
5cceefda8e
OPENJPA-1050: Use generics wherever possible
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133601 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:36:45 +00:00
Michael Dick
0bcded74e1
OPENJPA-2010: Check line number and source file before logging duplicate meta data warning
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133546 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:19:03 +00:00
Michael Dick
dcf90c68eb
OPENJPA-2005: check for unexpected (null) sequence names in PostgresDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 13:28:00 +00:00
Richard G. Curtis
258cf99784
OPENJPA-1987: Do not use null table for getImportedKeys in Ingres dictionary.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1102784 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 15:09:23 +00:00
Richard G. Curtis
862e818e50
OPENJPA-1989: Flip FeildMetaData.DefaultFetchGroupExplicit flag when parsing ToOne xml relationships.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 16:19:04 +00:00
Michael Dick
aa88b32b06
OPENJPA-1725: make old behavior optional
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101519 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 16:00:44 +00:00
Michael Dick
1125b86310
OPENJPA-1725: cleanup comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101474 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 14:32:20 +00:00
Michael Dick
c159730005
OPENJPA-1725: Ignore schema when checking the length of a table name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101243 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 22:09:40 +00:00
Michael Dick
849a77b5d3
OPENJPA-1994: Add index to reserved words for MySQLDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1099899 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 18:01:54 +00:00
Richard G. Curtis
f9c5a20200
OPENJPA-1990: Skip calling back to DB2 when an exception is encountered.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097826 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 14:54:20 +00:00
Michael Dick
b6ddcab383
OPENJPA-1987: do not use null table for getImportedKeys in postgres dictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097465 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 14:06:41 +00:00
Michael Dick
69fd9dbad9
OPENJPA-1985: Check for abstime as a timestamp type for Postgres
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097160 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 16:00:37 +00:00
Michael Dick
76552a11fd
remove casts for broker factory aliases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096876 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 19:54:27 +00:00
Michael Dick
d5e20c4a11
OPENJPA-1981: check whether connection is open before calling close
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1092309 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:52:20 +00:00
Michael Dick
8544f5da4a
OPENJPA-1975: add testcase for ConnectedConfiguration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1091124 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 16:56:01 +00:00
Michael Dick
985a59afbd
OPENJPA-1975: Move default schema name code to its own method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1090025 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 21:28:32 +00:00
Richard G. Curtis
2d232cf4c0
OPENJPA-1974: Fix StackOverflow in SelectImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1089124 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 16:35:56 +00:00
Albert Lee
03d4f2f8b6
OPENJPA-1972 Update test and adapt to DB2 9.7 behavior changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087429 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 20:13:17 +00:00
Albert Lee
fd197214a9
OPENJPA-1969 - Decode HYT00 to LockTimeoutException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087028 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 17:58:32 +00:00
Albert Lee
f10e349f7c
OPENJPA-1968 Set DATETIME2 based on db version and also set the correct date_precision for DATETIME2 type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1086639 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 16:38:59 +00:00
Richard G. Curtis
2cfb4f6232
OPENJPA-1944: Properly handle a null version field.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084265 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 17:41:58 +00:00
Michael Dick
7d0de515a5
use generics, remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080955 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 17:38:43 +00:00
Michael Dick
c87edf8049
OPENJPA-1958: handle index out of bounds condition.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080948 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 17:04:36 +00:00
Milosz Tylenda
0022b991ab
OPENJPA-1376: Correctly handle the case when sequence increment is > 1.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1078811 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 15:30:25 +00:00
Richard G. Curtis
887f8977ed
OPENJPA-1954: Fix ArrayIndexOutOfBoundsException when querying on a version field that is in a MappedSuperclass.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1076370 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 20:57:03 +00:00
Milosz Tylenda
e0a0050e7b
OPENJPA-1376: Cache values of @SequenceGenerator as specified by allocationSize parameter instead of setting CACHE on database sequence. Idea submitted by Palmer Cox.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1075026 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 11:15:55 +00:00
Michael Dick
4aed0be581
Add constant - findbugs reported
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073212 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 03:17:35 +00:00
Michael Dick
91ef7813d1
OPENJPA-1555: Remove boilerplate code
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073211 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 03:15:07 +00:00
Michael Dick
c54b8ca823
OPENJPA-1944: Version defaults to 1 if the column returns null from the database
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073201 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 02:06:11 +00:00
Michael Dick
b44614d94b
OPENJPA-1939: Increase index length for DB2 and testcase workaround for OPENJPA-1948
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073042 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 16:06:05 +00:00
Albert Lee
0c37fc6e57
OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072061 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:16 +00:00
Michael Dick
61f686a300
OPENJPA-1940: Use unqualified name when looking for PK columns on Oracle.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071439 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 23:17:42 +00:00
Michael Dick
8e6a7ae331
OPENJPA_1939: increase index name length for DB2 version 9 and later
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1070993 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 18:14:46 +00:00
Albert Lee
24f976d619
OPENJPA-1938 Update timeTypeName from DATETIME to DATETIME2 to match the other date/timestamp data type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1069209 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 03:08:00 +00:00
Jeremy Bauer
d1ec54c691
OPENJPA-1935 Updated Informix dictionary to examine nested SQL exceptions when determining whether a generic exception is a lock exception. Added Informix JDBC profile to jdbc and locking poms.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068472 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 16:42:22 +00:00
Michael Dick
85a408aca7
restore missing message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1067989 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 16:02:17 +00:00
Richard G. Curtis
cc1dcd9a4c
OPENJPA-1847: Fix NPE in SchemaGenerator and formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063827 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:54:54 +00:00
Pinaki Poddar
28a0c0da86
OPENJPA-1923: Remove restriction to enclose collection-valued query parameter in parentheses. The commit ran tests locally and partially as my TeamCity agent is broken.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060094 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:15:29 +00:00
Richard G. Curtis
0549627bd2
OPENJPA-1917: Cache column alias.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1055524 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 16:58:33 +00:00
Jeremy Bauer
aedc8d9dd0
OPENJPA-1907 Use java.util.Date to java.sql.Date type mapping with DB2 on z/OS when column information is not available.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1050137 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 20:09:08 +00:00
Milosz Tylenda
dcaf2a41f1
OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - new SQL state value, fix getSequencesSQL method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1044821 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 13:53:52 +00:00
Pinaki Poddar
ccc81f0ab8
OPENJPA-1903: Parameter substitution for complex identity
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1043221 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 22:42:16 +00:00
Michael Dick
502e997b9c
OPENJPA-1902: add all reserved words to invalidColumnWordSet for SQLServer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040702 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 19:03:10 +00:00
Michael Dick
2cc69063aa
[maven-release-plugin] prepare release 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:30:48 +00:00
Fay Wang
2ef2640092
OPENJPA-1893: The test case exposes a reserved-word column name problem for Oracle and Sybase with SchemaAction='drop,add'
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040350 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 00:02:46 +00:00
Michael Dick
f56cba9777
fixing compiler warnings and minor code reformatting for QueryResultMapping
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 22:57:25 +00:00
Milosz Tylenda
685ddfecc6
OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - pagination and schema support.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039879 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 13:18:41 +00:00
Albert Lee
2700d1681d
OPENJPA-1895 add doPriv to setAccessible call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039414 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 15:27:56 +00:00
Michael Dick
a0907bfc3f
OPENJPA-1897: Add all reserved words to invalid column name set
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1038214 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 17:29:32 +00:00
Richard G. Curtis
06f8dc4c96
OPENJPA-1895: Minor performance improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037873 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 20:44:49 +00:00
Fay Wang
7178dd3f00
OPENJPA-1894: reduce the number of Strings created by SelectImpl.getTableIndex
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037819 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 18:23:34 +00:00
Milosz Tylenda
d748e46040
OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - patch provided by Georgi Naplatanov with slight modifications.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1034728 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 10:56:47 +00:00
Fay Wang
0836fba158
OPENJPA-1762: lock join table when pessimistic scope is set to EXTENDED
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032686 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 20:10:45 +00:00
Michael Dick
3c52abb73d
OPENJPA-1877: Detect XMLType column for Oracle and treat as XML
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032646 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 17:33:41 +00:00
Milosz Tylenda
0175a1a2e5
OPENJPA-1864: Fix the class comment.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032321 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 17:28:54 +00:00
Fay Wang
4b19d0fa4a
OPENJPA-1762: lock join table when extended pessimistic scope is used
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032116 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 17:24:17 +00:00
Michael Dick
6d423c5b6b
OPENJPA-1874: handle Oracle XMLType columns with @Lob annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031648 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 15:57:26 +00:00
Michael Dick
f946f8383b
OPENJPA-1870: Check if columnDefinition was provided before overriding blob type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031109 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:58:00 +00:00
Michael Dick
24e547cdcb
OPENJPA-1864: Add db dictionary for MaxDB & alias in JDBCConfImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030579 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 18:07:07 +00:00
Richard G. Curtis
2f6baf7119
OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030479 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:51:28 +00:00
Donald Woods
eb2bf2acce
OPENJPA-1759 Use new DATETIME2 type in MSSQL2008 for new tables with DATE or TIMESTAMP columns, but 3.0 driver still doesn't handle 2.0 created tables with DATETIME columns....
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030235 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 21:28:23 +00:00
Donald Woods
3b3063899b
OPENJPA-1764 protect against java.lang.NoClassDefFoundError when being used in an app server but as app managed and the JVM exits quickly from under us
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030183 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:16:21 +00:00
Richard G. Curtis
aa9573698b
OPENJPA-1868: Fix checkstyle failure.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030178 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:03:22 +00:00
Richard G. Curtis
be92a72ad7
OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for openjpa-jdbc.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030156 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:24:12 +00:00
Donald Woods
900304d3c3
OPENJPA-1861 build updates to support using Maven 3.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:00:35 +00:00
Pinaki Poddar
c325e704eb
OPENJPA-1821: Defensive thread guard on reparametrization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 21:25:14 +00:00
Pinaki Poddar
81e1f23a13
OPENJPA-1851: change to more appropriate variable name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:43:35 +00:00
Pinaki Poddar
54234f6102
OPENJPA-1845: Detect query using IN expression with parameters and exclude from query cache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028393 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:18:09 +00:00
Fay Wang
c3c97f7cf3
OPENJPA-1857: fix the exception to be thrown by OpenJPA when wrong JoinColumn annotation is specified.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028095 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:55:00 +00:00
Richard G. Curtis
6a12a3c121
OPENJPA-1312: Fix equals method name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:21:15 +00:00
Donald Woods
06c1e74358
OPENJPA-1313 Incorrect hashcode()/equals() implementation(s) in RowManagerImpl. Patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027977 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:37:42 +00:00
Donald Woods
ce416a8777
OPENJPA-1312 Incorrect hashcode()/equals() implementation(s) in SelectImpl. Patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027976 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:31:24 +00:00
Donald Woods
582e91b867
OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027722 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:14:15 +00:00
Jeremy Bauer
c9bad3efcd
OPENJPA-1853 Modified DB2Dictionary to disable auto retrieval of generated keys on iSeries V5R4 and earlier.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027250 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 20:03:01 +00:00
Michael Dick
d54088a365
OPENJPA-1847: Use one connection to create schema objects.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026183 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:09:57 +00:00
Michael Dick
005a18a739
OPENJPA-1841: Use length() function to determine BLOB/CLOB nullity for Oracle.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024340 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 17:57:04 +00:00
Fay Wang
75bbc90899
OPENJPA-1837: fix the MaxEmbeddedLobFieldStrategy when there is limitation of max lob size and when the field is in an embeddable which is contained in an element collection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024306 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:14:51 +00:00
Michael Dick
4e3f42e70e
OPENJPA-1841: Allow DBDictionary to override IS NULL / IS NOT NULL clause for specific column types.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024039 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 22:07:41 +00:00
Albert Lee
fdf58d63ba
OPENJPA-1837 - reset Oracle dictionary maxEmbedded*lobSize = -1 for jdbc driver (11.2.0.x) that can handle *lob size > 4000 characters.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023925 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:48:30 +00:00
Catalina Wei
60e88f82fa
OPENJPA-1828: Query with expression IN (collection_valued_input_parameter) gives wrong result when executed the second time
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023914 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:30:48 +00:00
Michael Dick
f9cfbbfe2c
OPENJPA-1840: handle query timeouts with Sybase - SQLState JZ006:JZ0TO
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023838 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:11:30 +00:00
Michael Dick
d99e1dff36
OPENJPA-1838: allow FKs to be added when using Sybase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023351 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 18:52:21 +00:00
Michael Dick
2e11a6a90b
OPENJPA-1835: add dummy as an invalid column name for Sybase and update testcase to use DBIdentifier to get column name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022960 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:00:30 +00:00
Michael Dick
2df8af7457
OPENJPA-1832: numeric is not fixed size.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022583 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 15:36:27 +00:00
Donald Woods
5a7b1765c7
close DriverDataSource when we're done with it
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:04:57 +00:00
Donald Woods
be183a3a94
OPENJPA-1831 DataSourceFactory manipulates queryTimeout which is already in milliseconds
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021891 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 19:23:12 +00:00