Michael Dick
a5d1acd44e
OPENJPA-284 committing on behalf of Teresa
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558097 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 19:17:19 +00:00
Michael Dick
99950ad3ff
OPENJPA-288 committing on behalf of Teresa
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@558073 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 17:50:56 +00:00
David J. Wisneski
a275b7aefb
OPENJPA-240 XMLMapping Query support for persistent field maps to XML column.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557437 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 00:45:51 +00:00
Craig Russell
b8bb8404a9
OPENJPA-235 break-nullable-patch contributed by Markus Fuchs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@557089 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:56:45 +00:00
Kevin W. Sutter
62ae83f3b5
Minor updates to help with translation and formatting of messages. Items like removing contractions like "can't" and "doesn't". Also, ensuring there are two single quotes for possive like "Provider's".
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@556926 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 13:43:40 +00:00
David J. Wisneski
6b6a4b57e4
Add product version checking for DB2 UDB ISeries V6R1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@555361 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 18:39:08 +00:00
David J. Wisneski
dfba4dff7d
OPENJPA-266, extensibility for platform specific version column
...
Passed TCK with Derby
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554803 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 02:28:11 +00:00
Michael Dick
0826b7a717
OPENJPA-279
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553978 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 18:08:06 +00:00
Patrick Linskey
774e7b5b8c
OPENJPA-274, OPENJPA-275. Improved our bulk update support to automatically increment version counters as necessary if an UPDATE query does not maintain the version fields itself. Also fixed a bug with all queries involving version fields by changing FieldMappings representing version fields to return their owning ClassMapping's Version's columns from a getColumns() call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553912 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 14:49:52 +00:00
Marc Prud'hommeaux
8b5a7f68a0
OPENJPA-244 Fixed some formatting inconsistencies with the patch for OPENJPA-244
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@553010 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 22:42:39 +00:00
Michael Dick
0c517d163e
OPENJPA-244 committing on behalf of Albert
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552996 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 21:55:29 +00:00
Marc Prud'hommeaux
85b2e766ca
OPENJPA-239 Patch to support the generation of annotation mappings using the reverse mapping tool
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552358 13f79535-47bb-0310-9956-ffa450edef68
2007-07-01 19:37:04 +00:00
David J. Wisneski
0b356dfc0d
OPENJPA-271, add DB2 JDBC driver 2 support, add message key/text
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552095 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 03:52:46 +00:00
David J. Wisneski
9975362f1f
OPENJPA-271, add DB2 JDBC driver 2 support
...
- datePrecision set to MICRO, (Timesptamp in micro-second in DB2)
- save version strategy in Column (needed for specialized TimestampVersionStrategy)
- set storeCharsAsNumbers to false (DB2 default - store chars as chars)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552078 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 02:33:35 +00:00
David J. Wisneski
7db9a7fae5
OPENJPA-266, committing the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@552039 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 21:22:01 +00:00
Michael Dick
058c174bef
OPENJPA-269 Updating InformixDBDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@551263 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 18:36:38 +00:00
Michael Dick
c1c32b4d8c
OPENJPA-266 Allowing PreparedStatementManagerImpl to be extendable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550977 13f79535-47bb-0310-9956-ffa450edef68
2007-06-26 22:43:25 +00:00
Marc Prud'hommeaux
cbb7bded12
Remove use of JDK 1.5-only method String.contains().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@550158 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 03:30:26 +00:00
Patrick Linskey
be91d228c5
OPENJPA-51. Committing Catalina's patch. It passes against Derby in my environment as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549882 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 17:08:28 +00:00
Marc Prud'hommeaux
cc8ac0bc64
Changed the parsing of the driver name to not use the JDK 1.5-specific method String.contains() and String.split().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@549508 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 15:17:24 +00:00
David J. Wisneski
1921d6cc59
OPENJPA-240 fix JAXB dependency and move XMLValueHandler to openjpa-jdbc-5.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548860 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 21:53:55 +00:00
David J. Wisneski
8bf89a655a
OPENJPA-240, packaging/renaming/JAXB dependency cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@548834 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:44:58 +00:00
David J. Wisneski
f026af58cd
OPENJPA-240 Feature:Persistent field mapping support for XML column type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547831 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:44:47 +00:00
David J. Wisneski
d384dcb8fd
OPENJPA-240 Feature:Persistent field mapping support for XML column type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@547830 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 23:44:31 +00:00
Marc Prud'hommeaux
0091bcabe3
Added a 'java14.jar' property that can be used to specify the location of the JDK 1.4 runtime jar, against which we will compile the JDK 1.4-specific modules. This can be used to ensure that JDK 1.5-specific methods and classes don't slip into the JDK 1.4 modules.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546768 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 07:50:11 +00:00
Marc Prud'hommeaux
d72a5ad309
Fixed JDK-1.5-specific Array.toString() call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546743 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 05:41:16 +00:00
Marc Prud'hommeaux
43eb43898a
Removed JDK1.5-specific construct.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546742 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 05:34:31 +00:00
Pinaki Poddar
2e8b28c4c2
Replace usage of String.contains() by JDK1.4 compliant method
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@546567 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 16:43:10 +00:00
Patrick Linskey
5463700d6c
OPENJPA-235
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@544918 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 18:49:30 +00:00
Marc Prud'hommeaux
3599a48964
Moving version to 1.0.0-SNAPSHOT as a result of mailing list vote
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@541929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:18:37 +00:00
Marc Prud'hommeaux
0e19b714ac
Changed version from 0.9.8-incubating-SNAPSHOT to 0.9.8-SNAPSHOT to reflect move from incubation to TLP
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540829 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:36:05 +00:00
Marc Prud'hommeaux
4a15b9c39e
OPENJPA-235 Reverted patch since it was causing TCK failures
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@539627 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 23:22:10 +00:00
Marc Prud'hommeaux
a92785fea6
OPENJPA-194 Changed openjpa-all-VERSION.jar to be just openjpa-VERSION.jar, and changes openjpa-project-VERSION.zip to be apache-openjpa-VERSION.zip
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:54 +00:00
David J. Wisneski
23beb964c5
undo patch for OPENJPA-51, revert back to r52881
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536692 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:16 +00:00
Patrick Linskey
80671afcbf
OPENJPA-235. Reformatted code to meet OpenJPA conventions; widened some type arguments that seemed unnecessarily narrow.
...
This passes all the OpenJPA tests in my environment, and the logic seems sound. I think that we could adjust the algorithm to require less collection copying, but I don't think that we should hold up the commit for that type of optimization.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@535379 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 20:58:49 +00:00
David J. Wisneski
a044af3287
Fix for issue OPENJPA-51. It should also resolve issue OPENJPA-173.
...
Change to use BitSet.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@534647 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 22:53:39 +00:00
David J. Wisneski
d5d214c182
Fix for issue OPENJPA-51. It should also resolve issue OPENJPA-173.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@534623 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 21:35:55 +00:00
Marc Prud'hommeaux
6bad8ff715
Removed use of JDK 1.5+ String.contains() method
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@532101 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 21:50:49 +00:00
David J. Wisneski
129360ace9
OPENJPA-222 clean up
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530860 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 17:24:32 +00:00
David J. Wisneski
0f66458d4c
OPENJPA-222 testcases for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530554 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 21:33:23 +00:00
David J. Wisneski
30f2042510
further clean up for OPENJPA-222
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530174 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:58:16 +00:00
David J. Wisneski
0df6a69703
fix for OPENJPA-222 .Update the getForUpdateClause, instead of overriding the toSelect
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@530163 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 21:26:20 +00:00
Marc Prud'hommeaux
640cddad04
Updated license headers to be in accordance with http://www.apache.org/legal/src-headers.html
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528881 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 21:50:17 +00:00
Michael Dick
4ea1c3f738
adding license to java files
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527728 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 23:52:54 +00:00
A. Abram White
b4a3a77840
OPENJPA-134 : When we're performing eager fetches and we can detect that we're
...
already fetching the owning side of a bidi relation, cut off eager selecting
and loading when we come across the back-ptr to the owner again.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527565 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 16:21:13 +00:00
Michael Dick
7fd119e840
updating trunk version
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526476 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 19:54:18 +00:00
Patrick Linskey
840644fcc5
OPENJPA-182. Changed JDBCFetchPlan.setIsolation() to use enums; added logic to handle enum hints to QueryImpl; moved from IllegalArgumentException to InvalidArgumentException to unify exception processing for both queries and find calls.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526316 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 23:22:06 +00:00
Patrick Linskey
bd93bfa284
OPENJPA-182. forUpdateClause is now used even if forUpdate is false, to allow for read-only optimizations. Changed JDBCFetchPlan.setIsolationLevel and JDBCFetchConfiguration.setIsolationLevel to just JDBCFetchXXX.setIsolation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526266 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:50:53 +00:00
Patrick Linskey
8ece757233
OPENJPA-182
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526212 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 16:08:27 +00:00
A. Abram White
1c8f82b810
Move LockManager API back to using int timeouts, since that's the way they're
...
handled elsewhere (FetchConfiguration, Broker, etc). Only use the lock timeout
on a forUpdate query if it is greater than the configured query timeout.
Selects that are made *only* to lock a row (rather than to query data, with
locking as a side effect) still use the lock timeout exclusively, ignoring the
query timeout.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526192 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 15:08:39 +00:00
Srinivasa Segu
c5d82a70d5
OPENJPA-203. Fix select-for-update queries to timeout after the LockTimeout interval
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526059 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 05:21:35 +00:00
Patrick Linskey
7f998f10f1
Null check.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525999 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 23:13:33 +00:00
Patrick Linskey
814637ca6c
OPENJPA-182. Moved to API-based model. Query.setHint() can still be used via the query hint => fetch plan binding.
...
Removed the logic to override the forUpdate value, since the calling code already incorporates fetch configuration data into its decision about how to invoke toSelect(). Added a test case to assert this behavior.
Also cleaned up some minor whitespace issues, and reduced code duplication by moving a couple of concepts up into DBDictionary. Removed some seemingly-unnecessary overrides from H2Dictionary.
Added a test case for isolation level configuration. For non-DB2 dictionaries, it asserts that an exception is thrown during execution. Someone with DB2 knowledge / access should fill in the test case for the DB2 cases. As we add support for per-query isolation level configuration for other databases, we should change this test case.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525997 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 22:55:52 +00:00
Srinivasa Segu
e541936463
OPENJPA-203.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525950 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 20:06:24 +00:00
A. Abram White
80f7795fef
Cleanup bugfix relating to use of a default schema declared in orm.xml:
...
- Removed prepending of schema name in PersistenceMappingDefaults.getTableName
methods as unnecessary.
- Moved storage of default schema name to ClassMappingInfo as that's the only
place we use it for now.
- Moved setting of default schema name into the more efficient endClassMapping
method of XMLPersistenceMappingParser.
- Fixed MappingInfo.createTable logic to pass the full table name to
SchemaGroup.findTable. This is important b/c the DynamicSchemaGroup (used
during the mappingtool's buildSchema action, the default for JPA) dynamically
adds the table to itself during the findTable operation. Without the full
table name it would always add the table to the default schema.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525606 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 21:13:19 +00:00
David J. Wisneski
db2a53ff2d
removing unneeded method in OPENJPA-182 fix
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525602 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 21:02:51 +00:00
Patrick Linskey
7bd43ff2e0
OPENJPA-184: handle the case where dict is null in SQLExceptions by moving the logic into DB2Dictionary.newStoreException().
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525583 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 19:17:11 +00:00
David J. Wisneski
5d18f26c10
fixing little formatting for OPENJPA-184
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525573 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 18:48:03 +00:00
David J. Wisneski
729c7af474
changes for OPENJPA-184.Appending DB2Diagnosable information to the exception.No logging done.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525572 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 18:45:40 +00:00
David J. Wisneski
6fe50aa433
fix to OPENJPA-182 commit
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 20:24:39 +00:00
Craig Russell
4754f0921c
Fixed autoboxing issue
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525258 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 20:02:07 +00:00
David J. Wisneski
9e8e265d6c
changes for JIRA OPENJPA-182
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525252 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 19:34:59 +00:00
Patrick Linskey
9c25f9bdf5
Minor formatting changes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525213 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 17:20:01 +00:00
Marc Prud'hommeaux
24538f5431
Added missing 'join-bad-col-name' localized string.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525029 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 04:46:24 +00:00
Michael Dick
f023f58562
OpenJPA-179 store defaultSchemaName in ClassMapping
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525006 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 02:48:10 +00:00
A. Abram White
1679c05c89
Cleanup and fixes to changes for OPENJPA-168.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@523425 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 17:43:35 +00:00
David J. Wisneski
fee930886b
fixing indentation and few changes suggested by Abe for OpenJPA patch-168
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@523071 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 20:47:21 +00:00
A. Abram White
9b61ded11b
Simplify breaking up long IN clauses into multiple OR'd IN clauses based on the
...
dictionary's IN clause limit
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@522600 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 19:17:10 +00:00
David J. Wisneski
442c1cee48
Patch for OPENJPA-168
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@522581 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 17:59:03 +00:00
Srinivasa Segu
ae2d8685e1
OPENJPA-175. PagingResultObjectProvider to use FetchBatchSize when set for eager selects. Fix to handle Oracle in-clause limit of 1000
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@521443 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 20:26:18 +00:00
David J. Wisneski
d35bc8a306
fix for OPENJPA-22
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@516624 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 00:34:09 +00:00
Patrick Linskey
1af233a0b3
OPENJPA-80: MySQL escape string for string matches queries
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@515043 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 09:33:06 +00:00
A. Abram White
afce8f543a
OPENJPA-162 : Allow explicit @OrderBy(<primary key field>).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@514847 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 20:14:02 +00:00
A. Abram White
4bf637f074
Improve error checks for mapped-by mappings. Mark deleted instances as
...
eligible for state restore on rollback so they don't always clear. Always
cascade attach to embedded instances.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512350 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:14:45 +00:00
Kevin W. Sutter
5ae6e7594f
These changes are reverting the changes integrated for revisions 510336 and 510281. From the remarks on the dev mailing list, the basic idea is sound, we just need to re-visit the implementation a bit.
...
One "problem" that I couldn't resolve with this revert process was to restore the svn history for the DB2Dictionary.java part. Somehow, the history for this part was lost when revision 510336 was integrated. I have not found a means of restoring that history. But, at least the contents are back to a known state.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512327 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:23:27 +00:00
Patrick Linskey
7db81e3d6c
OPENJPA-158 -- reduced log level to TRACE for a variety of enhancement and metadata related messages
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@512107 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 01:59:42 +00:00
Srinivasa Segu
2a95f80f44
OPENJPA-151.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@511998 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 20:46:03 +00:00
David J. Wisneski
7eb91d0ec9
DB2 Optimize for clause enhancement
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@510336 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:03:06 +00:00
David J. Wisneski
2d3871b86b
DB2 Optimize for clause enhancement
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@510281 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 22:50:04 +00:00
Srinivasa Segu
82a62a6b78
OPENJPA-157. Fix to use the getIndependentTypeMappings to handle the case of field's declared type being abstract/unmapped
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509885 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 04:06:45 +00:00
A. Abram White
1b446958f5
OPENJPA-146 : When copying an OID superclass field for re-mapping, revert type
...
to PC. It will re-resolve to OID on its own when the field's metadata is
resolved, and in the meantime it will ensure we use the same path for
metadata resolution as non-copied fields.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509632 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 16:33:54 +00:00
Srinivasa Segu
4f102a7c77
Capturing reference to the Column[] at the creation time in the RowImpl instead of the Table, to work with DynamicSchemaFactory where the Table's columns can get modified after the creation of the RowImpl before the flush.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@509473 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 08:59:10 +00:00
A. Abram White
a2be03e9cb
Add a DiscriminatorStrategy.hasClassConditions() method rather than having the
...
DiscriminatorStrategy.getClassConditions() method return null for no conditions
so that we can detect whether the joins to the base class owning the
discriminator are necessary before making them. Otherwise, we run the risk of
creating table aliases for base class tables without joining them, which can
result in bad SQL.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@505017 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 19:36:33 +00:00
A. Abram White
8d288589c2
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@503744 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 16:01:09 +00:00
Patrick Linskey
0b60936d33
OPENJPA-37
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@502374 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 22:03:31 +00:00
Srinivasa Segu
45d90fd282
Fixes to parse and use SqlResultSetMapping, SqlResultSetMappings annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@498850 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 23:33:08 +00:00
A. Abram White
fd0e25dae6
Expand Column.isCompatible method parameters to also take type name and
...
decimal digits so that DynamicSchemaFactory can set this information when
building up its internal schema representation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497866 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 16:33:08 +00:00
Marc Prud'hommeaux
6b78680b27
Fixed bug where mod operator wouldn't get inserted (for databases that support the % mod operator).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497715 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 06:32:42 +00:00
Marc Prud'hommeaux
b37a0f0ecf
Fixed incorrect quoting of parameters in trim functions.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497701 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 04:21:13 +00:00
Marc Prud'hommeaux
7f2613e394
Work around Oracle's inability to call PreparedStatement.setNull(index, Types.OTHER). We will instead used PreparedStatement.setNull(index, Types.NULL).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497683 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 02:09:53 +00:00
David J. Wisneski
396efa6ae6
Support native queries making stored procedure calls, or insert, update, delete.
...
For native queries returning ResultSet should use getResultList or getSingleResult interfaces on Query.
For native queries performing updates without returning any results use executeUpdate interface on Query.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497605 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 22:21:08 +00:00
Marc Prud'hommeaux
fa5eb3a7af
Changed SQL generated by JPQL query "null <> null" from "NULL IS NOT NULL" to "1 <> 1", since some databases (e.g., DB2) dislike "NULL IS NOT NULL", but everyone is OK with "1 <> 1".
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497279 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 01:30:45 +00:00
Marc Prud'hommeaux
f0be9e1af1
Changed SQL generated by JPQL query "null = null" from "NULL IS NULL" to "1 = 1", since some databases (e.g., DB2) dislike "NULL IS NULL", but everyone is OK with "1 = 1".
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497276 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 01:26:57 +00:00
Marc Prud'hommeaux
ef67680a55
Fixed concatinate function to cast both sides as a VARCHAR, since DB2 and Derby disallow parameters on both sides of the function.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@497190 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 21:48:27 +00:00
Pinaki Poddar
8303c81419
Processing <unique-constraint> in XML descriptor and serializing the same.
...
Does not cover <unique-constraint> within Secondary or Join table.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@496522 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:39:14 +00:00
Pinaki Poddar
218a000b84
ClassMappingInfo.addUnique() accepts a Unique instance rather than an array of column names
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495800 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 00:35:45 +00:00
Pinaki Poddar
b7c7a47aac
Modified handling of class level UniqueConstraints to be similar to field level constraints.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495748 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 21:49:05 +00:00
A. Abram White
3dd1c43165
Allow use of reflection to access private id fields of pre-1.5 classes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495650 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 17:25:25 +00:00
Marc Prud'hommeaux
9851f62748
Put getJDBCMajorVersion() in a try/catch block, since it is a JDBC 3-only method, so it might throw an AnstractMethodError.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@495027 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 23:00:38 +00:00
Pinaki Poddar
3e6410b75d
Adding @UniqueConstraint annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@492225 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 17:17:38 +00:00
Patrick Linskey
942599e797
deleteTableContents optimization for MySQL. This is disabled by default, as MySQL may fail if using InnoDB + delete constraints.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@492032 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 03:02:45 +00:00
Patrick Linskey
4bbf599c45
Added new SchemaTool action: deleteTableContents, and added support for comma-separated lists of schema actions, both via the MappingTool -schemaAction option and via direct SchemaTool usage. This implementation always processes all of the known types in the system; I have not tested running MappingTool against just one or two classes to see what 'all of the known types in the system' really means.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@492024 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 02:44:57 +00:00
Patrick Linskey
a255da6f65
submitting patches for OPENJPA-92. I have not tested them aside from compiling and running the regression tests (against Derby).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@491148 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 01:38:33 +00:00
Patrick Linskey
4611bf9e43
Code changes for OPENJPA-93: sequence maintainance in JTA env without non-JTA datasource. This has been nominally tested in WebLogic Server.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@491147 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 01:20:55 +00:00
Kevin W. Sutter
6cb121e192
Changes for JIRA OPENJPA-77 issue.
...
These changes allow the use of the DB2Dictionary with DB2 on z/OS. May need more in the future, but these will get us started...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@491027 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 15:19:17 +00:00
Srinivasa Segu
2508046403
Fix - return the qualified SecondaryTableName
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@489768 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 21:21:19 +00:00
A. Abram White
87b5ae1f4f
JIRA OPENJPA-90
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487605 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 18:00:30 +00:00
Marc Prud'hommeaux
148d8f8df2
Wrap non-Collection arguments in Collections so that the query language can support having both varargs "in" clauses as well as clauses that take a Collection parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@486429 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 00:26:47 +00:00
A. Abram White
e54b0c1908
Move to dynamically-created bytecode proxies for second class objects, rather
...
than checked-in proxy classes. This allows us to proxy custom collection,
map, and bean types.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@484693 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 18:32:07 +00:00
Craig Russell
b8710bea03
Added property svn:eol-style=native
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482327 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 19:59:52 +00:00
Kevin W. Sutter
970f647622
Resolving JIRA report OPENJPA-63 for better pessimistic lock support for DB2. Instead of the usual "for update" clause, db2 dictionary will now use "with rr use and keep update locks" clause.
...
A couple of additional changes were necessary to properly detect the version of DB2 currently in use.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@482189 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 14:42:09 +00:00
Patrick Linskey
8015a253b6
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@479940 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 08:16:34 +00:00
A. Abram White
728413153f
Fix bug in which abstract JPA entities were being mapped to tables when the
...
declared inheritance strategy for the hierarchy was TABLE_PER_CLASS (which
actually means table-per-concrete-class).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475321 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 17:43:02 +00:00
Patrick Linskey
3a5185700f
invoke the close() callback at the beginning of ConfigurationImpl.close(); change other ConfigurationImpl subtypes to use preClose() instead of now-final close(); add test case for close callbacks.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475115 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 04:20:30 +00:00
Patrick Linskey
301580c069
made a number of configuration-related classes serializable to facilitate alternate means of configuration population; moved away from a couple more usages of commons collections LinkedMap; added new lifecycle callback to ProductDerivation interface
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@475059 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 23:42:42 +00:00
Marc Prud'hommeaux
3e8f9d931a
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474069 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 22:28:45 +00:00
Marc Prud'hommeaux
813bb89223
Updated to version 0.9.6-incubating
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@474050 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 21:36:52 +00:00
Marc Prud'hommeaux
ef56f8281b
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473962 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 12:59:24 +00:00
Marc Prud'hommeaux
ead07f40c0
Rolled back to 0.9.6-incubating to re-run the release process; fixed licenses in NOTICE.txt; added license headers to files where they were missing; removed sun.misc.Perf class, since we are no longer supporting JDK 1.3 (and it is only unavailable in 1.3 and lower)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473939 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 11:44:59 +00:00
Patrick Linskey
de3f43a5cd
moved to JDK1.4
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473448 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 19:44:47 +00:00
A. Abram White
fb770599b0
Fix for deeply nested subqueries, and for the JPQL IN(<subquery>) construct.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@473140 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 23:55:41 +00:00
Marc Prud'hommeaux
cf56e213a9
Updated to version 0.9.7-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472718 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:41:04 +00:00
A. Abram White
8efffbdd4b
Test for the OpenJPAQuery.setSubclasses method.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472310 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 22:38:37 +00:00
A. Abram White
3b9fa1f25a
Bugfix for when abstract base class has no discriminator value. Cleanup of
...
query compilation cache additions.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472275 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 21:20:57 +00:00
Marc Prud'hommeaux
0e02efdfbf
Updated version to 0.9.6-incubating in hopes of having a release
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472238 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 20:34:03 +00:00
A. Abram White
92343313fb
Fix recently-introduced bugs in conversion between JPA facades and underlying
...
components.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@472193 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 18:37:33 +00:00
Patrick Linskey
9e85e90c1e
correct configuration property name
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471499 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 19:25:16 +00:00
A. Abram White
9623c5c6f8
Support many-one and one-one relations as primary key fields.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@471045 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 23:15:08 +00:00
Patrick Linskey
a493e790b7
Removed some dead code and unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@469315 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 23:32:19 +00:00
Kevin W. Sutter
753468d8a1
Resolving OPENJPA-67. The sql statement for selecting the next value in a sequence was not correct in the DB2 Dictionary.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@468440 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 16:16:59 +00:00
Marc Prud'hommeaux
e2f38567a1
Upgraded to version '0.9.6-incubating-SNAPSHOT'
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464753 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 00:05:01 +00:00
Marc Prud'hommeaux
fb00d685bd
Upgraded to version '0.9.5-incubating'
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464711 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 23:00:34 +00:00
A. Abram White
907647550c
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@464586 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 17:52:44 +00:00
A. Abram White
c8b5b2746e
Validate product derivations before caching them so we don't end up with runtime
...
errors when clients use JPA without jdo.jar or JDO without jpa.jar. Give a
more succinct warning when some product derivations are uninstantiable, with
more detailed information available via the ProductDerivations class's main().
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@463829 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 21:07:17 +00:00
A. Abram White
72594b2ac8
Remove some bad vert inheritance logic.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462846 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 16:43:17 +00:00
A. Abram White
6937856e2b
Optimize queries of the form "select e from ... where e.rel.id = :x" to not join
...
across "rel" for std fk->pk joins.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462646 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 00:16:53 +00:00
A. Abram White
f27898f280
Take advantage StringUtils where appropriate.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462617 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 22:39:15 +00:00
A. Abram White
08d69d15a7
Vertical inheritance with eager fetching fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@462560 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 20:56:32 +00:00
Marc Prud'hommeaux
0c58bedbb6
Updated version to be openjpa-0.9.5-incubating-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454516 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 21:16:48 +00:00
Marc Prud'hommeaux
2fbc438887
Updated to final 0.9.0-incubating release number
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454452 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 18:40:10 +00:00
A. Abram White
dcf691a727
Get rid of warning for product derivations that use an unsupported class
...
version. Minor API changes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454072 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 04:03:06 +00:00
Patrick Linskey
28910a7374
Changed OpenJPAProductDerivation to have a proper lifecycle callback for BrokerFactoryValue initialization; added supporting infrastructure as needed.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@454064 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 02:05:49 +00:00
A. Abram White
433475f6ad
Merge fixes from Kodo 4.0 line.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453796 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 22:31:28 +00:00
Marc Prud'hommeaux
3ffad89624
Added warning about Oracle's ArrayIndexOutOfBoundsException JDBC driver bug.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453720 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 18:10:08 +00:00
Marc Prud'hommeaux
223b81db2b
Added warning about Oracle's ArrayIndexOutOfBoundsException JDBC driver bug.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453717 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 18:06:17 +00:00
Marc Prud'hommeaux
b25dfe66f4
Added supportsTimestampNanos to allow people to work around an ArrayIndexOutOfBoundsException that occurs when using multiple timestamp columns with version 9.2+ of the Oracle JDBC driver and version less than 9.2 of the Oracle server.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453715 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 18:03:50 +00:00
A. Abram White
dc09b61954
Fixes from Kodo's 3.4 branch.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453685 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 17:13:21 +00:00
A. Abram White
c0c4c3c738
Fixes relating to multiple same-typed embedded fields loading eager relations,
...
and deep vertical inheritance hierarchies where the base class's primary key
is auto-assigned on insert.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453449 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 01:04:34 +00:00
A. Abram White
1dbb7a9044
Tests and fixes for entities with multiple same-typed embedded entities, which
...
themselves have relations to other entities.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453321 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 19:13:26 +00:00
A. Abram White
361a77c451
Fix bug that could prevent user-assigned value from being inserted into a column
...
with a database default value.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@453030 13f79535-47bb-0310-9956-ffa450edef68
2006-10-04 21:16:06 +00:00