A. Abram White
7846adbf3f
Unused.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443496 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 22:10:45 +00:00
A. Abram White
a5d552f940
Allow null discriminator values when adding class conditions on outer joins.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443447 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 19:36:09 +00:00
Marc Prud'hommeaux
fcd072a2c5
Fixed bug where NamedNativeQuery/NamedNativeQueries was not being examined when looking up named queries, which could result in them not being found if the metadata has not yet been parsed completely
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443432 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 18:21:19 +00:00
A. Abram White
72f7b6b963
Query fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443170 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 00:05:16 +00:00
A. Abram White
913e54c93c
No need to beginOperation (and especially sync with trans) in
...
internal isTransactionEnding method.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443164 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 23:23:22 +00:00
Stephen Kim
cfcca49521
fix for re-proxying of hashed types during commit / rollback
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443153 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 22:45:21 +00:00
Kevin W. Sutter
9650a1a20b
Minor updates to comments and doc... While doing the removal of the LockGroup stuff, I came across an entry for
...
contacting support@solarmetric.com for some customization feature. While cleaning that up, I also cleaned up any
other references to @solarmetric.com and @bea.com.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443123 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 21:05:42 +00:00
A. Abram White
c863a7a489
target-entity parse fix.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443114 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 20:35:15 +00:00
Kevin W. Sutter
7bff3b4373
Removed references to LockGroups from the messages, documents, and code since these are not provided as
...
part of the OpenJPA code drop.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443113 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 20:35:08 +00:00
Marc Prud'hommeaux
868cc7bc4e
Moved nulling of sequence name to after the check and configuration of the plugin, since it was preventing using a custom sequence plugin from working when specified in the sequence name.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443104 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 20:03:44 +00:00
Marc Prud'hommeaux
30345610fa
Moved nulling of sequence name to after the check and configuration of the plugin, since it was preventing using a custom sequence plugin from working when specified in the sequence name.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443103 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 20:03:39 +00:00
A. Abram White
a9eaf4683b
Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443073 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 18:57:13 +00:00
Kevin W. Sutter
912c1262d6
Removed unused message concerning the number of pooled connections allowed.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443019 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 16:39:45 +00:00
Stephen Kim
8a9c647907
load registered class metadata when getting implementors
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@443016 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 16:31:50 +00:00
Marc Prud'hommeaux
d78bcae002
Only make an instance nontransactional if it is not in the TCleanState, which should not transitional to nontransactional upon detach. Only make an instance nontransactional if it is not in the TCleanState, which should not transitional to nontransactional upon detach.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442774 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 00:44:14 +00:00
A. Abram White
832d913520
Delete child object(s) before parent when cascading delete. Also fix case where
...
an interface field uses targetEntity to declare itself as a concrete entity
relation, and add test case for fix.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442718 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 21:39:01 +00:00
A. Abram White
6ac482c68f
Fix erroneous change I made yesterday.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442691 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 20:06:29 +00:00
A. Abram White
d1e7a817d2
Fix failure to close some empty result sets.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442643 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 16:41:09 +00:00
Stephen Kim
2dfe77f2ca
Record interface superclasses
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442494 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 07:06:25 +00:00
A. Abram White
1e95734015
OPENJPA-39 test case. Also query fixes and fix to possible data corruption
...
issue (yikes!).
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442388 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 23:54:01 +00:00
Marc Prud'hommeaux
f56a7555a7
Don't bother using a subselect in bulk UPDATE or DELETE clauses if there is no where condition, since it does the exact same think as an unqulaified bulk operation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442385 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 23:17:27 +00:00
Stephen Kim
1defd23037
Supports for interface query alias metadata
...
as well as refactoring persistence-aware metadata into non-persistent metadata
to support non-managed interfaces
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442363 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 21:56:55 +00:00
A. Abram White
da1961910b
Change to allow fields to use per-class sequences.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442269 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 17:28:44 +00:00
Marc Prud'hommeaux
25e80a994e
OPENJPA-42 Check for the existence of superclass metadata in getSuperclassField so we throw a better exception than an NPE if it doesn't exist.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442030 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 23:24:02 +00:00
Marc Prud'hommeaux
3b2f6a720d
OPENJPA-40 Use the same environment class loader both as the core class loader and the environment class loader for the XMLPersistenceMetaDataParser.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@442026 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 22:49:25 +00:00
A. Abram White
ddf3631bcc
Added test for deep mapped superclass inheritance hierarchy, which is what
...
my last metadata changes fixed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441702 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 00:39:29 +00:00
A. Abram White
37aa91d2af
Simplify determination of identity type in metadata, also correcting problems
...
with determining the identity type of hierarchies involving @MappedSuperclasses.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441679 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 22:45:39 +00:00
A. Abram White
554f55f46e
Update docs on fetch groups.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441611 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 18:44:11 +00:00
Marc Prud'hommeaux
bbe10e18ba
Formatting fix.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441396 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 06:39:01 +00:00
Marc Prud'hommeaux
609b2da6e8
Changed jar aggrigation phase to process-classes so that the directory doesn't get clobbered between "clean" and "package".
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441339 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 02:16:29 +00:00
Marc Prud'hommeaux
812e184e89
Added openjpa-all module which will manually create an openjpa-all-VERSION.jar file that aggregates all the other openja-*.jar files; fixed Configurations.java to provide more information when a missing services resource is caused by a deeper exception
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441318 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 01:24:18 +00:00
A. Abram White
1e5d09ce2f
Forgot to add new classes.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441242 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 21:45:54 +00:00
A. Abram White
7e30623c7b
Refactor JDBC query expression tree to allow greater concurrency and to handle
...
parameters in result clauses of projections.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@441158 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 17:51:05 +00:00
Marc Prud'hommeaux
56d5f6469e
OPENJPA-40 Fall back to using the ConfigurationProvider's ClassLoader in the even of a loader mismatch.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440882 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 21:42:31 +00:00
Pinaki Poddar
890ae1a702
An extension mechanism for PersistenceProvider to supply their own Configuration Provider
...
and EntityManagerFactory. This is a tentative/interim solution and likely to be replaced
once we move to ProductDerivation based extension framework.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440721 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 14:23:28 +00:00
Pinaki Poddar
253407b69c
Refatoring user facing classes (FetchPlan, Generator, Extent, StoreCache) into interfaces.
...
Adding hooks for extended EntityManagerFactory and ConfigurationProvider.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440714 13f79535-47bb-0310-9956-ffa450edef68
2006-09-06 13:52:35 +00:00
Marc Prud'hommeaux
b34fec7e38
Removed references to non-existent mappings KeyColumn, KeyColumns, KeyEmbeddedMapping, KeyIndex, ElementColumn, ElementColumns, ElementEmbeddedMapping, and ElementStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440460 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 19:43:41 +00:00
Marc Prud'hommeaux
8676abb0ad
Fixed empty binary tags to be unary (since it was causing problems with some XML validators; fixed duplicate 'ref_guide_runtime_jpaquery' id, which appears like it should have been named 'ref_guide_runtime_jpaextent'
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440450 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 19:28:36 +00:00
A. Abram White
c1a146714e
InheritanceComparator has been changed to public: add @nojavadoc to prevent
...
inclusion of this internal component in user javadoc.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440400 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 16:59:11 +00:00
Stephen Kim
5240ea8612
remove executable flag on file
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@440254 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 04:34:44 +00:00
Stephen Kim
2b66092a80
fix inheritance issue again with interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439554 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 07:27:13 +00:00
Stephen Kim
fc9b67f556
changed ordering to avoid super / subclass clashing
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439550 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 06:36:19 +00:00
Stephen Kim
4f4b1b29fe
bug in ordering
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439548 13f79535-47bb-0310-9956-ffa450edef68
2006-09-02 06:17:06 +00:00
Stephen Kim
fe6352fca1
whoops. forgot interface impl generator
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439412 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 18:18:03 +00:00
Stephen Kim
423b0a418a
Support for managed interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@439383 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 17:16:50 +00:00
Marc Prud'hommeaux
c39b7141ce
Don't allow conversion from number to String if the strict flag is set to true.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438746 13f79535-47bb-0310-9956-ffa450edef68
2006-08-31 01:51:30 +00:00
Marc Prud'hommeaux
582c83b29b
OPENJPA-15 Updated grammer to fix some inconsistencies with the spec
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438573 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 18:16:40 +00:00
Patrick Linskey
01735b1234
changed @since tags to disambiguate the Kodo information with future releases of OpenJPA by adding a 0. to the beginning of each.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438566 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 17:53:55 +00:00
A. Abram White
163cc2a22c
Framework for allowing ranges in query strings to be specified as parameters
...
(not needed for JPQL, but for others). Also consolidated some internal query
framework APIs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438338 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 03:43:16 +00:00
Patrick Linskey
47ead9315d
handle non-OpenJPA EMs more gracefully. This will help for containers that proxy the OpenJPA EM.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@438298 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 23:49:48 +00:00