Michael Dick
2e11a6a90b
OPENJPA-1835: add dummy as an invalid column name for Sybase and update testcase to use DBIdentifier to get column name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022960 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:00:30 +00:00
Michael Dick
2df8af7457
OPENJPA-1832: numeric is not fixed size.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022583 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 15:36:27 +00:00
Donald Woods
5a7b1765c7
close DriverDataSource when we're done with it
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:04:57 +00:00
Donald Woods
be183a3a94
OPENJPA-1831 DataSourceFactory manipulates queryTimeout which is already in milliseconds
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021891 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 19:23:12 +00:00
Donald Woods
0bcdb27e8f
OPENJPA-1818 Exclude 'order' as valid column name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021875 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 18:31:13 +00:00
Michael Dick
abf397a513
Add Sybase SQLState for EntityExistsException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:44:50 +00:00
Donald Woods
b229fbd13e
OPENJPA-1764 Minor cleanup for static variables and exception messages
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021489 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 20:03:18 +00:00
Michael Dick
ea0a44edd3
Filter connection setup SQL from SybaseDictionary.decorate when running unit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006010 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 20:32:21 +00:00
Milosz Tylenda
5a98879567
OPENJPA-1691: Support XML strings longer than 4000 bytes on Oracle.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004043 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 20:46:38 +00:00
Fay Wang
a4080f46f5
OPENJPA-1819: if there is a group-by clause, orderby_item must be in the group-by list
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003317 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 22:07:11 +00:00
Donald Woods
c7a08227a3
OPENJPA-1764 Need to explicitly close dbcp.BasicDataSource instances, moved commons-dbcp test depend to parent pom and added closing of EMF in ContainerTest during test tearDown.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002860 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 21:43:11 +00:00
Donald Woods
4aa5b43825
OPENJPA-1764 Fix bug in DBCPDriverDataSource.mergeConnectionProperties, move common surefire-plugin systemProperties to parent pom and move the connection user/password to equivalent openjpa.Connection settings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002745 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 17:12:49 +00:00
Donald Woods
ed85f020fd
OPENJPA-1764 Automatically enable connection pooling in unmanaged environments when Commons DBCP is available
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:56:51 +00:00
Jeremy Bauer
9b105a2f00
OPENJPA-1809 Modified syncVersion exception path to pass the lock level into the exception producer. This eventually allows the exception translator to correctly decide whether the exception was the result of a lock timeout.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999559 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:27:08 +00:00
Michael Dick
c1b941f3d1
OPENJPA-1800: revert trailing whitespace variable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997890 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:44:37 +00:00
Michael Dick
a093e9daa6
OPENJPA-1800: prevent duplicate column in SybaseDictionary.getCreateTableSQL()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997889 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:37:20 +00:00
Catalina Wei
c110e0d28a
OPENJPA-1798: Improve messages in localizer.properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997373 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 15:52:34 +00:00
Michael Dick
208347e88d
OPENJPA-1788: use DBIdentifier.isNull for firebird dictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@996000 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 22:11:19 +00:00
Fay Wang
35205c46ac
OPENJPA-1784: clean up fix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995596 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 22:35:19 +00:00
Fay Wang
9c25bd1633
OPENJPA-1784: improve dirty-checking for persistent maps when the get method is called to retrieve an embeddable value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995333 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:47:46 +00:00
Milosz Tylenda
da688116d5
OPENJPA-735: Fix spelling in method name and comments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@990085 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:22:45 +00:00
Fay Wang
f0f3a4c588
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988164 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 16:01:45 +00:00
Catalina Wei
833520766f
OPENJPA-526: Insert text more than 4K bytes to Clob column causes SQLException: Exhausted Resultset
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987598 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:32:21 +00:00
Jeremy Bauer
696786e93e
Added missing continuation character to message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987556 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 15:49:54 +00:00
Fay Wang
3a62393e06
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987289 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 20:09:45 +00:00
Donald Woods
560afb7df4
OPENJPA-1712 Merge in build updates from 2.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Fay Wang
07d599a02d
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987013 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 04:19:39 +00:00
Pinaki Poddar
a7bd0831cc
Designate user parameter for Matches expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986744 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 15:36:01 +00:00
Fay Wang
dbb0a5fe41
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986725 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 15:08:25 +00:00
Fay Wang
efd6ee93b5
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986525 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 23:39:23 +00:00
Jeremy Bauer
0b3f1b2d2a
OPENJPA-735 Updated DBIdentifier to allow case insensitive compares for databases that do not support mixed case identifiers.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986166 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 01:57:22 +00:00
Fay Wang
b3b274d545
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986120 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 20:06:59 +00:00
Fay Wang
9d3305bcc4
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@985003 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 21:58:14 +00:00
Richard G. Curtis
319ba41483
OPENJPA-1765: Add locking to TableJDBCSeq to ensure thread safety.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984943 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 20:15:41 +00:00
Jeremy Bauer
a36ace562b
OPENJPA-1739 Added additional metrics to cache statistics and updated instrumentation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984896 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 18:18:43 +00:00
Michael Dick
a6cfb6c848
OPENJPA-1668: allow non-default sequence sql strings for z/os and iseries
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984413 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 14:06:10 +00:00
Fay Wang
4fd4c17c76
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984235 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 22:11:42 +00:00
Fay Wang
8cb9f588ff
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984222 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 21:46:29 +00:00
Donald Woods
bcfadcff1b
OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Catalina Wei
a4038dadef
OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979326 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:30:20 +00:00
Fay Wang
44a7674d6e
OPENJPA-1740: fix Type expression when entities use Joined table strategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@967240 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 20:15:06 +00:00
Catalina Wei
6d8b5782c9
OPENJPA-1738: Prepared query does not handle collection-valued parameter of persistence-capable objects
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966870 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 21:54:40 +00:00
Michael Dick
ebd30a7cc7
OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966600 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:57:45 +00:00
Fay Wang
bfad6bc65f
OPENJPA-1726: Per Postgres document, "The types abstime and reltime are lower precision types which are used internally. You are discouraged from using these types in applications; these internal types might disappear in a future release." ( http://www.postgresql.org/docs/8.4/interactive/datatype-datetime.html )
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966423 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 21:15:36 +00:00
Fay Wang
42b0b38815
OPENJPA-1726: fix intermittent failure in TestTimestampVersion. The next bulkUpdate timestamp version should be consistently generated as nextVersion method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965928 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:49:25 +00:00
Fay Wang
7a7e243665
OPENJPA-1726: fix Postgres sql error state code so that EntityExistException can be properly thrown.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965562 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 17:15:47 +00:00
Fay Wang
a0b6b2a85d
OPENJPA-1726: fix boolean literal for Postgres
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964989 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 00:16:39 +00:00
Donald Woods
64181e58ad
OPENJPA-1724 Allow MappingTool to generate SQL files in a different encoding than the local JVM
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964921 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 19:38:27 +00:00
Fay Wang
0b80f23e70
OPENJPA-1726: fix test case failures (TestInputStreamLob) for PostgreSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964257 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 23:09:41 +00:00
Richard G. Curtis
6210611374
OPENJPA-1723: Improve the scalability of PreparedQueryCacheImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963498 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 21:39:47 +00:00
Catalina Wei
5ad6624b53
OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963139 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 19:51:31 +00:00
Catalina Wei
fc63143dfe
OPENJPA-1715: OpenJPA generates wrong SQL for Oracle if a result variable that references an aggregate expression is used in ORDER BY clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@962708 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 22:03:35 +00:00
Richard G. Curtis
1738c1f33b
OPENJPA-1717: Disable FinderCache statistics by default.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961017 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 21:31:12 +00:00
Milosz Tylenda
2f10cd4520
OPENJPA-6: Implement JDBC 3 methods in delegates.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958120 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 21:34:46 +00:00
Albert Lee
b27485bd8b
OPENJPA-1708 - Change a message logging from info to trace and correct supported log levels in manual.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@958018 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 16:13:53 +00:00
Milosz Tylenda
8781af1e88
OPENJPA-1689: Coorect a comment and remove unused import statements.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957831 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 07:53:24 +00:00
Jeremy Bauer
e372349aeb
OPENJPA-1689 Provide better determination of PostgreSQL db owned sequences
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957715 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 21:06:47 +00:00
Donald Woods
51cf5ee59e
OPENJPA-1700 Findbugs - add commented out annotation so we'll ignore this in the future
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956990 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 19:32:51 +00:00
Donald Woods
ee314e9586
OPENJPA-1700 FindBugs - ignore this warning and rollback previous changes in r956705
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956959 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 17:27:41 +00:00
Donald Woods
e3075014f3
OPENJPA-1700 FindBugs - Should be a static inner class. This class is an inner class, but does not use its embedded reference to the object which created it.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956952 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 16:55:56 +00:00
Donald Woods
d5fc007b70
OPENJPA-1700 FindBugs - Inefficient use of keySet iterator instead of entrySet iterator
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956939 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 16:13:27 +00:00
Donald Woods
2747862d5f
OPENJPA-1700 FindBugs - Inefficient use of keySet iterator instead of entrySet iterator. Noticed this duplciated code while looking to resolve the entrySet warning.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956938 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 16:13:04 +00:00
Donald Woods
75bd5fe6a7
OPENJPA-1700 FindBugs - Inefficient use of keySet iterator instead of entrySet iterator. Also, inefficient use of temporary Map when results can be used immediately
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956883 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:31:01 +00:00
Donald Woods
af772a734b
OPENJPA-1700 FindBugs - Method invokes inefficient new String() constructor
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956878 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:16:01 +00:00
Donald Woods
c047527a4f
OPENJPA-1700 FindBugs - Method may fail to clean up stream or resource
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956757 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 01:20:03 +00:00
Donald Woods
40d808099d
OPENJPA-1700 FindBugs - Usage of GetResource may be unsafe if class is extended. Use DBDictionary.class.getResourceAsStream() like other places in the code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956705 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:32:46 +00:00
Donald Woods
18e329cf4e
OPENJPA-1700 FindBugs - Suspicious reference comparison of Boolean values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956702 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:22:11 +00:00
Donald Woods
702fb78b14
OPENJPA-1700 FindBugs - equals() method does not check for null argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956696 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:16:37 +00:00
Donald Woods
004cbd9644
OPENJPA-1700 FindBugs - extraneous checks for null as a NPE would have already occurred
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956693 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:01:34 +00:00
Donald Woods
5e8b5afc72
OPENJPA-1700 FindBugs - was checking array and not member for null
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956687 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 20:39:47 +00:00
Donald Woods
2e827c5eab
OPENJPA-1700 FindBugs - Possible null pointer dereference; There is a branch where em1 would not get set.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955402 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:31:23 +00:00
Fay Wang
34a865c5bd
OPENJPA-1699: clean up code
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955400 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:28:11 +00:00
Donald Woods
bc67e474bc
OPENJPA-1700 FindBugs - Possible null pointer dereference; the clss cehck against null 3 lines up doesn't protect against a null value here
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955399 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:25:44 +00:00
Donald Woods
13002d2025
OPENJPA-1700 FindBugs - Possible null pointer dereference; strName could be set to null.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955394 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:17:57 +00:00
Donald Woods
cb099098ca
OPENJPA-1700 FindBugs - Possible null pointer dereference; Could be caused by using bitwise instead of logical AND. This could also have lead to unexpected code behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955382 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 21:03:02 +00:00
Donald Woods
f82b866318
OPENJPA-1700 FindBugs - Null pointer dereference; changeRow was not being set before being used.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955381 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 20:59:58 +00:00
Donald Woods
8084af124c
OPENJPA-1700 FindBugs - Call to equals() comparing different types. Make explicit call to getName() instead of relying on toString() to call it.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955379 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 20:56:15 +00:00
Fay Wang
7450df02a4
OPENJPA-1699: Streaming LOB support for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955283 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:07:14 +00:00
Michael Dick
152e5d2d4f
OPENJPA-1696: setting eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954905 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:16:06 +00:00
Pinaki Poddar
3865aedfaa
OPENJPA-1686: Upgrade to Java runtime version 5. Remove reflection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954678 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 00:09:17 +00:00
Catalina Wei
493bfe0e14
OPENJPA-1696: Type discriminator for polymorphic queries limited to Single Table inheritance
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954007 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 14:05:43 +00:00
Richard G. Curtis
3905b52a90
OPENJPA-1692: Update method signature for BrokerFactory.getInstance(...) to take a classloader.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953830 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 18:51:47 +00:00
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
Donald Woods
b5b65a7d4b
[maven-release-plugin] prepare release 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +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
Donald Woods
0befad7051
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods
099d18901e
[maven-release-plugin] prepare release 2.0.0-beta2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +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
Donald Woods
9c90ca5506
merged in r902968 from beta branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +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
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
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
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
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
Donald Woods
a2abcbbfe3
OPENJPA-839 Fix jaxb depends for Java SE 5 users and keep it from getting pulled into the aggregate jars by the shade plugin. Also, removed duplicate maven-source-plugin usage in the parent pom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830721 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 18:54:53 +00:00
Donald Woods
cb31d309b2
OPENJPA-839 Create source jars for all artifacts by using maven-shade-plugin for the aggregate jars. Also, removed OSGi metadata from openjpa.jar, as this will be handled by a new openjpa-osgi.jar instead.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830564 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 14:45:15 +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