Richard G. Curtis
ea8dc8b630
OPENJPA-1692: Add post creation callback to BrokerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953760 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 16:37:30 +00:00
Pinaki Poddar
d31ec1274b
OPENJPA-1686: Refactor in RelationStrategies.isRelationId()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952972 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 12:03:15 +00:00
Pinaki Poddar
a873065db7
OPENJPA-1686: A first draft of support for generic graph. Correct mapping strategy on MappedSuperClass (they are not Embeddables)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 02:43:46 +00:00
Pinaki Poddar
79b9583a46
OPENJPA-1682: Remove uncessary and incorrect method from Unique
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952386 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 19:36:44 +00:00
Pinaki Poddar
fafc33b3cd
OPENJPA-1682: Unique constraint to a column will imply the column to be non-nullable per database basis. The commit adds a new model in
...
internal schema design by making Column-Constraint relation bi-directional.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952371 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 19:08:49 +00:00
Richard G. Curtis
97232e67b4
OPENJPA-1612: Reverting change 942871 to restore previous behaviour.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952244 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 14:28:33 +00:00
Milosz Tylenda
18dd7e8542
OPENJPA-1667: Fix incorrect column type for LOB streaming in MySQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@947144 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 19:49:58 +00:00
Richard G. Curtis
2765b756bc
OPENJPA-1612: Check for having a relationship to a type that is mapped to a blob field.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@942871 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 19:46:21 +00:00
Pinaki Poddar
cb77af09f2
OPENJPA-1657: Save NPE for some database connect on null properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@942815 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:33:06 +00:00
Pinaki Poddar
7bd2b4ae49
OPENJPA-1387: Unique should not impose non-null constraint automatically.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941362 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:17:31 +00:00
Michael Dick
7851202ec6
OPENJPA-1641: Try JDBC standard column names as well as Sybase specific ones
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938610 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 19:19:38 +00:00
Fay Wang
aef5474423
OPENJPA-1596: use unqualified name to check index name length
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938571 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:12:26 +00:00
Fay Wang
5e6d42a5bc
OPENJPA-1596: fix index name for DB2 zOS when schema is present.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936449 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:11:45 +00:00
Pinaki Poddar
53e63d202f
OPENJPA-703: Disable query statistics by default.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935073 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:35:42 +00:00
Jeremy Bauer
5de5b5136f
OPENJPA-1605 Correct regression issue with table generation issue in schema generator. Only the first table name returned in a generic DBMD query was used to populate the schema. This broke the reverse mapping tool, which uses a generic query by default.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934493 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 17:24:02 +00:00
Fay Wang
8a034d6717
OPENJPA-1627: fix OrderBy with EmbeddedId.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934101 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:30 +00:00
Fay Wang
53325aed75
OPENJPA-1608: the RetainUpdateLock is not supported for IDS 11.10
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932643 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 22:48:35 +00:00
Donald Woods
20a07726f9
OPENJPA-1616 Fix TestTimeoutException tests for Oracle and re-enable for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932139 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:54:21 +00:00
Pinaki Poddar
92914c0a6d
OPENJPA-703: Use weak map for caches
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932117 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:16:54 +00:00
Donald Woods
c6e4e39fe4
OPENJPA-1616 add comment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932027 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:42:08 +00:00
Donald Woods
e16c823464
OPENJPA-1616 Fix TestTimeoutException test failures on MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932025 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:39:18 +00:00
Donald Woods
5e62924fce
OPENJPA-1616 Fix TestTimeoutException test failures on MSSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931693 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 21:22:52 +00:00
Albert Lee
4555af14af
OPENJPA-1609 - Commit contribution by Jody Grassel.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931635 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 18:21:13 +00:00
Donald Woods
b2b922e1c8
OPENJPA-1614 Testcase failures in TextException on MSSQL due to missing <object-exists> value in sql-error-state-codes.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931535 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 13:31:43 +00:00
Fay Wang
f03f7b4f61
OPENJPA-1608: fix pessimistic write lock in informix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930889 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 15:57:13 +00:00
Michael Dick
8579593f88
OPENJPA-1603:
...
Decouple the QueryCache from the DataCache. Code contributed by Mike Dick and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:42:29 +00:00
Pinaki Poddar
8abf57d913
OPENJPA-1294: New connection is not reference counted
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929184 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 16:33:16 +00:00
Donald Woods
cb0ca8f009
OPENJPA-1597 Rollback MSSQL reserved word, but update Rider test entity failure on MSSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928241 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:56:32 +00:00
Donald Woods
a9648ec87e
OPENJPA-1597 Discovered 'rule' is a MSSQL reserved word
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928236 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:23:16 +00:00
Michael Dick
666ec6c6de
OPENJPA-1550:
...
Set failedObject on RollbackException.
Submitted By: Heath Thomann
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:43 +00:00
Fay Wang
53dddbeb8f
OPENJPA-1596: make valid index name for DB2 zOS
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926741 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 19:27:24 +00:00
Catalina Wei
148db96a8c
OPENJPA-1585: Additional trace helps users to relate query or entity actions to SQL pushdowns
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 04:11:05 +00:00
Fay Wang
13e3c48cae
OPENJPA-1580: disable query cache when pagination is involved.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925048 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:52:33 +00:00
Pinaki Poddar
15c64cb8f4
OPENJPA-1584: Reparameterization when main and subquery using share query parameters in same or different declaration order
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925036 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:01:30 +00:00
Pinaki Poddar
8c1175054f
OPENJPA-1583: Timestamp version field in bulk update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924938 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 18:32:19 +00:00
Pinaki Poddar
4f11cba18a
OPENJPA-1565: Some MySQL drivers return 0 error code for timeout exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924651 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:54:26 +00:00
Pinaki Poddar
cb895a2b25
OPENJPA-1565: Oracle exception code 72000 is not fatal
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924638 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:26:36 +00:00
Pinaki Poddar
1b20902b50
OPENJPA-1565,OPENJPA-1578:
...
Modify tests to raise correct lock/query exception
Fill in details in exception
Use retreive mode while initializing not store mode
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 03:42:50 +00:00
Fay Wang
41ce320cc0
OPENJPA-1577: disable query cache when user-defined field strategy is used.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924055 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 23:41:36 +00:00
Pinaki Poddar
0f5508e680
Better diagnostic messages on why a query can not be cached
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 19:10:49 +00:00
Pinaki Poddar
992ba73a71
OPENJPA-1565: Raise correct Query/LockTimeout exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923928 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:39:02 +00:00
Pinaki Poddar
f3b00d7801
OPENJPA-1565: Raise correct Query/LockTimeout exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923864 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 16:47:15 +00:00
Pinaki Poddar
845f9b5018
OPENJPA-1578: Set CacheMode properties properly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923755 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:30:53 +00:00
Catalina Wei
a5ca9aae2d
OPENJPA-1573: Incorrect SQL for HAVING = entity variable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923589 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 06:11:18 +00:00
Pinaki Poddar
d1b0d0fd6d
OPENJPA-1575: Detect parametrized fields in a query expression to exclude queries from cache that use parameters for externized fields.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 21:07:14 +00:00
Fay Wang
d69fb9a65a
OPENJPA-1570: fix @Strategy inside MappedSuper class
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922688 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:14:35 +00:00
Catalina Wei
8f45b5bf0b
OPENJPA-1568: Make createConnectionFactory() in JDBCConfigurationImpl public
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 22:31:45 +00:00
Catalina Wei
e2df6f49e4
OPENJPA-1568: Make createConnectionFactory() in JDBCConfigurationImpl public
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922399 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 19:18:07 +00:00
Catalina Wei
6503eabef5
OPENJPA-1550: When batchLimit=-1 or >1 and an exception is caused, the params and failedObject are missing from the resultant exception.
...
avoid NullPointerException for JDBC provider using PureQUery APIs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922355 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 17:17:23 +00:00
Pinaki Poddar
f04031edc1
OPENJPA-1565: Raise correct timeout exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922290 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:17:58 +00:00
Pinaki Poddar
4be5a5a194
OPENJPA-1565: Raise correct time out exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922288 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:08:16 +00:00
Michael Dick
dd210a2831
OPENJPA-1558:
...
Check whether the result type is in the same entity hierarchy before using discriminator value when loading a relationship.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921620 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 23:19:25 +00:00
Fay Wang
2798b0dd73
OPENJPA-1556: fix @Strategy inside Embeddable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921436 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:29:02 +00:00
Donald Woods
f82184314e
OPENJPA-1550 Fix comment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921177 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:34:06 +00:00
Donald Woods
695bd9c4bf
OPENJPA-1550 When batchLimit=-1 or >1 and an exception is caused, the params and failedObject are missing from the resultant exception. Original patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921174 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:29:18 +00:00
Craig Russell
17652a870b
OPENJPA-1530 change TYPE to ENGINE in DDL for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920979 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 16:48:50 +00:00
Michael Dick
c58af533fb
OPENJPA-1178:
...
Remove uneeded imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:07:27 +00:00
Michael Dick
62092d763a
OPENJPA-1118:
...
Remove Numbers.valueOf() - prefer autoboxing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:43:37 +00:00
Donald Woods
82694335dd
OPENJPA-740 Handle case where size is unkown by defaulting back to old value (64KB)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920492 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:23:03 +00:00
Donald Woods
1873fcd368
OPENJPA-740 In MySQLDictionary use LONGBLOB, MEDIUMBLOB, TINYBLOB based on the column size, instead of always using BLOB which can only hold 64KB. Patch contributed by Simone Gianni.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920476 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 19:35:47 +00:00
Donald Woods
4b3d520ee9
OPENJPA-1492 Change access on ReverseMappingTool#getAnnotationsForMeta(Object) to public. Request from Laird Nelson.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920404 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 17:07:32 +00:00
Michael Dick
4dc0267629
OPENJPA-1551:
...
Storing connectionFactoryName in BrokerImpl - this factory will be used at JDBCStore creation time to override the value from the configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919557 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 19:35:53 +00:00
Fay Wang
8248d81a68
OPENJPA-1547: fix subquery syntax error for NOT IN (subquery with MEMBER OF)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918188 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 21:24:01 +00:00
Jeremy Bauer
208f5388ce
OPENJPA-1540 Modified Informix dictionary to detect non-delimited identifier case for the Informix driver. Also added missing method override.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917727 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 21:29:01 +00:00
Pinaki Poddar
11149ec5fb
OPENJPA-1543: Remove fragmented messages. Change to TRACE level logging.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917657 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 19:16:22 +00:00
Pinaki Poddar
c1a3272872
OPENJPA-1543: Remove fragmented messages. Change to TRACE level logging.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917656 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 19:12:21 +00:00
Fay Wang
ea49b4cc6a
OPENJPA-1536: fix the where clause in sql generation problem when join table strategy is used in toOne eager fetch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916106 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 03:33:00 +00:00
Kevin W. Sutter
baa3705699
OPENJPA-1516. Additional comments on the free() method to indicate that callers need to ensure thread-safety.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915472 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 18:35:44 +00:00
Pinaki Poddar
2f3da18be0
Throw informative error messages on bad enum field
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911530 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:11:36 +00:00
Pinaki Poddar
7b6c11a6cd
OPENJPA-924: Remove logging from FinderCache -- such low-level details seem to confuse rather to inform the user.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911496 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 17:23:06 +00:00
Fay Wang
3854f9b5e6
OPENJPA-931: support nested embeddedId in IdClass during remove
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@907853 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 00:17:50 +00:00
Michael Dick
69c5eb11ff
OPENJPA-1498. Minor message file improvements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906993 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:37:54 +00:00
Fay Wang
814fef0f7d
OPENJPA-1493: performance fix in getTableIndex
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906614 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 19:38:27 +00:00
Catalina Wei
ec0eeedf35
OPENJPA-1493: Performance improvement in SelectImpl.getTableIndex() for JPQL without subselect
...
The JUnit regression uncovers an issue in Criteria Query
add @AllowFailure in TestTypesafeCriteria.testValues5(), it is found the expected sql is incorrect. A separate issue will address this problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905898 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 05:26:58 +00:00
Fay Wang
1a216e9fb7
OPENJPA-1483: support count distinct compound key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905540 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 07:58:31 +00:00
Milosz Tylenda
97496b0bd6
OPENJPA-1367: Improvements for H2 database. Commit patch provided by Prashant Bhat with slight modifications. Information on CROSS JOIN provided by Thomas Mueller.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905001 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 11:15:01 +00:00
Fay Wang
1000f39d35
OPENJPA-1486: lazily fetched embeddable should not be materialized in the query result
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904277 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 21:57:48 +00:00
Jeremy Bauer
671417a73a
OPENJPA-1115 Fix auto gen id related jUnit regressions on PostgreSQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902177 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 17:02:13 +00:00
Fay Wang
b08a0d179b
OPENJPA-1455: VALUES CURRENT SCHEMA fails in DB2 on zOS. Change the SQL to SELECT CURRENT SCHEMA FROM SYSIBM.SYSDUMMY1.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901775 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 17:03:33 +00:00
Jeremy Bauer
bad0838e00
OPENJPA-1115 Fix problem with sequence schema matching due to extraneous spaces and fix some testcase failures on non-Derby DB platforms that are caused by naming collisions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901525 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 04:30:33 +00:00
Pinaki Poddar
d23199bf20
OPENJPA-1474: Setting intermediate field should take into account the loaded state
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901464 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:31:06 +00:00
Pinaki Poddar
b94d23268f
OPENJPA-1473: Replace null object with non-null default for aggregate expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901454 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:16:03 +00:00
Jeremy Bauer
f4d0966de5
OPENJPA-1115 Enabled delimited id test on MySQL and fix identifier conversion related bugs.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901362 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:14:19 +00:00
Jeremy Bauer
9e73688412
OPENJPA-1115 Eliminate alias conversion on configurations that do not require conversion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900985 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:33:11 +00:00
Jeremy Bauer
245bb82d34
OPENJPA-1115 Fixed many naming collisions in delimited id tests. Corrected bug in schema group that broke fully qualified sequence names.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900955 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 21:00:25 +00:00
Fay Wang
d31639d7b9
OPENJPA-931: support nesting EmbeddedId in IdClass
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900231 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 22:39:32 +00:00
Jeremy Bauer
fadd48fe5b
OPENJPA-1115 Remaining delimited identifiers support, including pluggable identifier utility. Includes code and test contributions from Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899784 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 19:38:18 +00:00
Pinaki Poddar
7b53696e6e
OPENJPA-1464: Reparameterize with enum-valued parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899780 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 19:35:16 +00:00
Pinaki Poddar
db20d8a011
OPENJPA-900: Reduce reflection cost. Enumerate hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:25:25 +00:00
Pinaki Poddar
b5a412fd42
OPENJPA-900: Reduce reflection in hint processing. Redesign with explicit hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899529 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:23:15 +00:00
Catalina Wei
dad4ad1952
OPENJPA-1461: Incorrect Oracle CREATE TABLE DDL for XML column
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899528 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:12:44 +00:00
Donald Woods
55bf86a4c8
OPENJPA-1456 Replace StringBuffer usage with StringBuilder for minor performance/scalability improvement
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898168 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 03:31:11 +00:00
Fay Wang
e53378bd26
OPENJPA-1455: fix the way to get current schema per Milosz's suggestion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898118 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 23:43:38 +00:00
Richard G. Curtis
0efea474f2
OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Fay Wang
e303892e2a
OPENJPA-1455: fix add column problem involving tables with same name in multiple schemas for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897056 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 23:42:31 +00:00
Fay Wang
3320287392
OPENJPA-1020: fix class cast exception when retrieving eager persistent collection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895788 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 21:17:35 +00:00
Milosz Tylenda
c6459391c8
OPENJPA-1248: Add limited support of LOB streaming on SQL Server; wording corrections.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895453 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 17:55:35 +00:00
Milosz Tylenda
e5d2bd435f
OPENJPA-1248: PostgreSQL needs truncating LOB content on update when new content is shorter than the existing content.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895408 13f79535-47bb-0310-9956-ffa450edef68
2010-01-03 15:10:42 +00:00
Richard G. Curtis
781654af60
OPENJPA-1224: Backing out DB2 and Derby related changes to investigate in a seperate JIRA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 16:28:09 +00:00
Pinaki Poddar
ac6dab1d07
OPENJPA-1440: Allow COUNT(*) syntax when DBDictionary.useWildCardForCount=true
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892949 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 19:57:11 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Pinaki Poddar
61f9b32a49
OPENJPA-1387: Remove non-nullable constraint from Unique column.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880686 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 09:19:24 +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
Albert Lee
4991e6bdc2
OPENJPA-1142 - Propagate lock level into LockException so that the proper optimistic/pessimistic exception is translated.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835190 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 02:04:12 +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
Albert Lee
8f2ed40ac9
Use List<SQLException> generic.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834281 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 23:50:09 +00:00
Jeremy Bauer
ac531c5875
OPENJPA-1083 Fixed a mapping tool failure caused by the inability to discover and drop multi-column foreign key constraints. Multi-column FK's were not getting dropped, but got added after clearing out the tables. Trying to add an existing FK caused an exception when using Oracle.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832587 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 22:48:43 +00:00
Albert Lee
ea6499afc0
OPENJPA-1306 - Correct secondary table locking problem and test cases to match. Also fixed multiple SQLs validation test case problem.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832506 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 18:50:48 +00:00
Pinaki Poddar
d59954d4b4
Check for null clob
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832357 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 09:22:42 +00:00
Pinaki Poddar
760cf901ed
OPENJPA-1369: HSQLDB Error code for unique constraint violation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832095 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 20:40:31 +00:00
Pinaki Poddar
74b0ac1956
OPENJPA-1369: Use CONCAT function for HSQL 1.8.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832092 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 20:33:53 +00:00
Fay Wang
b646b8810d
OPENJPA-871: support JoinColumn in conjunction with MapsId annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828889 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:52:39 +00:00
Michael Dick
105d46c6ea
OPENJPA-1308:
...
Remove extraneous cast of VARCHAR to VARCHAR for DB2.
Submitted By: B.J. Reed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828772 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 16:19:17 +00:00
Jeremy Bauer
04df2fac82
OPENJPA-1115 Committing code and tests contributed by Dianne Richards. This commit cleans up some issues with manual/user specified delimiters and adds initial support for full delimiting via the delimited-identifiers element in orm.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827727 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 16:31:39 +00:00
Pinaki Poddar
2ef5d26a8e
OPENJPA-1355: Correct argument list for Postgres dictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827712 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 15:54:34 +00:00
Catalina Wei
a32bb62381
OPENJPA-1185 Subquery overhaul
...
fix subquery correlation involving association table
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826135 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 00:07:04 +00:00
Albert Lee
732e45caba
Remove unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826076 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 20:35:07 +00:00
Fay Wang
65d2ea8b19
OPENJPA-1351: fix ClassCastException when downlevel jdbc driver is used.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825699 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:32:44 +00:00
Richard G. Curtis
63a3408d7d
OPENJPA-1224: backing out changes while investigating a test regression.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822288 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 14:14:49 +00:00
Richard G. Curtis
38a54f39f7
OPENJPA-250: Moved preloading to later in the init process and only create MDR if preload is configured.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821925 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 17:14:29 +00:00
Fay Wang
97aca65ddc
OPENJPA-1237: allow customized MappingRepository
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821236 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 03:42:01 +00:00
Fay Wang
c14838950c
OPENJPA-1330: support join table strategy for uni-directional many-to-one relation and uni-/bi-directional one-to-one relation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820839 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 23:18:56 +00:00
Fay Wang
c2a723816b
OPENJPA-1330: bi-directional many-to-one/one-to-many using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820748 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 18:49:05 +00:00
Richard G. Curtis
c06481b452
OPENJPA-1224. Updated DBDictionary and AbstractDB2Dictionary to properly support java.math.BigDecimal.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820050 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 18:12:15 +00:00
Fay Wang
c8d1003612
OPENJPA-1253: refactoring the checking of non-default mapping to AbstractFieldStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819822 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 03:31:34 +00:00
Pinaki Poddar
baf800f3b0
OPENJPA-1050: Use generics for BrokerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819800 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:32 +00:00
Milosz Tylenda
363f7f6e3f
OPENJPA-1248: Remove OracleDictionary.insertBlobForStreamingLoad(Row row, Column col, Object ob) - it was dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819280 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27 09:35:38 +00:00
Fay Wang
9f29552e85
OPENJPA-1253: support foreign key strategy for uni-directional one to many mapping using Map with entity as the Map key.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819139 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 13:42:19 +00:00
Fay Wang
ef54e75107
OPENJPA-1253: support bi-directional one-to-many map using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818616 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 20:26:04 +00:00
Fay Wang
7d3497781c
OPENJPA-1253: clean up code for uni-directional one-to-many Map using foreign key strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818531 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 16:12:09 +00:00
Fay Wang
067a6f0ffb
OPENJPA-1253: support non-default uni-directional one to many map using foreign key strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818410 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 09:00:12 +00:00
Fay Wang
6f1b9627fe
OPENJPA-1253: support non-default bi-directional one-to-many using foreign key strategy to find/query from the ower's side
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817831 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 20:38:36 +00:00
Richard G. Curtis
4378977891
OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817429 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 21:59:21 +00:00
Fay Wang
19da9769b0
OPENJPA-1253: support non-default uni-directional OneToMany mapping using foreign key strategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817399 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:21:50 +00:00
Richard G. Curtis
fdd330a116
OPENJPA-1172 - Committing changes to trunk. Patch submitted by Rick Curtis
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817370 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 18:51:23 +00:00
Fay Wang
cf7f69bbd5
OPENJPA-1253: support non-default One-To-Many mappings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816795 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 21:53:47 +00:00
Donald Woods
9467818818
OPENJPA-1310 SQLServer requires JAXB marshalled XML to be in UTF-16 instead of UTF-8. Also updated some of the XmlElement names to match the case used in the XmlType annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816767 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 20:06:12 +00:00
Catalina Wei
3f43e3dd0e
OPENJPA-1309 DB2 requires CAST for argument passed to datastore MOD function
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816737 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 18:38:00 +00:00
Jeremy Bauer
add24283b4
OPENJPA-1249 Make insertBlobForStreamingLoad method usage consistent for Oracle DB to eliminate NPE in updateBlob path.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816287 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:19:09 +00:00
Fay Wang
8c1e1a7ea5
OPENJPA-1253: support non-default uni-directional OneToMany using foreign key strategy, using JoinColumn annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816085 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:49:13 +00:00
Fay Wang
72f2cb8516
OPENJPA-1253: allow JoinColumn in conjunction with OneToMany annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815988 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 22:13:26 +00:00
Donald Woods
416b8d3ccb
OPENJPA-1227 SQL generation error when using data cache. Patch and testcase contributed by David Minor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814706 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 15:42:03 +00:00
Donald Woods
ee9210be92
OPENJPA-1201 [Mapped by] field not set when contained in superclass. Patch and testcases contributed by David Minor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814662 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 14:29:34 +00:00
Fay Wang
558446dfe9
OPENJPA-1295: fix the escape character
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814166 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 14:58:07 +00:00
Pinaki Poddar
fb34e0a0ec
Update error code for Oracle. Will pass ..openjpa.persistence.exception.TestException.testThrowsEntityExistsException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814096 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 00:51:05 +00:00
Fay Wang
1aab5c3c6c
OPENJPA-1295: fix the problem of escape character for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814074 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 23:15:06 +00:00
Pinaki Poddar
6b96b82d31
OPENJPA-1294: getNewConnection()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814072 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:59:15 +00:00
Pinaki Poddar
ec90648e2b
OPENJPA-703: Support RangeResultObjectProvider for prepared query cache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814065 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:27:27 +00:00
Pinaki Poddar
5120b0e629
OPENJPA-1294: Allow a new connection to obtain query for size of the result set when the original connection is still being open.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814053 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:12:18 +00:00
Pinaki Poddar
38f31390a9
bad argument corrected
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813981 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 18:49:30 +00:00
Fay Wang
c534d29cb7
OPENJPA-1285: fix InitializerError in JDBCStoreManager$RefCountConnection.prepareStatement(JDBCStoreManager.java:1543)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813930 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 17:14:52 +00:00
Pinaki Poddar
a8640cc5d2
OPENJPA-1285: Dynamic JDBC 4 Wrappers use constructor to save reflection cost
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813149 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 22:43:49 +00:00
Jeremy Bauer
ed40459a2a
OPENJPA-1289 Added Oracle specific type to compatibility checking method. Added new method to dictionary to pass in XML indicator. Updated Oracle dictionary to use it to make LOB determination.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813098 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 19:56:37 +00:00
Catalina Wei
5d6581bf7f
OPENJPA-1283 Incorrect SQL for a JPQL query selecting Map value from an elementCollection of a Map and the map the value is an embeddable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810744 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 00:45:17 +00:00
Fay Wang
ac939f7b5f
OPENJPA-1281: fix reparameter when PreparedQueryCache is on
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810331 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 01:46:54 +00:00
Pinaki Poddar
250186fbcb
OPENJPA-1100: Raise exception for unsupported version field type rather than silently ignoring
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808725 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 01:39:15 +00:00
Pinaki Poddar
12015d3f1d
getLong was using INT. Patch by Criag Russell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808701 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 00:53:50 +00:00
Fay Wang
4083018e38
OPENJPA-1266: no need to cast for JDBC escape syntax for date, time, timestamp in DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808086 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:10:55 +00:00
Fay Wang
e19c75a9c3
OPENJPA-1266: JDBC escape syntax for date, time, timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807851 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:22:59 +00:00
David Ezzio
6303e9a753
OpenJPA-525 : Applied Milosz Tylenda's OPENJPA-525.3.patch to trunk, after testing by Amy Yang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807642 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:09:23 +00:00
Catalina Wei
917b49befe
OPENJPA-1261 JPQL query result shape for multi-selections including multi-select-new-constructor
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 17:47:06 +00:00
Michael Dick
bb7048d27c
OPENJPA-1200:
...
Discriminator column ignored for in select statement for OneToMany relationships.
Submitted By : Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806693 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 19:55:09 +00:00
Pinaki Poddar
4e6a98f634
OPENJPA-849,OPENJPA-1251: Property management, hidden values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:27:30 +00:00
Fay Wang
c35c13497b
OPENJPA-1250: fix ClassCast exception with eagerly fetched ElementCollection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805090 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 18:47:59 +00:00
Michael Dick
9eb8af5a72
OPENJPA-948:
...
Adding support for Ingress database (new dictionary, build config etc.).
Submitted by : Alan Raison
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804261 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 15:29:35 +00:00
Fay Wang
ccfbe6cd31
OPENJPA-1185: check in embeddable in subquery support on behalf of Catalina
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804011 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 20:01:38 +00:00
Michael Dick
6c2e3e2d03
OPENJPA-1189:
...
Try delimited table names if we can't find a match for non-delimited names
Submitted by : Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803720 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 21:45:51 +00:00
Jeremy Bauer
3dda949ce4
OPENJPA-1115 Committing code and test updates contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803612 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 17:22:52 +00:00
Jeremy Bauer
9af553bc8d
OPENJPA-1235 Added support for named unique constraints
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802864 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 17:03:42 +00:00
Donald Woods
538f1fd084
OPENJPA-1233 Update DerbyDictionary with new reserved words. The following reserved words were added, based on the Derby 10.5 docs -
...
COALESCE, CURRENT_ROLE, GETCURRENTCONNECTION, NONE, OVER, ROW_NUMBER, XMLQUERY
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802801 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 14:03:29 +00:00
Pinaki Poddar
2d120b6363
OPENJPA-1013: 1. Avoid both LHS and RHS parameterized as ? = ? in SQL. Some databases do not like it.
...
2. handle constant literal or empty arguments for Criteria predicates .
3. Parameter registration for subqueries roll up to the parent
4. MapKey of kernel is not a path so allPathImpl.toValue() is not kernel.Path
5. Clean up tests. Local result: Total : 435 Fails: 14 locally
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802273 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 23:57:51 +00:00
Pinaki Poddar
931496e6ea
correct ordering of message parameters with actual message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799824 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 10:25:48 +00:00
Catalina Wei
53805483fc
OPENJPA-1185 JPA2 fix thread-safe problems of subquery restructured code.
...
Committing patch provided by Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799134 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 23:53:46 +00:00
Fay Wang
ec483537da
OPENJPA-1204: fix enum evaluation in EmbeddedId
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798868 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 12:09:16 +00:00
Fay Wang
1b128ce338
OPENJPA-1143: embeddable test case and support for Criteria
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@798735 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 00:30:41 +00:00
Pinaki Poddar
7099c084fb
OPENJPA-1195: Datastore function for in general usage as well as JPA 2.0. CriteriaQuery Parameter indexing during registration.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797257 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 23:01:55 +00:00
Michael Dick
5136bbc8d3
OPENJPA-922:
...
Allow DB2 to use setByteArrayInputStream instead of setBytes when needed.
Submitted by : B. J. Reed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796907 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 23:09:02 +00:00
Michael Dick
37c2620b1e
OPENJPA-1171:
...
Replace StringBuffer with StringBuilder in SQLBuffer to reduce synchronization
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796340 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 15:15:17 +00:00
Donald Woods
048419e89b
OPENJPA-1184 Inverse relations not set for MapKey field when using parallel eager select. Patch contributed by David Minor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795949 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:36:24 +00:00
Fay Wang
f74c5d7a69
OPENJPA-1185: commit subquery overhaul on behalf of Catalina
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795934 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 17:49:36 +00:00
Fay Wang
364ea73d6f
OPENJPA-1143: clean up test cases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794524 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 04:57:15 +00:00
Pinaki Poddar
6dd615ebc3
OPENJPA-703: correct comment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794075 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 21:32:42 +00:00
Pinaki Poddar
229cb12699
OPENJPA-703: correct comment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794069 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 21:21:14 +00:00
Michael Dick
47173558ef
OPENJPA-466:
...
Synchronize the call to obtain the next sequence value.
Submitted by: Tim McConnell.
modified: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/NativeJDBCSeq.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793599 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 14:54:26 +00:00
Albert Lee
56ae0ae6ae
OPENJPA-525 - Semi-revert the original solution due to regression in ResultSetResult.translate() method. Implemented an alternative solution to perform the same original intent. Based on Milosz, the current solution caused some failure in MySQL. He agreed for this interim commit and look for cause of failures in MySQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792284 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:01:08 +00:00
Pinaki Poddar
dcaa13461e
OPENJPA-703: Beef up strong/weak exclusion of cache entries. Narrow down reason for exclusion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791971 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 20:29:34 +00:00
Michael Dick
9f62d5ebfa
Quick formatting fix (add braces)
...
modified: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/MappingInfo.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791908 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 16:58:08 +00:00
Pinaki Poddar
c2afd1cefd
OPENJPA-703: Expand type of queries that can be cached especially with various projection terms. Refactor testing of PreparedQueryCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790676 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 16:57:17 +00:00
David Ezzio
636bd5f213
OpenJPA-525: merged change 786218 from 1.1.x branch to trunk, fix for Oracle and null CLOBs.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787868 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 23:03:42 +00:00
Pinaki Poddar
ecf43f87f7
OPENJPA-1143: Build dependency to 1.0-EA3-SNAPSHOT (latest unpublished JPA Spec), refactored MetaModel/CriteriaQuery API to compile against the new JPA API, line length limit increased to 120
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787832 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 21:04:32 +00:00
Donald Woods
4b70d52d9c
OPENJPA-946 Oracle create table(s) exceptions. Updated patch and tests provided by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787741 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 16:18:28 +00:00
Pinaki Poddar
d6ae199de7
OPENJPA-1013: Joins, key/value, parameters, embedded
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785341 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 18:57:17 +00:00
Michael Dick
4c9be63dc6
OPENJPA-1133 committing patch provided by Ravi Palacherla. PostgreSQL
...
Dictionary will now use "false" as a placeholder instead of 0 for
columns of type BIT.
modified: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java
new file: openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java
new file: openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/TestBooleanValue.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785268 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 15:51:15 +00:00
Milosz Tylenda
5d1bd85ca8
OPENJPA-1132: Use MySQL-specific syntax for dropping foreign and primary keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784402 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 14:42:45 +00:00
Albert Lee
edb329a475
OPENJPA-891 - Fix non-versioned entity locking support and add tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783633 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 05:25:25 +00:00
Pinaki Poddar
b961b8baa2
OPENJPA-1013: Aliasing for query nodes, single attribute join support, reorganization of test harness
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783166 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 00:41:35 +00:00
Milosz Tylenda
338d56bbf3
OPENJPA-1123: MySQL query hints support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782362 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 10:54:59 +00:00
Milosz Tylenda
a2c286bf3b
OPENJPA-1122: Remove JDBC 3 related reflection from DBDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782338 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 08:13:41 +00:00
Michael Dick
4b7e773753
OPENJPA-1083 Adding trace message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781826 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 18:33:32 +00:00
Michael Dick
8a2210c65a
OPENJPA-1083 committing patch provided by Ravi Palacherla
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781791 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 16:45:34 +00:00
Fay Wang
be8b9808f6
OPENJPA-1013: subquery support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781621 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 23:44:58 +00:00
Milosz Tylenda
cb98d4fc33
OPENJPA-736: JDBC 3 way of retrieving generated keys - allow user to disable it, doc and test updates.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780260 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 13:22:56 +00:00
Jeremy Bauer
016d49b4c0
OPENJPA-962 Committing code and tests contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780068 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 18:54:08 +00:00
Jeremy Bauer
49596dc4e6
OPENJPA-1074 Fix for bidirectional ordered relationships. Modified order column tests to be included in compile time enhancement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780038 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 17:24:54 +00:00
Michael Dick
0d6f1a0214
OPENJPA-1054. Added testcase for callable statements and fixed typo.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779764 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 20:45:27 +00:00
Michael Dick
3c88ac3d20
OPENJPA-1054 committing patch from Rick Curtis and Fay Wang. Testcase has been updated to use jMock instead of creating its own mock objects
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779715 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 18:31:12 +00:00
Michael Dick
c1b842d492
OPENJPA-1026. Committing patch from B.J. Reed and enabling newline check.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779416 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 02:50:00 +00:00
Michael Dick
2e9f4187cc
OPENJPA-1067. Merely log SQLException from setQueryTimeout for DB2 on Z/OS
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778852 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 19:12:40 +00:00
Milosz Tylenda
3a91680b6d
localizer.properties: Correct error in sybase-compliance value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778180 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 15:56:21 +00:00
Milosz Tylenda
e8e52d38ea
DBDictionary: Correct errors in comments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778116 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 10:55:25 +00:00
Albert Lee
3f28f44d3a
OPENJPA-946 - Commit contribution by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777649 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 18:32:26 +00:00
Albert Lee
6d91126dd6
OPENJPA-908 - Commit contribution by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777615 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 16:45:46 +00:00
Michael Dick
ef204040c2
OPENJPA-1067. Restoring original behavior - pending JDBC spec interpretation with DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776469 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 21:26:37 +00:00
Michael Dick
42ae6a6998
OPENJPA-975. Committing patch from B.J. Reed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776413 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:56:10 +00:00
Catalina Wei
2ce5299a73
OPENJPA-1094 JPA2 Query support KEY to appear in subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776117 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 22:23:04 +00:00
Pinaki Poddar
7b581bf651
OPENJPA-703: ORDER BY queries are cachable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775924 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 12:46:53 +00:00
David Ezzio
817be5bef6
Removed recently added errant author tag
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775130 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 13:24:52 +00:00
Jeremy Bauer
e1ccb46414
OPENJPA-962 Committing code and tests contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774860 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 18:19:34 +00:00
David Ezzio
862edc8fe1
OpenJPA-1051: Fixed MappingDefaultsImpl to avoid column name duplications when long column names are supplied for a database that accepts only shorter names. Changes submitted for Ravi Palacherla.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774580 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 22:54:32 +00:00
Milosz Tylenda
13819e01f7
OPENJPA-466: Get rid of possible duplicate sequence values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773999 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 17:43:28 +00:00
Catalina Wei
f221b1fa85
OPENJPA-1064 JPA2 Query add support for embeddable of element collection in predicate and subquery
...
- Add test strings for any, some, member of predicates
- Fix a bug in parameter processing of embeddable object
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773776 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 04:12:27 +00:00
Milosz Tylenda
c26d742712
OPENJPA-736: Restore method signatures per Albert's request
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773666 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 19:51:39 +00:00
Catalina Wei
4606fffc37
OPENJPA-703 PreparedQuery detecting query cache-ability
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773404 13f79535-47bb-0310-9956-ffa450edef68
2009-05-10 21:11:36 +00:00
Pinaki Poddar
3213665811
OPENJPA-1079: Allow connection to be accessed by the client
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773284 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 23:18:58 +00:00
Jeremy Bauer
3eff16e07a
OPENJPA-1074 Maintain contiguous index for collection element removal
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773070 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 19:53:16 +00:00
Fay Wang
3182ed978e
OPENJPA-1072: set up foreign key relationship for the relation within an embeddable in an element collection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772874 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 07:48:08 +00:00
Pinaki Poddar
da17643624
OPENJA-1070:support for composite foreign keys on MySQL Version >= 5
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772828 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 01:31:37 +00:00
Milosz Tylenda
195525392c
OPENJPA-736: Change the way generated keys are retrieved so that the feature works also with databases other than DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772756 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 19:57:34 +00:00
Michael Dick
09a77eeae3
OPENJPA-1067. Do not call setQueryTimeout for DB2 on Z/OS
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772456 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 22:40:43 +00:00
Pinaki Poddar
b68eeddd7d
Capture post-compilation result type in prepared query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772291 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 14:56:15 +00:00
Catalina Wei
ed82fda48c
OPENJPA-1064 JPA2 Query add support for embeddable of element collection in predicate and subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 00:03:09 +00:00
Fay Wang
f9fd4837b3
OPENJPA-1055: add MapKeyTemporal and MapKeyEnumerated support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770400 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:07:18 +00:00
Jeremy Bauer
02846623a8
OPENJPA-964 Committing contributions provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770297 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 15:50:53 +00:00
David Ezzio
09859699f9
OpenJPA-1002: fixed select range for Oracle drivers, patch submitted by Amy Yang and Ravi Palacherla
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769505 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 19:14:40 +00:00
Pinaki Poddar
2c7432cccd
OPENJPA-703: Set original query string for prepared query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768395 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 18:49:46 +00:00
Catalina Wei
f3b437ab76
1035 JPA2 Query allow embeddable as orderby item
...
add more test strings for IS NULL and IS EMPTY predicates with path navigation thru key path or embeddable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 09:21:02 +00:00
Catalina Wei
32fd2a52d1
1035 JPA2 Query fix setParameter for key path in predicates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766576 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 05:21:40 +00:00
Milosz Tylenda
4d1b86e860
OPENJPA-933: Database version detection in MySQLDictionary is not reliable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766310 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 12:26:26 +00:00
Fay Wang
8bbf149781
OPENJPA-1024: subquery support of nullif and coalesce for enum literals
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766204 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 02:54:35 +00:00
Jeremy Bauer
d9039ca640
OPENJPA-1029 SQLServerDictionary updates contributed by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765841 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 03:15:38 +00:00
Fay Wang
0daf1bffc8
OPENJPA-1041: allow orderBy on nested embeddables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765800 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:24:07 +00:00
Catalina Wei
5239148763
1035 JPA2 Query map key path in predicates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765469 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:34:49 +00:00
Catalina Wei
affdc073d0
OPENJPA-1035 JPA2 Query allow map key/value path to appear as argument to scalar functions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765064 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 06:18:17 +00:00
Fay Wang
0398c0e7dd
OPENJPA-1024: support case expression in subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764779 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 13:53:41 +00:00
Milosz Tylenda
171fe56aa2
OPENJPA-966: Added missing super call from within MySQLDictionary.decorate(Connection) method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764733 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 10:47:56 +00:00
Catalina Wei
4da7ad3790
OPENJPA-967 JPA2 Query support for embeddable MapKey improvement/rework
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764279 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 03:19:46 +00:00
Catalina Wei
8c31381f18
OPENJPA-1021 allow MapKey on relation field
...
- add JPA2 Query support for MapKey on relation field
- remove @AllowFailure in test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764218 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 16:47:15 +00:00
Fay Wang
d00cf9d468
OPENJPA-1024: support enum literal in case expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764094 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 22:57:00 +00:00
Jeremy Bauer
69d01f2813
OPENJPA-1034 Remove OrderColumn attributes and corresponding tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764041 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 20:38:28 +00:00
Milosz Tylenda
62aabafc53
OPENJPA-983: FirebirdDictionary improvements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763992 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 17:57:57 +00:00
Fay Wang
16c8b6d2dc
OPENJPA-1024: add enum literal support for case expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763860 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 02:51:31 +00:00
Catalina Wei
be8731aafa
OPENJPA-967 JPA2 Query support for MapKey fixes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763516 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 05:11:20 +00:00
Fay Wang
2901ea6e52
OPENJPA-1028: fixed setMappedByValue when embeddable is involved.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763427 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 22:06:56 +00:00
Fay Wang
d0cb71dd59
OPENJPA-1021: support MapKey annotation on relation fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763015 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 22:32:36 +00:00
Catalina Wei
df18282acd
OPENJPA-1024 JPA2 support scalar expressions in subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762854 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:06:19 +00:00
Michael Dick
b5d5ea2734
OPENJPA-1023. set svn:eol on .properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762563 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 23:28:17 +00:00
Albert Lee
bdce39ae28
OPENJPA-1022 - Ensure LockMode READ/OPTIMISTIC & WRITE/OPTIMISTIC_FORCE_INCREMENT are distinct in type but semantics equivalent.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762409 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 16:30:24 +00:00
Albert Lee
983775de06
OPENPA-957 - Correct > 80 columns build problem.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762181 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 22:56:16 +00:00
Albert Lee
bb01292ce9
OPENJPA-957 - Guard NPE as fetch may be null in getForUpdateClause.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762177 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 22:37:24 +00:00
Albert Lee
718370e1ef
OPENJPA-957 - Create Fetch*HintHandler(s) for property processing in EntityManager/Query interface methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762161 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 21:29:42 +00:00
Milosz Tylenda
616f8fdbee
OPENJPA-723: Feature request for PostgreSQL XML Column Mapping
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762073 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 12:07:49 +00:00
Catalina Wei
5e820a36c9
OPENJPA-967 JPA2 Query embeddable MapKey rework
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761851 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 01:10:30 +00:00
Michael Dick
b6e661e24a
OPENJPA-1015 fix line wrapping in source files. Based on patch contributed by B.J. Reed. Updates made to do enforce line wrapping during the process-sources phase of the build.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 03:09:53 +00:00
Patrick Linskey
318d408ab7
fixed spacing issue with some localization messages that wrap. This pushes some lines to 81 characters; we could re-wrap these lines if needed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761417 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 20:26:09 +00:00
Milosz Tylenda
0aedae4370
OPENJPA-883: Documentation is out of date for some MySQLDictionary properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761373 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 18:45:32 +00:00
Fay Wang
f21f7b5ae5
OPENJPA-1004: fix problems with IdClass which has a derived identity and the relation corresponding to the derived identity uses generatedKey
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761326 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:38:34 +00:00
Catalina Wei
33ed6bfb7f
JPA2 Query support for embeddables; nested embeddables; relationships from embeddables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 19:53:54 +00:00
Michael Dick
80be256e13
OPENJPA-975 committing patch from B.J. Reed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760914 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 15:15:42 +00:00
Jeremy Bauer
a5e3bdd592
OPENJPA-990 Committing code and test updates contributed by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760056 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:21:57 +00:00
Catalina Wei
7e6ca9043e
OPENJPA-956 support elementCollection in FROM clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758868 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 21:36:08 +00:00
Pinaki Poddar
32796f751b
OPENJPA-5: Upgrade to JDK6
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758490 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:01:39 +00:00
Fay Wang
66f829f7eb
OPENJPA-999: add eol to localizer.properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758366 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 17:51:51 +00:00
Fay Wang
fac1cf7614
OPENJPA-999: put back sql-warning message to Localizer.properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758364 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 17:46:30 +00:00
Fay Wang
31ae580252
OPENJPA-973: allow DB2 jcc driver to access Informix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757512 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 19:19:24 +00:00
Michael Dick
b546423063
OPENJPA-896. Setting eol-style:native and removing windows eol characters from XML files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757388 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 12:42:41 +00:00
Michael Dick
90b84c5d73
OPENJPA-896. Setting eol-style:native and removing windows eol characters from source files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757278 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:37:24 +00:00
Albert Lee
7ad6a01e84
OPENJPA-992 - Correct proper DB2 SQLState to EntityExistsException translation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756238 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 22:27:45 +00:00
Fay Wang
9e683c7612
OPENJPA-963: commit patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756193 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:54:28 +00:00
Catalina Wei
6f253f050b
OPENJPA-967 JPA2 add support for collection valued path thru KEY appear in FROM clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756104 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 17:33:03 +00:00
Albert Lee
ca00078072
OPENJPA-988 - Refactoring JPA2/MixedLockManager from persistence module to jdbc module. No functional changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756066 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 16:03:15 +00:00
Fay Wang
b00ef73b40
OPENJPA-973: allow db2 jcc driver to access Informix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756045 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 15:32:33 +00:00
Albert Lee
944ee1607b
OPENJPA-878 - per agreement with Donald, removing un-needed code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756010 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 14:09:15 +00:00
Pinaki Poddar
c5c5398497
OPENJPA-985: Support dynamic addition of slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755861 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 07:10:53 +00:00
Jeremy Bauer
05c5ad096b
OPENJPA-878 Committing code and test updates contributed by Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755819 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 02:54:39 +00:00
Michael Dick
ff8d46578c
OPENJPA-970. Committing patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755396 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:04:37 +00:00
Jeremy Bauer
390f390b29
OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755113 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:39:56 +00:00
Catalina Wei
7c9ef84fb9
OPENJPA-967 JPA2 JPQL allow KEY(e) of basic types appear in conditional expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755102 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 03:13:10 +00:00
Catalina Wei
29a2d30a8a
OPENJPA-967 JPA2 support qualified path
...
add support for ORDER BY & GROUP BY a path thru KEY navigation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@754961 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 17:16:39 +00:00
Fay Wang
44ffbd2f79
OPENJPA-967: remove duplicate column in the associate
...
table when MapKey is specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@754773 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 22:04:03 +00:00
Catalina Wei
d8da810820
OPENJPA-967 JPA2 Query support for selection of state field thru KEY navigation
...
Sample JPQL: select KEY(e).name from Dept d join d.emps e
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753473 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 23:20:45 +00:00
Albert Lee
0e7c84ef81
OPENJPA-866 - Commit contributions by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753024 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 21:31:11 +00:00
Albert Lee
6e6cb3786c
OPENJPA-891 - Complete new LockModeType supports in EntityManager. Manual updated. Build and TCK passed. Code reviewed by Pinaki P. and Mike D.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752306 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 23:41:03 +00:00
Fay Wang
c67cd5d0be
OPENJPA-973: allow db2jcc driver to work with informix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752304 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 23:33:45 +00:00
Albert Lee
dfe19d2f4f
OPENJPA-891 - remove unneeded code. Code review changes per Pinaki's comment.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752193 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 17:58:08 +00:00
Fay Wang
ab9d17f12e
OPENJPA-679: fix ReverseMappingTool problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752178 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 17:37:57 +00:00
Pinaki Poddar
4506244327
OPENJPA-958,959: timeout on query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 07:22:23 +00:00
Fay Wang
1ece64d1df
OPENJPA-965: Open up FinderQueryImpl for jdbc-like and non-jdbc
...
implementation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751775 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 17:41:58 +00:00
Catalina Wei
de5e6c9ba9
OPENJPA-967 JPA2 Query support for selection of KEY, VALUE, ENTRY of a Map value
...
more test scenarios for Map having @MapKeyClass or @MapKeyJoinColumn annotations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751766 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 17:08:34 +00:00
Pinaki Poddar
23b0b87674
OPENJPA-966: Support MySQL Replication Driver
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751487 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 18:11:55 +00:00
Catalina Wei
dab2ec2ead
Open up FinderCacheImpl for non-JDBC or JDBC-like implementation of preparing statement/query execution
...
cleanup imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751330 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 22:09:17 +00:00
Catalina Wei
b45109cec3
OPENJPA-965 Open up FinderCacheImpl for non-JDBC or JDBC-like implementation of preparing statement/query execution
...
An approache not exposing FinderCacheImpl to jdbc kernel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751301 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 17:49:31 +00:00
Fay Wang
b612d64620
OPENJPA-965: Open up FinderCacheImpl for jdbc and non-jdbc
...
like implementation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751148 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 00:40:53 +00:00
Albert Lee
70cfcaaee1
OPENJPA-891 - Remove _recoverable attribute in StoreException and use _fatal instead, per Pinaki's suggestion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751109 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:22:15 +00:00
Pinaki Poddar
cae33419ae
OPENJPA-955: test+documentation on MethodQL. Allow candidate class be optional on MethodQL. Do not cache MethodQLQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750798 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:50:54 +00:00
Catalina Wei
30ee661fdc
OPENJPA-879 JPA2 Query support for selecting KEY, ENTRY and VALUE of a Map value
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750517 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 17:30:20 +00:00
Albert Lee
781c837812
OPENJPA-903 - Commit contribution submitted by Tim McConnell. [Ref: http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00089.php ]
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749423 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 19:32:14 +00:00
Michael Dick
f3d1704863
OPENJPA-213. Scale and precision specified for doubles upgrade column type to NUMERIC.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749090 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:38:21 +00:00
Michael Dick
efc6ba4735
OPENJPA-884: Logging oversight in DB2Dictionary
...
https://issues.apache.org/jira/browse/OPENJPA-884
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749077 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 19:31:06 +00:00
Albert Lee
cc38e27eef
OPENJPA-891 - change supportIsolationForUpdate to supportsIsolationForUpdate in line with existing naming convention.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748957 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 03:27:37 +00:00
Pinaki Poddar
e11b753da5
OPENJPA-924: Add localized statements for logging
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748625 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 18:12:20 +00:00
Fay Wang
b811a6c43b
OPENJPA-931: IdClass support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748349 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 23:35:54 +00:00
Pinaki Poddar
bf16127d19
OPENJPA-924: Only cache finder queries without read locks
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748126 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 13:04:01 +00:00
Albert Lee
22a0f837e1
OPENJPA-891 - Committing basic JPA2 lock mode support for em refresh, find and lock methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747489 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:48:09 +00:00
Pinaki Poddar
9d7360cb35
OPENJPA-935: Detect table for embedded PC to avoid extra select before delete.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746640 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 05:52:06 +00:00
Fay Wang
e2fef6a276
OPENJPA-930: AttributeOverride support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 04:11:32 +00:00
Fay Wang
f72b68bfbb
OPENJPA-931: nested embeddedId/MappedById support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746446 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 07:29:40 +00:00
Pinaki Poddar
cfd133447f
OPENJPA-924: Set JDBC query parameters with type information
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746060 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 23:58:42 +00:00
Albert Lee
679989fd16
OPENJPA-466 - Commit patch contributed by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745737 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 05:34:30 +00:00
Fay Wang
357cf347c8
OPENJPA-871: mappedById support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745699 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 00:30:06 +00:00
Catalina Wei
d1c23c2d9d
OPENJPA-925 Bidirectional OneToOne relation incorrectly set in loadEagerJoin
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745408 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:06:12 +00:00
Pinaki Poddar
f08e4e1791
OPENJPA-924: Cache primary key field indices. Simplify QueryStatistics template.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745329 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 00:49:51 +00:00