Michael Dick
47ffcea019
adding license info to readme
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@529615 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 14:11:52 +00:00
Michael Dick
b0ba394a57
adding license
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@529597 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 13:38:34 +00:00
Michael Dick
09dad99722
moving derby.log file to target directory
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@529415 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 21:55:03 +00:00
Michael Dick
aec27a30bf
fixing typos in RELEASE-NOTES.html in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528909 13f79535-47bb-0310-9956-ffa450edef68
2007-04-15 02:32:50 +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
7713ecf104
rewording statement re Java6
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528067 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 18:03:24 +00:00
Michael Dick
794ca05eed
update release docs
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527943 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 13:55:32 +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
Michael Dick
8b20d692e7
adding -project back into the zip files names
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527724 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 23:41:42 +00:00
A. Abram White
3885031a89
OPENJPA-214 : Support float and double fields as single-field identity primary
...
keys.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@527648 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:25:11 +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
Marc Prud'hommeaux
0806fd5b44
OPENJPA-208 Added NoResultException and NonUniqueResultException to kernel to allow the identification of the case where a unique result was selected by either none or too many were found
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526834 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:06:23 +00:00
Patrick Linskey
82c71f6dce
removed some os-dependent code from integration test pom
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526607 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 22:27:35 +00:00
Patrick Linskey
d86ba0eed3
Broaden exception check to consume all LinkageErrors rather than just ClassCircularityErrors.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526599 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 20:51:49 +00:00
Patrick Linskey
24299b365e
more attempts at fixing things for the tck
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526595 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 19:15:05 +00:00
Patrick Linskey
f041ba0959
fixed some issues with our TCK-running framework to hopefully get it running on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526588 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 18:11:21 +00:00
Patrick Linskey
89b0cf69b1
decoupling running of the examples and the tck, so that examples-related need not be addressed in order to run the TCK.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526512 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 02:59:44 +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
Michael Dick
d62996fd2f
updating release notes and changes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526443 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 15:44:08 +00:00
Marc Prud'hommeaux
4b6bade66a
Use the authoritative JPA API jar for running the TCK to get around incompatibilities with the Geronimo JPA API.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526347 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 02:10:20 +00:00
Marc Prud'hommeaux
af2550bb05
OPENJPA-208 Throw NoResultException and NonUniqueResultException when expected
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526322 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 23:52:03 +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
Marc Prud'hommeaux
82d274abd6
Redirect TCK output to a openjpa-tck.log file.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526305 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 22:40:38 +00:00
Michael Dick
0570f6b3bc
adding OpenJPA-202 to changes and release-notes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526297 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 22:14:46 +00:00
Marc Prud'hommeaux
15e1289b95
OPENJPA-193 Added 'tck-profile' profile flag that enables running the JPA TCK as part of the integration-test phase
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526287 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 21:19:53 +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
A. Abram White
31c7a575e7
Remove unneeded import.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526259 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:27:52 +00:00
A. Abram White
60a1e54f07
OPENJPA-202 : Don't detach LRS fields.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526253 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:17:44 +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
Michael Dick
1773160684
updating releasenotes and changes.txt
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526149 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 13:16:45 +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
57442b7059
HSQL doesn't support locking; short-circuiting tests that require pessimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526005 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 23:57:44 +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
Craig Russell
cf47647dcd
Minor change of Sun to JCP
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525591 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 19:34:15 +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
Michael Dick
fa68b7dcad
updating release-notes with suggestions from Roberty Burrel Donkin
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525579 13f79535-47bb-0310-9956-ffa450edef68
2007-04-04 19:06:46 +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
cf7ae01b08
adding release notes, changes.txt, and building.txt
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@525023 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 04:19:30 +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