Commit Graph

3088 Commits

Author SHA1 Message Date
Pinaki Poddar e5ba74a9fc OPENJPA-1424: Fix. Do not lookup extraFieldData with another mapping's field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889798 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:27:05 +00:00
Michael Dick 82aece9711 OPENJPA-1326:
Set schema names for Sybase when creating new indexes and primary keys.
Submitted By : BJ Reed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889772 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 19:08:01 +00:00
Pinaki Poddar 4515e2f5da OPENJPA-1425: Lieralize value if they appear in selection clause for databases that do not support parameters in selection terms.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889646 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 15:09:03 +00:00
Pinaki Poddar b1ee063aa4 OPENJPA-1425: Lieralize value if they appear in selection clause for databases that do not support parameters in selection terms.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889490 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 02:26:13 +00:00
Pinaki Poddar 77c3242465 OPENJPA-1334: Assign default named cache to PCData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889449 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 22:43:45 +00:00
Michael Dick 2baa87b040 Doc update for connectionRetainMode always
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889360 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 18:45:16 +00:00
Pinaki Poddar 2578261469 Making code compatiable with OpenJPA coding standards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:18:20 +00:00
Pinaki Poddar 658f01ee38 OPENJPA-1412,979: Adding Eclipse Plugin with complete Maven/Tycho build script and tests. It is also the first instance of a non-committer contribution
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 00:00:07 +00:00
Fay Wang 61dc996dc9 OPENJPA-1348: remove @AllowFailure from the test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888572 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:03:08 +00:00
Pinaki Poddar 92af878a15 Tests run only on Derby because uses database specific DDL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888560 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 20:28:00 +00:00
Donald Woods 45bc22baa3 OPENJPA-1348 Embeddable data not persisted when using WriteBehind cache flush operation. Patch from Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888497 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:54:12 +00:00
Richard G. Curtis c1e0b6bd1c OPENJPA-1414: Performance improvements for detach processing. Patch contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888481 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:53:56 +00:00
Pinaki Poddar 70518a3685 Print class loader when metadata processing fails
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888476 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:38:20 +00:00
Pinaki Poddar 89fe979f49 Relax metadata parsing flow
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888475 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:37:19 +00:00
Pinaki Poddar 6896c31d60 Use generic type argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888473 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:36:19 +00:00
Richard G. Curtis d17c70965d OPENJPA-1415: Suppress batched OLE messages.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888453 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:03:56 +00:00
Pinaki Poddar b831319443 OPENJPA-1397: Allow some columns of compound key to be null.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888418 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 14:52:17 +00:00
Pinaki Poddar 8607e0b3b4 OPENJPA-1397: Allow some columns of compound key to be null.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888417 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 14:51:44 +00:00
Fay Wang 3f3d586c73 OPENJPA-1413: fix NPE when update using CASE expression on Derby
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886991 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 23:42:00 +00:00
Fay Wang f697798fd8 OPENJPA-782: fix default element collection table name to comply with the Spec
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886883 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 19:11:45 +00:00
Fay Wang 123e0b6120 OPENJPA-459: fix bulkUpdate for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 06:36:36 +00:00
Albert Lee d488b471f5 OPENJPA-1408 - Do not collect any persistence.xml/orm.xml in the persistence jdbc test base class jar file to avoid possibly entity enhancement problem down the road.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886337 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 23:13:30 +00:00
Pinaki Poddar 7cebf2ed25 Use generic type for Result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886290 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:44:08 +00:00
Fay Wang 8a0f2da8fd OPENJPA-931: derived identity support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886055 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 05:45:56 +00:00
Pinaki Poddar 2353db803d OPENJPA-1409: Missing from TeamCity commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886045 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 03:55:09 +00:00
Pinaki Poddar 1aaa1aa086 OPENJPA-1409: Preserve type for currentDate/Time expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885989 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:51:01 +00:00
Pinaki Poddar ab52f1fa03 remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885978 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:36:16 +00:00
Milosz Tylenda 583a6366fc Fix TestMultipleSchemaNames so that schemas are created on PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885965 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:06:49 +00:00
Pinaki Poddar bc7da97658 Print class loader when metadata processing fails.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885955 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:46:29 +00:00
Albert Lee eea93c8346 OPENJPA-1408 - Add test binary and source jars to modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885942 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:35:28 +00:00
Milosz Tylenda 110cb20e79 OPENJPA-1248: Improve LOB streaming with PostgreSQL when connections are being wrapped by data source; refactor and modify test case not to run Reader LOB tests while on PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885935 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:13:30 +00:00
Richard G. Curtis 2c00f18f0c OPENJPA-1400: Fix PersistenceCapable.pcIsDetached() when using no statemanager and version is zero.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885872 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:13:01 +00:00
Donald Woods dce2cd8c6f revert osgi changes that were included in r885573, so they can be committed against a JIRA for tracking
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885599 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 22:33:25 +00:00
Donald Woods 05226837fd add missing or incorrect license headers found by rat plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 20:08:15 +00:00
Pinaki Poddar 69517ce840 Save NPE on getting super type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885526 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 18:22:06 +00:00
Albert Lee 36a6df375b Avoid dependency on src folder from test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885524 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 18:10:01 +00:00
Albert Lee cbbe382ecd OPENJPA-1402 - Improve concurrency by not locking relation field whenever appropriate for mixed lock manager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@884744 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 05:11:21 +00:00
Pinaki Poddar a1221ea36d Special comparison for two boolean constants
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@884265 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:52:36 +00:00
Pinaki Poddar 3d07bcd372 Special comparison for two boolean constants
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@884233 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 19:32:15 +00:00
Pinaki Poddar d4010d13e1 Reduce hint handling construction cost
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883982 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 05:41:07 +00:00
Pinaki Poddar 9438918465 Cut down processing cost for identical type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883895 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 22:05:26 +00:00
Pinaki Poddar 5d765ea05b OPENJPA-1386: Improve handling of imports that can hide each other
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883846 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:12:00 +00:00
Pinaki Poddar 0635172cbb Set proper return type on evaluated expression.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883808 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 18:37:52 +00:00
Albert Lee f6a6ee15f2 OPENJPA-1394 - DB2 supports Order By clause with recording locking using "WITH R*" construct. By enabling this feature in the DB2 dictionary, row locking can be perform with the fetch and eliminate the time window other thread snike in to fetch the same row.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882358 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 23:28:45 +00:00
Pinaki Poddar 0291158f58 OPENJPA-1350: Test case (by Rick Curtis) to test early registration of type alias to avoid/minimze risk of multi-threaded repository initialization. Original change was revision 826944
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882285 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 20:37:45 +00:00
Fay Wang c3a856faa0 OPENJPA-1396: fix metadata-complete problem so that it will override @Transient annotation in the entity class
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882172 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 15:12:36 +00:00
Pinaki Poddar 9f0b7abbee Run CriteriaTest on MySQL as well.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881977 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 22:44:01 +00:00
Pinaki Poddar 96c723b3cb Works for MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881772 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 13:33:04 +00:00
Pinaki Poddar f1451e5fd8 OPENJPA-1392, OPENJPA-1393: countDistinct() and integer return type for size()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881638 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 00:53:03 +00:00
Michael Dick 27996efb48 OPENJPA-1384:
Try current classloader when loading DBDictionary.
Submitted By: B.J. Reed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881613 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 23:09:57 +00:00