Romain Manni-Bucau
0d7816290e
[OPENJPA-2840] light abstraction for asm
2020-11-20 09:43:42 +01:00
Romain Manni-Bucau
9fa619f94e
[OPENJPA-2834] ensure getProperties does not fail with xmlstore
2020-09-30 15:34:44 +02:00
Romain Manni-Bucau
910a812a15
[OPENJPA-2833] asm 9
2020-09-29 16:57:20 +02:00
Simone
f93ea15745
[OPENJPA-2828] Fix method equals() ( #72 )
2020-09-22 15:11:24 +02:00
Romain Manni-Bucau
33fc72ac85
[OPENJPA-2831] import [collections4] used classes and drop the dependency
2020-09-16 12:17:13 +02:00
Romain Manni-Bucau
1862e2bad5
dropping java < 8 asm test since we require java >= 8
2020-09-16 10:32:04 +02:00
Mark Struberg
94a033d83b
OPENJPA-2821 use AsmAdapter for subclassing
...
to write proper java8 code
2020-07-23 14:06:52 +02:00
Mark Struberg
ab6e0ed4b4
OPENJPA-2823 treat jakarta.* like javax.*
...
also simplify needsEnhance logic
2020-07-23 14:06:52 +02:00
Mark Struberg
bf03bdb314
OPENJPA-2822 get rid of tricks < java8
...
we can now rely on transform() being available on all JVMs.
2020-07-23 14:06:52 +02:00
Mark Struberg
f18f28b633
[maven-release-plugin] prepare for next development iteration
2020-07-07 11:19:15 +02:00
Mark Struberg
66d2a72cb2
[maven-release-plugin] prepare release 3.1.2
2020-07-07 11:19:15 +02:00
Romain Manni-Bucau
868a446a3e
activating back seasar repo for uow-api now xbean had been downloaded on the ci
2020-05-07 09:46:06 +02:00
Romain Manni-Bucau
560a850bfd
commenting seasar-repo since it should be useless now (and try to get back the CI green/blue)
2020-05-07 09:39:07 +02:00
Romain Manni-Bucau
a975a3d1c6
OPENJPA-2811 asm8 support
2020-04-27 16:52:24 +02:00
Romain Manni-Bucau
ae9b2a904b
OPENJPA-2809 adding openjpa-junit5 module
2020-03-17 17:17:19 +01:00
Maxim Solodovnik
44c4d8dc02
[OPENJPA-2798] Automatic-Module-Name is added
2020-03-15 15:59:45 +07:00
Mark Struberg
962cbbc624
Revert "[OPENJPA-2798] java11 friendly ( #57 )"
...
this introduces a dependency which requires attribution. No need to imo
This reverts commit 7ec0015edf
.
2020-02-29 16:05:56 +01:00
Mark Struberg
fd9585839a
[maven-release-plugin] prepare for next development iteration
2020-02-14 12:12:11 +01:00
Mark Struberg
1440702eec
[maven-release-plugin] prepare release 3.1.1
2020-02-14 12:12:01 +01:00
Francesco Chicchiriccò
6a3395dc79
[OPENJPA-2801] Introducing KubernetesTCPRemoteCommitProvider
2020-01-28 11:12:25 +01:00
Maxim Solodovnik
7ec0015edf
[OPENJPA-2798] java11 friendly ( #57 )
...
* [OPENJPA-2798] geronimo-jpa_2.2_spec is replaced with jakarta.persistence, Automatic module names are added
2020-01-16 20:00:56 +07:00
Will Dazey
b27175be87
ConcurrentModificationException window when MetaDataRepository cache updated
...
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-11-22 13:45:23 -06:00
Romain Manni-Bucau
ef98e18480
OPENJPA-2743 skip AttributeConverter when loading the Metamodel and preparing the broker to avoid to fail if it was registered in persistent classes (allowed in JPA to bypass scanning but enable converters)
2019-07-29 17:40:09 +02:00
Joe Grassel
d381f3f62c
[master] OPENJPA-2790: Convert build from SVN to GIT
...
This change ensures that git hashes have a length of 7 (observed different default lengths between different versions of git), and restores the "M" at the end of the revision number to signify "dirty" OpenJPA builds.
Signed-off-by: Joe Grassel <jgrassel@apache.org>
2019-06-21 11:56:37 -05:00
Will Dazey
7c54dd855b
OPENJPA-2767: fix for checkstyles ( #48 )
...
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-06-13 10:13:29 -05:00
Will Dazey
99a5a10218
Update org.apache.openjpa.revision.properties from SVN to GIT ( #50 )
...
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-06-13 10:10:50 -05:00
Will Dazey
389a82db97
OPENJPA-2767: Incomplete ValueMapDiscriminatorStrategy cache and MetaDataRepository race condition
...
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-05-14 15:25:43 -05:00
Mark Struberg
9f26ed29bf
[maven-release-plugin] prepare for next development iteration
2019-04-10 20:13:15 +02:00
Mark Struberg
afcec21a1d
[maven-release-plugin] prepare release 3.1.0
2019-04-10 20:13:04 +02:00
Mark Struberg
11cfff3f78
move to 3.1.0-SNAPSHOT as we upped the jpa-spec API to 2.2
2019-03-31 22:32:56 +02:00
Mark Struberg
0e4ec5b392
OPENJPA-2733 fix param index.
...
Also handle the case if the same Param gets registered multiple times.
This eg happens in case of a Criteria Subquery having the same parameter name.
2019-02-14 15:06:50 +01:00
Mark Struberg
6d2544f390
OPENJPA-2713 properly handle WITH TIME ZONE if supported by db
...
This includes handling the new java.sql.Types.TIME_WITH_ZONE
and DATE_WITH_ZONE.
2019-01-25 16:42:15 +01:00
Mark Struberg
e57fd518b3
OPENJPA-2713 implement native java8 types
...
Since some DBs (e.g. PostgreSQL) do support LocalDate, etc
in their JDBC drivers, it's probably the best to support it
on a way deeper level.
2019-01-20 23:51:10 +01:00
Mark Struberg
bb6bad0702
OPENJPA-2753 add a profile for Oracle as Docker image
...
-Ptest-oracle-docker
as new profile to start Oracle 11_XE
2019-01-06 23:43:41 +01:00
Maxim Solodovnik
d874cbf6d3
[OPENJPA-2754] maxActive -> maxTotal ( #24 )
...
* [OPENJPA-2754] maxActive -> maxTotal
* commons-pool2 and commons-dbcp2 versions are updated, setMaxActive is deprecated with warn being logged
* DBCPDriverDataSource and AutoDriverDataSource are removed
* BasicDataSource is being loaded in case jdbc.DriverDataSource is set to 'dbcp'
* Normal call is replaced with reflection
2018-11-16 13:48:40 +07:00
Mark Struberg
39bde81aa2
OPENJPA-2757 upgrade to xbean-asm7 for Java7 support
2018-11-10 21:33:02 +01:00
Maxim Solodovnik
9a5096308c
[OPENJPA-2752] libraries are updated to most recent versions
2018-10-18 12:38:31 +07:00
Mark Struberg
08bb3a5a0e
move openjpa-lib tests to junit4 style
...
No more junit3 extends TestCase stuff ^^
2018-10-14 21:12:52 +02:00
Mark Struberg
12ec80cd8c
move openjpa-kernel to junit4 style
2018-10-13 23:11:45 +02:00
Maxim Solodovnik
e25438a174
[OPENJPA-2751] imports, @Overrides and @Deprecated are organized, redundant type arguments and unnecessary casts are removed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842686 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 08:11:59 +00:00
Maxim Solodovnik
f2fc98031e
[OPENJPA-2751] trailing white-spaces were removed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842614 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 12:32:32 +00:00
Maxim Solodovnik
4709f38ba2
[OPENJPA-2748] commons-collection is updated to most recent version
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1841941 13f79535-47bb-0310-9956-ffa450edef68
2018-09-25 15:16:54 +00:00
Francesco Chicchiriccò
6c4c77aa78
[OPENJPA-2744] commons-pool is updated to the most recent version - thanks @solomax - This closes #19
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1839885 13f79535-47bb-0310-9956-ffa450edef68
2018-09-02 13:59:07 +00:00
Will Dazey
ae4b742527
OPENJPA-2646: Performance Regression Fix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1838027 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 15:09:27 +00:00
Mark Struberg
ffe3fe4a50
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833210 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:53 +00:00
Mark Struberg
101ee9946a
[maven-release-plugin] prepare release openjpa-parent-3.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833208 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:24 +00:00
Will Dazey
8be86a6903
OPENJPA-2646: Sporadic NullPointerException and ClassCastException caused by query cache misses in multithreaded environments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1831596 13f79535-47bb-0310-9956-ffa450edef68
2018-05-14 22:25:05 +00:00
Mark Struberg
97d59a9fc8
upgrade to xBean-4.8 for java 10+11 support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1829436 13f79535-47bb-0310-9956-ffa450edef68
2018-04-18 11:53:00 +00:00
Francesco Chicchiriccò
e1bf367e48
Update XBean to 4.7 - thanks @jgallimore - This closes #14
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1827545 13f79535-47bb-0310-9956-ffa450edef68
2018-03-23 07:52:08 +00:00
Francesco Chicchiriccò
5700102036
OPENJPA-2730 Update to ASM 6 - This closes #11
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1826718 13f79535-47bb-0310-9956-ffa450edef68
2018-03-14 14:19:29 +00:00
Francesco Chicchiriccò
14d4b8007c
OPENJPA-2725 - fix ConcurrentModificationException during unrefed dependents cleanup / thanks @eran-levy - This closes #9
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1819982 13f79535-47bb-0310-9956-ffa450edef68
2018-01-03 15:37:54 +00:00
Francesco Chicchiriccò
ed28ddca1a
Reverting unadverted change to JPQLExpressionBuilder in r1797211
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1797212 13f79535-47bb-0310-9956-ffa450edef68
2017-06-01 12:19:18 +00:00
Francesco Chicchiriccò
e2a8d2c966
changed version of maven-jar-plugin to 3.0.2 - This closes #8
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1797211 13f79535-47bb-0310-9956-ffa450edef68
2017-06-01 12:16:02 +00:00
Francesco Chicchiriccò
635dd436cf
[OPENJPA-2684] Adding support for JAR files via ZipStreamMetaDataIterator
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1774477 13f79535-47bb-0310-9956-ffa450edef68
2016-12-15 14:34:23 +00:00
Romain Manni-Bucau
af8ea38f87
OPENJPA-2554 JPA 2.1 - Schema Generation, patch from Roberto Cortez, doc to update still
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1770509 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 18:08:44 +00:00
Mark Struberg
bdc1da9423
OPENJPA use Locale.ENGLISH for toLowerCase and toUperCase where possible
...
* we now use fixed english Locale for 'framework parts' which are by spec portable
* we do NOT yet use a fixed Locale for anything related to column or table names!
txs to Kaloyan Spiridonov for the catch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768216 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 13:46:23 +00:00
Mark Struberg
4068d5ccb2
OPENJPA-2674 properly closing JarFile
...
txs to Kaloyan Spiridonov for the catch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768201 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:50:59 +00:00
Mark Struberg
9cacf08c7a
OPENJPA-2662 remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759916 13f79535-47bb-0310-9956-ffa450edef68
2016-09-08 22:03:41 +00:00
Mark Struberg
f0286a268e
OPENJPA-2665 refactor StringUtils
...
We now got rid of commons-lang. Makes 400kB less dependencies
And guaranteed no classpath conflicts.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759663 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 19:04:18 +00:00
Mark Struberg
f979ae1cfe
OPENJPA-2665 use Objects.equals instead of prorietary impl
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759614 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 13:55:30 +00:00
Mark Struberg
10110aadf0
OPENJPA-2662 get rid of serp.util.Strings.parse
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759518 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 22:04:01 +00:00
Mark Struberg
c4323ac563
OPENJPA-2662 remove serp.util.Strings.join
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759362 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 05:14:18 +00:00
Mark Struberg
209adb6fc8
OPENJPA-2662 remove serp.util.Strings.getPackageName
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759356 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 21:11:01 +00:00
Mark Struberg
297190a43a
OPENJPA-2662 reimplement serp.util.Strings#getClassName
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759355 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 20:35:11 +00:00
Mark Struberg
da6ea0f708
OPENJPA-2662 get rid of serp.util.Strings#replace
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759273 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 14:10:33 +00:00
Mark Struberg
66ad16fd85
OPENJPA-2662 remove serp.util.Strings#split
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759033 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 20:23:32 +00:00
Mark Struberg
e647db2ee0
OPENJPA-2662 intern Strings.toClass
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758851 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 20:20:11 +00:00
Mark Struberg
305758fc96
OPENJPA-2664 move to commons-lang3
...
And also clean up ancient code parts.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758808 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 16:27:51 +00:00
Mark Struberg
64e9f3868f
OPENJPA-2592 OPENJPA-2654 merge JPA-2.1 work originally done by rmannibucau in the openjpa-jpa-2.1 branch
...
Thanks to Romain for all the hard work!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756850 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 20:47:20 +00:00
Mark Struberg
41febbaab0
OPENJPA-2652 transition trunk to OpenJPA-3.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756771 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 12:44:03 +00:00
Mark Struberg
0f55f9d133
OPENJPA-2641 upgrade build poms
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1743262 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 21:36:15 +00:00
Mark Struberg
a453aa9f46
OPENJPA-2632 fallback to TCCL for select new if class cannot be found
...
That might happen if the entities are loaded within a shared ear lib
but the actual "select new" is performed from another ClassLoader (e.g. WAR)
Contributed by Reinhard Sandtner (apacheId: rsandtner). Txs for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1734966 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 17:07:38 +00:00
Mark Struberg
55e8a82558
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730419 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 22:23:47 +00:00
Mark Struberg
c3d950747a
[maven-release-plugin] prepare release 2.4.1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730417 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 22:22:38 +00:00
asf-sync-process
7aed5ecf48
[maven-release-plugin] rollback the release of 2.4.2-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730401 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 20:48:55 +00:00
Mark Struberg
3396a59061
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730341 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 14:02:04 +00:00
Mark Struberg
d7bcf2670e
[maven-release-plugin] prepare release 2.4.1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730338 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 14:00:52 +00:00
Mark Struberg
88e01d2fba
OPENJPA-2626 remove unused import (which is an ugly internal sun class and doesn't exist in java7)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730309 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 10:34:35 +00:00
Romain Manni-Bucau
a5788cc859
OPENJPA-2626 support of java 8 bytecode test for isEnhanced - avoid to have logs full of exception/warnings when it actually works cause it is already enahnced at build time
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1727520 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 10:36:53 +00:00
Romain Manni-Bucau
8cc3992fb6
new line - checkstyle fix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1718043 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 21:59:08 +00:00
Romain Manni-Bucau
19c6b4130d
better whitelist handling
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1716864 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 12:41:31 +00:00
Romain Manni-Bucau
1dd5571047
OPENJPA-2617 adding BlacklistClassResolver to support blacklisting of class loading in our ObjectInputStream
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1716859 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 12:15:47 +00:00
Heath Thomann
e5fa4e32df
OPENJPA-2586: Fix to return proper relationship data when QueryCache and FetchPlans are used.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1702147 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 01:53:27 +00:00
Heath Thomann
856fefb2c8
OPENJPA-2539: Query Compilation causing inner join table to be randomly generated incorrectly - ported changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1686913 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 18:31:06 +00:00
Romain Manni-Bucau
fac15cf557
OPENJPA-2592 basic stored procedure impl import
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/openjpa_jpa-2.1@1683972 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 01:05:22 +00:00
Mark Struberg
5235008137
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674605 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 11:22:11 +00:00
Mark Struberg
0c0c8dd2bf
[maven-release-plugin] prepare release openjpa-parent-2.4.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674603 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 11:20:57 +00:00
Mark Struberg
fbbfc9d324
OPENJPA-2576 fix broken JavaDocs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674154 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 21:24:19 +00:00
Mark Struberg
950ae7ab76
OPENJPA-2287 do not clear object fields for fetchObjectField
...
* Other objects do not get cleared neither.
* The code dates from JDO times and I've asked a few people and no one had an explanation for it
* It introduces nullpointer exceptions in cases where we have to navigate over the field a few times. E.g. in complex scenarios.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674148 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 20:35:10 +00:00
Mark Struberg
ad6d7fea70
OPENJPA-2575 temporary set TCCL to _tmpClassloader
...
This prevents using the wrong ClassLoader during OpenJPA boostrap
which might lead to mem leaks.
Txs to rmannibucau for the report and fix!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671821 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 11:54:17 +00:00
Mark Struberg
85556cb9ea
OPENJPA-2576 remove @nonjava which is actually not a javadoc tag
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671792 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 10:37:14 +00:00
Mark Struberg
f1ad383f4f
remove empty @return javadocs
...
just caused javadoc warnings...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671694 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:57:11 +00:00
Mark Struberg
bdfcda04a2
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671256 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 09:09:16 +00:00
Heath Thomann
8129fe685b
OPENJPA-2536: FetchGroup is not returning lazy fields. Applied Rick Curtis' fix to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1655360 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 15:28:40 +00:00
Jody Grassel
4540f82216
OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1636415 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 18:40:59 +00:00
Richard G. Curtis
08d94d75d6
OPENJPA-2533: Reorder MetaDataRepository call to fix a bug in orm resloution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632647 13f79535-47bb-0310-9956-ffa450edef68
2014-10-17 18:35:03 +00:00
Heath Thomann
077ad2b446
OPENJPA-2494: A default Schema defined in a PU default (<persistence-unit-defaults>) in an orm.xml file is not being honored.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1626916 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 23:06:18 +00:00
Richard G. Curtis
0a91a631b8
OPENJPA-2506: Update JPAFacadeHelper to properly create an OpenJPA identity object. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1603251 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 18:30:35 +00:00
Richard G. Curtis
e48cd3e59d
OPENJPA-2508 : Account for JOIN FETCH statements when loading from the Query Cache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1600757 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 20:49:01 +00:00
Heath Thomann
d7dfa322d6
OPENJPA-2478: Fixed erroneous message from the enhancer when a Mapped Superclass contains an @Id.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1591689 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 15:47:53 +00:00
Heath Thomann
3f33d76a34
OPENJPA-2476: Fixed OptimisticLockEx due to rounding of a Timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1591541 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 03:24:11 +00:00
Kevin W. Sutter
b664f187d3
OPENJPA-2492. Committing a variation of the patch as provided by Romain Manni-Bucau. This patch clears up the ConcurrentHashMap issues relating to the KeySetView return type. This patch also adds a couple of asserts to an existing testcase to verify the results.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1589187 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 16:01:56 +00:00
Kevin W. Sutter
b3d7fe8829
OPENJPA-2442. Just using ProxyConcurrentMaps for proxying the Map methods. Since this extends ProxyMaps anyway, this is pretty safe change. This change resolves the TestProxyManager errors in openjpa-kernel when testing with Java 8 runtime. And, it doesn't affect Java 7 runtime at all. Refer to the Comments section for more details.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1586651 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 13:33:05 +00:00
Kevin W. Sutter
c0b6d88285
OPENJPA-2487. This patch provided by Romain Manni-Bucau looks good. As stated in the Comments, this patch by itself is not sufficient for Java 8 runtime support, but it is a crucial step. Follow the linked JIRAs for additional fixes required to fully support Java 8.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1586647 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 13:20:14 +00:00
Heath Thomann
030ba2a41f
OPENJPA-1986: Extra queries being generated when cascading a persist - added another/similar check to the ones added by Rick.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1580913 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 16:43:40 +00:00
Richard G. Curtis
6d8a46e825
OPENJPA-2441: Remove usage of NullSafeConcurrentHashMap. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1570261 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 16:33:30 +00:00
Richard G. Curtis
f01f7c4721
OPENJPA-2285: Recommitted DataCacheStoreManager improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1570016 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:38:29 +00:00
Richard G. Curtis
731649a2c9
OPENJPA-2472: Fix concurrency bug in ClassMetaData. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564989 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 23:12:37 +00:00
Richard G. Curtis
0527c4570d
OPENJPA-2467: Fix detection of property access method names. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564931 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 21:18:31 +00:00
Richard G. Curtis
bf646350ea
OPENJPA-2470 : Update DataCacheManagerImpl to use a ConcurrentHashMap rather than a HashMap.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1558594 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 22:34:05 +00:00
Richard G. Curtis
d0a311efe0
OPENJPA-2463 : Change message from error to warning.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1551449 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 02:43:23 +00:00
Richard G. Curtis
9ce4d50169
OPENJPA-2233: Merge changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1551446 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 02:28:23 +00:00
Heath Thomann
28cad3351c
OPENJPA-2449: refresh(PESSIMISTIC_WRITE) generates seperate SQL for the lock - applied to trunk Albert Lee's patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1539200 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 23:47:16 +00:00
Mark Struberg
08035c10ef
OPENJPA-2200 remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536637 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:11:46 +00:00
Mark Struberg
f4b2428008
OPENJPA-2437 transactional listeners added too late to observe begin event
...
txs 2 rmannibucau for the fix.
Patch applied with cleanup and tests pimped.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536595 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 06:36:34 +00:00
Mark Struberg
70f1188d19
release preparation upgrade trunk to 2.4.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535565 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:39:43 +00:00
Richard G. Curtis
d8395bdc56
OPENJPA-2443 : Remove unnecessary import.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535082 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:58:23 +00:00
Richard G. Curtis
1f38337481
OPENJPA-2443 : Fix SingleFieldManager to not check for null values for IDENTITY generated fields when flushing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535067 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 15:58:46 +00:00
Jody Grassel
c8e3d5dcbb
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532882 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 20:12:10 +00:00
Richard G. Curtis
e719ad01e9
OPENJPA-2283 : Merge changes from 2.3.x to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532523 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 20:32:07 +00:00
Jeremy Bauer
9f8a682a03
OPENJPA-2366 Committing code and unit tests contributed by Austin Dorenkamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1519550 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 04:18:09 +00:00
Jody Grassel
ee6f4acc3f
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:11:17 +00:00
Jody Grassel
a0b872f5c2
OPENJPA-2413: FetchPlan.clearFetchGroups() does not retain default entry in list of active Fetch Groups.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1509031 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 21:05:37 +00:00
Jeremy Bauer
ca76712e38
OPENJPA-1794 aggregate function with no result set must return null
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1506198 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 18:26:42 +00:00
Richard G. Curtis
4cf336fd95
OPENJPA-2410 : Detect SystemOut/Err in code at build time. Patch submitted by Di Wu Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504673 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:34:23 +00:00
Heath Thomann
dc2c72f8e1
OPENJPA-2355: Made changes to localizer.properties files to update the message previously added by this JIRA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504282 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 21:18:30 +00:00
Michael Dick
8cb451d1df
OPENJPA-696: Make transaction synchronization registries non-static.
...
Patch is old - feel free to revert if something breaks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501634 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 02:14:30 +00:00
Jody Grassel
e406bda450
OPENJPA-2405: EntityManager.merge does not work for entity that is managed by another EntityManager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1498565 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:58:11 +00:00
Mark Struberg
0834454bdb
OPENJPA-2388 support for xbean shaded ASM4
...
txs to rmannibucau for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1488102 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 06:05:16 +00:00
Helen Xu
5ce1ec400e
OPENJPA-2374: avoid OID creation when the lookup is not required.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1471113 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 19:44:05 +00:00
Pinaki Poddar
1869a7b07e
OPENJPA-2373: Add toString() for debugging
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469653 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 01:01:31 +00:00
Helen Xu
8b75df3c9b
OPENJPA-2369, eliminate the duplicate call to getUnloadedInternal function.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468536 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 18:04:55 +00:00
Pinaki Poddar
3d11895269
OPENJPA-2365: Support for delete-by-query. Correction for hint processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1464082 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 15:51:52 +00:00
Jeremy Bauer
7f14c7df6b
Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:10:35 +00:00
Kevin W. Sutter
82027f4a35
OPENJPA-2342. Changed to use the getDeclaredInterfaceNames instead of getDeclaredInterfaceTypes. All testing is looking good and should alleviate the problem of the classloading.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461751 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:59:58 +00:00
Richard G. Curtis
c9fa4b9bda
OPENJPA-2357: Fix InvalidStateException when using the InverseManager. Fix contributed by Guillaume Chauvet.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461090 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 12:43:29 +00:00
Pinaki Poddar
e966f0f51c
OPENJPA-2355: Allow more than two input argument to CONCAT()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1459091 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 22:52:18 +00:00
Richard G. Curtis
085ea3eb07
OPENJPA-2354: Remove synchronized from pcReplaceStateManager method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458993 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 18:35:07 +00:00
Richard G. Curtis
dd439b5ea9
OPENJPA-2353: Remove debug from previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458436 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 17:58:51 +00:00
Richard G. Curtis
3d5df48bbb
OPENJPA-2353: Fix bug in BrokerImpl.initializeOperatingSet() initialization after deserialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458432 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 17:55:17 +00:00
Richard G. Curtis
582cfc504a
OPENJPA-2353: Reduce object allocations in DetachManagerLite.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458026 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:43:26 +00:00
Richard G. Curtis
1febbf7b16
OPENJPA-2353: Reduce object allocations in BrokerImpl.initializeOperatingSet().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1457967 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 20:14:06 +00:00
Richard G. Curtis
47e402ce90
OPENJPA-2353: Reduce BitSet object allocations in StateManagerImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1457966 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 20:13:10 +00:00
Richard G. Curtis
9f0f92fc07
OPENJPA-2285: Revert prior changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1455204 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 16:01:42 +00:00
Richard G. Curtis
e0bb4cd7c7
OPENJPA-2348: Revert prior commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1453928 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 15:50:36 +00:00
Richard G. Curtis
1e2b753afa
OPENJPA-2348: Cache calculated hashcode in OpenJPAId.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452884 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:25:55 +00:00
Richard G. Curtis
8c23eb3f48
OPENJPA-2347: Make StateManagerImpl more extensibile.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452874 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:13:14 +00:00
Richard G. Curtis
80d1fddb75
OPENJPA-2346: Minor performance improvement to MetaDataRepository.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452872 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:09:21 +00:00
Jody Grassel
3bdb0b95d8
OPENJPA-OpenJPA must support processing puRoot and jar-file URLs as jar-formatted InputStreams
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446294 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 18:35:07 +00:00
Helen Xu
e12dcddc38
OPENJPA-2295 restore the old method to be compatible.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1437190 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 21:38:21 +00:00