Mark Struberg
e2bbcdc626
add more docs about how to locally create the documentation PDF
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1735191 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 07:28:17 +00:00
Mark Struberg
bf2ffecbc0
OPENJPA-2632 add documentation for the new UseTCCLinSelectNew config switch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1735190 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 07:27:09 +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
07e2822951
add release notes for OpenJPA-2.4.1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730575 13f79535-47bb-0310-9956-ffa450edef68
2016-02-15 17:19:11 +00:00
Mark Struberg
a8edbf3d23
add more info about how to gather the release notes semi-automatically
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730574 13f79535-47bb-0310-9956-ffa450edef68
2016-02-15 17:18:28 +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
Mark Struberg
27f9c5d395
upgrade to latest apache parent
...
Also remove the project.version trick again. Seems to give us snapshots instead of final versions in the tag.
Not sure how else we can define the tag name schema we really like.
For now it needs to get manually set during the release.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730412 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 21:41:42 +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
0a95d37a28
fix broken ref_guide docbook xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730333 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 13:20:05 +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
Heath Thomann
285e4688c3
OPENJPA-2627: Create an option to disable column type checking errors during schema validation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1728039 13f79535-47bb-0310-9956-ffa450edef68
2016-02-02 03:54:33 +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
Mark Struberg
9f39c60a0a
OPENJPA-2623 switch to Java5 Mojo annotations
...
This will also improve IDE integration.
Thanks to Anders Hammar (apacheid:andham) for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1724950 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:36:02 +00:00
Romain Manni-Bucau
03f9d1e9a5
forcing EOL for BlacklistClassResolver
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1719469 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 16:27:33 +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
Mark Struberg
3d393f5760
OPENJPA-2607 increase OSGi import range for javax.transaction
...
* allow jta and bval imports from newer - but binary backward compat - spec jars
Thanks to cschneider for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1717505 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 19:41:30 +00:00
Romain Manni-Bucau
715b9b086f
OPENJPA-2618 pevent Tuple to pass through in createXQuery methods since we dont support it yet
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1716891 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 15:52:13 +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
Jody Grassel
ffaa46ef99
OPENJPA-2616: Update to Commons Collections 3.2.2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1715848 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 15:36:28 +00:00
Jody Grassel
e98845758d
OPENJPA-2605: DelegatingConnection.unwrap() doesn't adhere to java.sql.Wrapper.unwrap() contract
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1713509 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 18:54:51 +00:00
Heath Thomann
28da3eaccf
OPENJPA-2609: Sporadic ClassCastException occurs under heavy load when QuerySQLCache is enabled. Merged 2.1.x changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1709312 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 19:52:10 +00:00
asf-sync-process
977ba12bfa
OPENJPA-2603: Merging an unmanaged entity multiple (3) times leads to an exception. Merged 2.1.x changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1709205 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 18:37:39 +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
Mark Struberg
2353455a48
OPENJPA-2602 replace ongoing Class.forName with 1x lookup to improve performance and minimize locks
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1701372 13f79535-47bb-0310-9956-ffa450edef68
2015-09-05 11:33:25 +00:00
Heath Thomann
104fce25c2
OPENJPA-2517: Option to allow the javax.persistence.query.timeout property to apply to EntityManager operations. Ported 2.2.x changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1700885 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 20:06:41 +00:00
Mark Struberg
41c05d1bbe
OPENJPA-2601 fix 'hint' element in orm.xml parsing
...
Txs to Kariem Hussein for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1692088 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 11:25:35 +00:00
Mark Struberg
c4db9b05b8
create own test entity for testing different configuration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1690069 13f79535-47bb-0310-9956-ffa450edef68
2015-07-09 11:51:39 +00:00
Mark Struberg
931c6ed844
trying to fix build error on CI
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1689998 13f79535-47bb-0310-9956-ffa450edef68
2015-07-09 07:38:47 +00:00
Mark Struberg
3f040fbe1d
OPENJPA-2600 add cast which is needed for Java8
...
Java8 fails do properly coerc the method calls if we don't 'hint'
it to the right ParameterizedType.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1689951 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 19:54:53 +00:00
Mark Struberg
82e1458604
OPENJPA-2341 add unit test for Strategy handling
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1689594 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 08:10:56 +00:00
Mark Struberg
f6ba63def5
OPENJPA-2341 fix ValueHandler pickup via FieldStrategies
...
Sadly this atm only works for fields which are Serializable.
Menas the ValueHandler can just change the presentation right now
but it doesn't work for mapping non-Serializable classes like
java.security.Principal.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1688947 13f79535-47bb-0310-9956-ffa450edef68
2015-07-03 06:08:44 +00:00
Mark Struberg
a51d3c5c7b
OPENJPA-2600 remove Classes which break Java8 functionality.
...
They are not used since quite some time anyway and have been marked
as deprecated in the past already.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1688402 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 08:49:04 +00:00
Romain Manni-Bucau
72be5f1720
OPENJPA-2597 DECIMAL and NUMERIC needs scale configuration for hsqldb
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1688082 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 04:25:16 +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
Mark Struberg
ea1682c425
OPENJPA-2596 schema-delta generation (sqlAction=refresh) drops columns if they have an alternative typeName
...
solved by additionally comparing the final column definition end to end
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683992 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 06:50:58 +00:00
Mark Struberg
e38098b03f
OPENJPA-2595 remove rest of junit3 dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683729 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 12:06:36 +00:00
Mark Struberg
3f04e65ed9
disable randomly failing test
...
Like to get the build green again. Afterwards we can look at it again.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683401 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 18:14:05 +00:00
Mark Struberg
a0b12f8505
re-activate equals and hashCode as this seems to be checked by our MetaDataRepository
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683243 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 07:12:19 +00:00
Mark Struberg
4b3cf47855
remove IDE generated noise
...
especially if most of the methods actually got implemented already...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683239 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 06:32:03 +00:00
Mark Struberg
d2cd281081
fix debug hints
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683238 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 06:31:13 +00:00
Mark Struberg
b74fe352db
fix wrong error message
...
funny that we still have kodo stuff in there ;)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683237 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 06:27:28 +00:00
Mark Struberg
49d8a92962
OPENJPA-2595 upgrade to surefire 2.17
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683236 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 06:14:29 +00:00
Mark Struberg
2141465272
fix commented out code which made the test pretty much nil
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683235 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 06:12:45 +00:00
Mark Struberg
87147689b9
fix unit test setup.
...
* remove the mis-typed 'q' which trashed our exclude rules
* fix enlisted entities in 2 tests. Otherwise the tests will fail randomly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683234 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 06:10:05 +00:00
Mark Struberg
0b26209a2f
OPENJPA-2595 upgrade our test suite to junit-4
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683154 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 18:04:26 +00:00
Mark Struberg
e918d4d0e5
OPENJPA-2581 we need to switch back to going to the DB otherwise we don't get FKs generated
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683151 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 17:54:52 +00:00