Commit Graph

2772 Commits

Author SHA1 Message Date
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
Catalina Wei ee30b010dc OPENJPA-1388 JPQL named parameter using a reserved word (:vlaue) resulting in ArgumentException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881598 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:59:01 +00:00
Pinaki Poddar d797bc1eda Support default projection for untyped result class, if possible.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881566 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:10:18 +00:00
Pinaki Poddar be2ff16fe3 OPENJPA-1391: Handle untyped collection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881529 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 21:16:23 +00:00
Pinaki Poddar 481bb3d6eb OPENJPA-1390: From.join(String attr) checks any attribute not only singular attributes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881495 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 20:35:20 +00:00
Pinaki Poddar c44c17bd77 Add error messages for attribute not found exceptions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881381 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 17:13:48 +00:00
Pinaki Poddar fb82c6ad13 OPENJPA-1381: Ignore preapared query if lock mode changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881011 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 22:23:09 +00:00
Pinaki Poddar d9d6898558 OPENJPA-1051
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880980 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 21:49:59 +00:00
Pinaki Poddar 9a7bab2a6a OPENJPA-1051: Simplify check for uniqueness of column names. Patch contributed by Ravi Palacherla.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880972 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 21:41:55 +00:00
Pinaki Poddar cbde4958f3 TeamCity commits left two files behind
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880929 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 19:45:40 +00:00
Pinaki Poddar 9c275904f3 OPENJPA-1387: Revert unique colum related changes to before 880685 plus other changes after that related to OPENJPA-1051 and OPENJPA-1381.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880922 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 19:34:11 +00:00
Pinaki Poddar cfea146c29 OPENJPA-1381: Ignore preapared query if lock mode changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880891 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 18:27:20 +00:00
Pinaki Poddar 5143d0cafd OPENJPA-1387: Remove non-nullable constraint from Unique column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880868 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 17:38:16 +00:00
Pinaki Poddar 69d2415b57 OPENJPA-1387: Remove non-nullable constraint from Unique column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880865 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 17:32:21 +00:00
Pinaki Poddar 05c785704c OPENJPA-1387: Remove non-nullable constraint from Unique column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880834 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 16:29:18 +00:00
Pinaki Poddar 93ae72d15f OPENJPA-1051: Simplify check for uniqueness of column names. Patch contributed by Ravi Palacherla.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880821 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 15:58:24 +00:00
Pinaki Poddar a91e85e6db OPENJPA-1051: Simplify check for uniqueness of column names. Patch contributed by Ravi Palacherla.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880689 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 09:33:29 +00:00