Mark Struberg
00bd91cc2c
OPENJPA-2788 fix anynomous Criteria Parameters
2020-12-14 14:13:32 +01:00
Romain Manni-Bucau
6f2692228f
[OPENJPA-2834] invalid properties cache when a propery changes
2020-10-27 15:43:24 +01:00
Romain Manni-Bucau
574e226ba0
[OPENJPA-2834] also cache properties in the em - even if less useful, but no need to recompute it again and again
2020-10-01 09:49:00 +02:00
Romain Manni-Bucau
0b68db6ba1
[OPENJPA-2834] enable to bypass synchronizeMappings when calling getProperties
2020-10-01 09:45:50 +02: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
4a546f759c
[OPENJPA-2834] ensure setProperty invalid properties cache in em
2020-09-30 13:43:55 +02:00
Romain Manni-Bucau
bd015d02e9
[OPENJPA-2834] cache EMF#properties
2020-09-30 12:14:35 +02:00
Mark Struberg
5d9c88d7cb
just fix broken javadoc
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
bf418eb1b3
OPENJPA-2813 PersistenceProvider#generateSchema (misses the boolean state)
2020-04-29 20:47:12 +02: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
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
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
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
f9b59689d4
OPENJPA-2733 OPENJPA-2785 fix broken spring data usage.
...
spring-data potentially does something unspecified.
This hack now prevents duplicate ParameterExpressions with the same name
while not having to implement equals + hashCode for it - which makes Spring happy.
2019-04-10 16:05:21 +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
Maxim Solodovnik
8c0b843f6e
[OPENJPA-2781] persistence_2_1.xsd is bundled for offline processing
2019-03-24 20:32:47 +07:00
Mark Struberg
44aede26df
OPENJPA-2747 upgrade to JPA-2.2 api
2019-03-05 14:29:01 +01:00
Mark Struberg
1690076b37
fix formatting and readability
2019-02-14 15:25:50 +01: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
80736f6e9d
OPENJPA-2733 subquery parameters are incorrectly assigned
...
patch submitted by Pawel Veselov - thanks!
2019-02-14 14:29:11 +01:00
Mark Struberg
5079209823
Merge branch 'OPENJPA-2713'
2019-01-25 17:13:55 +01:00
Romain Manni-Bucau
9e222652df
OPENJPA-2770 ensure equal(xxx, literal(boolean)) works in criteria builder
2019-01-23 10:21:53 +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
Maxim Solodovnik
9a5096308c
[OPENJPA-2752] libraries are updated to most recent versions
2018-10-18 12:38:31 +07:00
Mark Struberg
3fa4380b47
move openjpa-persistence tests to junit4
2018-10-15 21:51:51 +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
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
2898b4e342
OPENJPA-2707 set Java version to 1.8
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1803043 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 13:03:47 +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
701a4e7d27
OPENJPA-2675 implement null-check for CriteriaQueryImpl#equals
...
txs to Kaloyan Spiridonov for the catch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768191 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:25:29 +00:00
Mark Struberg
e0c03c5fc9
OPENJPA-2670 improve support for createEnittyManager with SynchronizationType
...
Currently we support the 'old' SynchronizationType.SYNCHRONIZED behaviour at least.
UNSYNCHRONIZED still needs to be implemented.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1763471 13f79535-47bb-0310-9956-ffa450edef68
2016-10-05 17:20:39 +00:00
Mark Struberg
19a59684f0
OPENJPA-2667 upgrade to BVal-1.1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1761771 13f79535-47bb-0310-9956-ffa450edef68
2016-09-21 15:43:11 +00:00
Mark Struberg
02330ad212
OPENJPA-2665 move to StringBuilder to improve performance
...
Only locally used StringBuffer, so guaranteed no concurrency.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759947 13f79535-47bb-0310-9956-ffa450edef68
2016-09-09 08:04:41 +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
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
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
Romain Manni-Bucau
5faf53c036
OPENJPA-2300 avoid warnings due to annotation processor
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757320 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:57:38 +00:00