Commit Graph

1083 Commits

Author SHA1 Message Date
Pinaki Poddar 14a0241792 OPENJPA-1440: Allow COUNT(*) syntax when DBDictionary.useWildCardForCount=true
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892947 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 19:55:58 +00:00
Fay Wang d189eac9dd OPENJPA-1438: fix wherePrimaryKey for entity using derived identity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892430 13f79535-47bb-0310-9956-ffa450edef68
2009-12-19 04:50:24 +00:00
Fay Wang 5d9f08e728 OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +00:00
Catalina Wei 9e8b0ded0b OPENJPA-1401 Inheritance using Join Strategy may fail in cross join JPQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891476 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:31:44 +00:00
Fay Wang 8410bc88c6 OPENJPA-1435: remove null element from the coll
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891417 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 20:33:31 +00:00
Michael Dick 40f017a2e9 OPENJPA-714:
Check l1 cache when looking for managed instances when cascading.
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891120 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 04:17:43 +00:00
Fay Wang 8dff017694 OPENJPA-1431: fix @Temporal annotation when used in conjunction with @Column and @ElementCollection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891035 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 22:26:11 +00:00
Richard G. Curtis 3067245dac OPENJPA-1224: Updating DBDictionaries to support setting precision on a BigDecimal column.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890486 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 21:31:31 +00:00
Donald Woods 60cae2ff51 OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +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
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
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
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
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
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 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
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
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 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 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 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
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 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 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 0d0daed2cb Literal value for empty disjunction and conjunction
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@836023 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 22:18:32 +00:00
Pinaki Poddar 6e37c5f34c Use decorator pattern for Criteria Query tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835961 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 19:29:48 +00:00
Michael Dick f6327de653 OPENJPA-1173:
Updating PostgreSQL driver.
Submitted by: Tim McConnell

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835716 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 03:04:03 +00:00
Michael Dick 2271a54167 OPENJPA-1383:
Setting DateFormat.SHORT and LOCALE.US in testcases.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835445 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 17:03:34 +00:00
Pinaki Poddar 091109041f OPENJPA-1047: Prohibit Table annotation or XML descriptor element for MappedSuperclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835293 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 08:12:40 +00:00
Pinaki Poddar 8c952771dc OPENJPA-1047: Prohibit Table annotation or XML descriptor element for MappedSuperclass.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835292 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 08:10:05 +00:00
Pinaki Poddar 70fc46f93e OPENJPA-459: Bulk update using a join instead of a subselect
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835257 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 06:35:31 +00:00
Pinaki Poddar 6f11e4d983 OPENJPA-1381: Ignore cached target query when lock mode is set
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835220 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 04:14:55 +00:00
Fay Wang 983b34b68e OPENJPA-1380: queryCache is not refreshed for cross-join jpql.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 20:40:18 +00:00
Jeremy Bauer ab18db113b OPENJPA-1248 Set null or empty_lob as appropriate when inserting a new streaming lob for update on Oracle. Also configured test to retain connection over the life of the tx and updated manual to document this requirement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834564 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 17:53:32 +00:00
Richard G. Curtis 19eb9f2615 OPENJPA-1379: Fixed locking problem in AbstractQueryCache when using timestamp eviction policy and added new test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834252 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 22:02:15 +00:00
Jeremy Bauer 218f57a731 Fixed minor syntax bug in ORM file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834181 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 19:29:15 +00:00
Donald Woods 00fcf4cfd3 OPENJPA-839 fix pom data so unprovided depends will be pulled automatically by maven and mark JAXB depends as optional
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832878 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:35:07 +00:00
Pinaki Poddar faf2966816 OPENJPA-1334: Refresh should ignore cache.retrieve.mode settings. Assorted changes in property processing for usability
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832874 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:18:38 +00:00
Jeremy Bauer f0ad193611 Fixed test case failure which occurs on DB platforms that use non-default max embedded LOB size.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832816 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 17:48:29 +00:00