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
Mark Struberg
b62c0c6ce0
fix comment how to generate our javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683099 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 13:09:51 +00:00
Mark Struberg
105ffd3c59
OPENJPA-2581 ITs for dropSchema action
...
txs to sreiterer for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1678344 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 13:08:30 +00:00
Mark Struberg
4a23fc27c1
try to make license header visible in github
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1677784 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 11:10:00 +00:00
Mark Struberg
56ed8e430b
start a release-howto documentation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1677782 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 11:07:46 +00:00
Mark Struberg
bf22072d43
OPENJPA-2581 add MappingTool option to create DROP scripts for all tables in a DB.
...
Thanks sreiterer for the patch!
Stefan will provide further integration tests tomorrow.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1677780 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 10:48:04 +00:00
Mark Struberg
d38f10ad7f
add site build information
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1677764 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 09:45:45 +00:00
Mark Struberg
7dc47bc953
OPENJPA-2582 remove jest dependency from openjpa bundle
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1677762 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 09:42:34 +00:00
Mark Struberg
432e6be333
configure maven-release-plugin to only use the project version as tag name
...
Means we drop the artifactId-projectversion default rule for OpenJPA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1677750 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 08:13:34 +00:00
Jody Grassel
419a8afa9a
OPENJPA-2570: Allow an informix user the option to disable the RETAINUPDATELOCKS sql
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1675495 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 20:35:18 +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
0221ff996d
another workaround attempt to fix the release
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674601 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 10:39:39 +00:00
Mark Struberg
232581e523
disable openbooks to be built during release
...
Becasue it causes a build loop.
The openbook example build.xml needs a 'install' target to be run
before you can execute it. But this doesn't get performed during a release.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674483 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 11:48:53 +00:00
Mark Struberg
acb0276bc6
prepare release notes for 2.4.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674446 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 06:13:37 +00:00
Heath Thomann
bdaf141298
OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1642555 from 2.2.x to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674167 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 23:34:58 +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
Heath Thomann
7b1c24e1fa
OPENJPA-2571: Criteria Builder query generates extra alias when using multiselect.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1673513 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 18:59:29 +00:00
Heath Thomann
9d4c78dfff
OPENJPA-2534: A boolean is not converted correct when using the hint 'UseLiteralInSQL' - made test update.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1673509 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 18:58:07 +00:00
Heath Thomann
f6c5acd9b3
OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1641906 from 2.2.x to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1673276 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 20:32:10 +00:00
Jody Grassel
a4ae8a61e1
OPENJPA-2570: Allow an informix user the option to disable the RETAINUPDATELOCKS sql
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1672487 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 20:53:51 +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
2991f21152
further cleanup of javadoc creation
...
The aggregate goal must only run after the binaries are done.
Otherwise this will blow up any release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671693 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:53:21 +00:00
Mark Struberg
f1a7522956
disable maven-javadoc-plugin for module without any source
...
Otherwise maven aborts the build.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671572 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 16:19:14 +00:00
Mark Struberg
880d9c3089
fix javadoc plugin setup for release
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671412 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 18:20:23 +00:00
Mark Struberg
9ddafe088f
add release notes for 2.4.0 release
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671409 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 18:03:11 +00:00
Mark Struberg
cfc598ad5b
remove duplicate findbugs-plugin declaration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671408 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 18:02:30 +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
Mark Struberg
a6f6c98716
merged from 2.3.x: upgrade to latest javadoc and apache-parent versions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671247 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 08:03:05 +00:00
Mark Struberg
fa44d51b7d
exclude jest from packaging to openjpa pkg
...
JEST requires Servlet and other stuff. It's more like a webapp
on top of JPA and usually something you package into your frontend.
Whereas the openjpa.jar is something for your backend projects.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671244 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 07:28:04 +00:00
Mark Struberg
fcde8fd87e
upgrade license year to - 2015
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671134 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 19:38:01 +00:00
Mark Struberg
d13ffa5eb3
OPENJPA-2335 only handle key columns very restrictive
...
There is no reason to forbid updates to other Columns like OrderColumn, etc
Ported over from 2.3.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1667136 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 21:45:43 +00:00
Mark Struberg
3b49efddcc
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1667123 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 20:34:29 +00:00
Heath Thomann
09270f6fe4
OPENJPA-2570: Allow an Informix user the option to disable the 'RETAINUPDATELOCKS' SQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1666314 13f79535-47bb-0310-9956-ffa450edef68
2015-03-12 21:40:37 +00:00
Heath Thomann
6591d4d464
OPENJPA-2557: FinderCache contains incorrectly cached query with a NULL for a Primary Key.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1662615 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 01:44:09 +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
Mark Struberg
244e37b189
OPENJPA-2558 add proper logging for BooleanRepresentation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1654485 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 09:24:57 +00:00
Mark Struberg
9e54e9e79e
OPENJPA-2558 fix eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1654356 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 20:02:02 +00:00
Mark Struberg
8c6b968190
OPENJPA-2558 add getRepresentation to allow BooleanRepresentation be used in SQLBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1654352 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 19:56:22 +00:00
Mark Struberg
c5e4fac841
OPENJPA-2558 implement BooleanRepresentation which can be switched via config
...
Each DBDictionary has it's own default BooleanRepresentation but can easily get changed by the user
e.g. via
<property name="openjpa.jdbc.DBDictionary"
value="(BitTypeName=CHAR(1),BooleanTypeName=CHAR(1),BooleanRepresentation=STRING_10)"/>
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1652761 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 14:30:44 +00:00
Heath Thomann
4ca9dbd741
OPENJPA-2547: When two threads attempt to get a Pessimistic Lock, one thread gets a 'false' lock. Applied fix to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1651847 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 21:56:22 +00:00