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
Mark Struberg
69f3a6e1c9
OPENJPA-2534 cleanup DBDictionary alias handling
...
use class.getName() to prevent typos - no functional change yet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1650957 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 19:52:59 +00:00
Mark Struberg
da75d5b27a
add documentation about how to speed up the local build and skip timeout tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1650605 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:20:59 +00:00
Mark Struberg
336f654551
OPENJPA-2018 improve readability
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1650604 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:20:25 +00:00
Richard G. Curtis
b48106b072
OPENJPA-2542: Use bundle classloader AND PersistenceUnitInfo classloader when creating a BrokerFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1644414 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 14:11:45 +00:00
Jody Grassel
7c0e7f2efd
OPENJPA-2381: Update serp to 1.15.1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1641442 13f79535-47bb-0310-9956-ffa450edef68
2014-11-24 18:48:57 +00:00
Heath Thomann
b659ac2578
OPENJPA-2534: A boolean is not converted correct when using the hint 'UseLiteralInSQL' - applied Rick's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1636474 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 23:48:24 +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
Richard G. Curtis
078da9d00f
OPENJPA-2535: Update failing test.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632408 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 18:45:05 +00:00
Richard G. Curtis
27260ba8eb
OPENJPA-2535: Disable DBCS tests as it is causing Eclipse and checkstyle problems.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632363 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 15:53:18 +00:00
Richard G. Curtis
a4b909ba64
OPENJPA-2535: Update suppressions.xml as checkstyle does not like having a DBCS character in a test.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632182 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 21:42:22 +00:00
Jody Grassel
7b1483052d
OPENJPA-2381: Upgrade Serp to 1.15.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632148 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 18:04:30 +00:00
Heath Thomann
b6eee24112
OPENJPA-2535: Fixed issue with DBCS characters in identifiers - merged from 2.2.x commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1631860 13f79535-47bb-0310-9956-ffa450edef68
2014-10-14 19:57:44 +00:00
Jody Grassel
3235030257
OPENJPA-2525: Change new test entities to use AUTO instead of IDENTITY pk generation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1629049 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 19:20:31 +00:00
Jody Grassel
319bb37fe1
OPENJPA-2525: Use of JoinColumn targets to another joinColumn key exposed as an attribute will cause a ConstrainViolation exception on persist
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1627091 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 17:03:48 +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
86c478ac07
OPENJPA-2505 : Properly init MetaDataRepository when obtaining a reference in EntityManagerFactory.getMetaModel.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1626287 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 17:59:00 +00:00
Albert Lee
3eaaa0c4b2
OPENJPA-2516 - Aggregate connection property for Driver.connect
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1610313 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 22:38:03 +00:00
Richard G. Curtis
fc4e1e4f58
OPENJPA-2515: Update openjpa-project assemblies to include xbean-asm.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1608894 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 18:49:02 +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
Kevin W. Sutter
da48a0ad53
OPENJPA-2507. Committing a variation of Thomas Darimont's patch that utilizes ThreadLocal storage to safeguard the _contexts in CriteriaQueryImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1601778 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 21:47:31 +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
Richard G. Curtis
b95e0d1c6c
OPENJPA-2502 : Update accessPath metas in CriteriaExpressionBuilder. Merged changes from 2.2.1.x. Patch contributed by Albert Lee.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1600682 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 15:48:54 +00:00
Kevin W. Sutter
80015bdbf9
OPENJPA-2459. Revert back to Java 6 in preparation for an interim release before embarking on JPA 2.1 and Java 7 and the rest of Java EE 7...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1599775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 19:45:39 +00:00
Kevin W. Sutter
d6c469da60
OPENJPA-2509. Updated doc references from @MappedById to @MapsId.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1598334 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 16:55:18 +00:00