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 |
Romain Manni-Bucau
|
b88cbdee93
|
upgrading API (throwing exception for all new methods) to JPA 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/openjpa_jpa-2.1@1683942 13f79535-47bb-0310-9956-ffa450edef68
|
2015-06-06 19:19:11 +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
|
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
|
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 |
Albert Lee
|
9ea0354f1b
|
OPENJPA-1984 - Skip non-root object validation when performing remove(root object). Let's validation provider to perform root object validation so that the contraint violation can report the correct root bean.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096791 13f79535-47bb-0310-9956-ffa450edef68
|
2011-04-26 16:00:52 +00:00 |
Richard G. Curtis
|
9b5fa5152a
|
OPENJPA-1960: Allow openjpa.InitializeEagerly to be used with BV.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084349 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-22 20:50:21 +00:00 |
Jeremy Bauer
|
0971bd301c
|
OPENJPA-1787 Fixed VLEM hasUpdateListeners & hasPersistListeners methods and added additional validation test cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1082259 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-16 18:48:11 +00:00 |
Michael Dick
|
6309bff2f0
|
OPENJPA-1787: setting eol-style (nit)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080789 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-11 23:09:21 +00:00 |
Jeremy Bauer
|
6fdcebd673
|
OPENJPA-1787 Updated "new entity" merge path through AttachManager and BrokerImpl to refrain from firing a pre-persist event before the state of the merged entity is copied to the new entity. Test cases based upon code provided by Oliver Ringel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080751 13f79535-47bb-0310-9956-ffa450edef68
|
2011-03-11 20:29:50 +00:00 |
Donald Woods
|
89ed13599e
|
null out EMF to help GC
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027708 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-26 19:47:27 +00:00 |
Donald Woods
|
0f5c5291ae
|
some testcase cleanup of closing EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023905 13f79535-47bb-0310-9956-ffa450edef68
|
2010-10-18 17:03:57 +00:00 |
Jeremy Bauer
|
9d33fe34b8
|
OPENJPA-1685 Updated ValidatorImpl to remove potential whitespace within a comma separated list of validation groups.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952730 13f79535-47bb-0310-9956-ffa450edef68
|
2010-06-08 16:41:27 +00:00 |
Donald Woods
|
9bc400e7bd
|
OPENJPA-1660 Add support to test with Apache Bean Validation provider and make it the default provider.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943147 13f79535-47bb-0310-9956-ffa450edef68
|
2010-05-11 15:38:44 +00:00 |
Michael Dick
|
c618b4692d
|
OPENJPA-1557:
Use openjpa.Log to control build logging instead of openjpa.loglevel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
|
2010-03-16 18:44:11 +00:00 |
Donald Woods
|
f259a4ee1e
|
OPENJPA-1504 Update TestTraversableResolver so it can be used with Hibernate or Agimatec providers. Upgrade to agimatec-validation-0.9.6-SNAPSHOT, which now supports constraints.xml so all junits pass again with it.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908660 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-10 20:35:22 +00:00 |
Donald Woods
|
27abdb4149
|
OPENJPA-1107 TraversableResolver testcases contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908173 13f79535-47bb-0310-9956-ffa450edef68
|
2010-02-09 19:39:45 +00:00 |
Donald Woods
|
7091a52927
|
OPENJPA-1076 Testcases for PersistenceProviderResolver contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903328 13f79535-47bb-0310-9956-ffa450edef68
|
2010-01-26 17:23:33 +00:00 |
Pinaki Poddar
|
05d2a80417
|
OPENJPA-1345: Update to JPA Spec version EA9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824568 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-13 02:06:19 +00:00 |
Donald Woods
|
b68c975ebf
|
OPENJPA-1229 Upgrade to agimatec-validation 0.9.3 which supports 1.0.CR5 now, but still lacks support for XML constraints (so 1 test in testMappedSuperXMLConstraint fails)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821124 13f79535-47bb-0310-9956-ffa450edef68
|
2009-10-02 18:33:59 +00:00 |
Donald Woods
|
5113654485
|
add common setTestsDisabled()/isTestsDisabled() in AbstractPersistenceTestCase which is used by runTest() to automatically skip all tests. added new setSupportedDatabases()/setUnsupportedDatabases() methods in SingleEMFTestCase to set the testsDisabled flag in AbstractPTC, along with moving a getLog() method from some testcases into the base SingleEMFTC class for everyone to use.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813506 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-10 16:40:37 +00:00 |
Jeremy Bauer
|
1f347633aa
|
OPENJPA-1282 Update bean validation RI provider and spec API level. Remove allow failure from test that passes due to provider update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810645 13f79535-47bb-0310-9956-ffa450edef68
|
2009-09-02 18:18:27 +00:00 |
Michael Dick
|
c8fa380048
|
Fixing validation test hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804333 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-14 19:28:55 +00:00 |
Michael Dick
|
89a7f53db0
|
Refactor PersistenceTestCase to AbstractCachedEMFTestCase and AbstractPersistenceTestCase.
Deprecate old class to allow submodules to compile (can be removed after maven repos is updated).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804331 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-14 19:28:39 +00:00 |
Michael Dick
|
61b85e4b1a
|
OPENJPA-1234: Remove mistakenly added columnDefinition..
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802589 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-09 20:40:49 +00:00 |
Michael Dick
|
fb2a45a739
|
OPENJPA-1234:
AllowFailure checks for system property before running or logging exceptions from test methods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802587 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-09 20:38:58 +00:00 |
Jeremy Bauer
|
233e258cb8
|
OPENJPA-1157 Added test which contains uses constraints and persistence metadata defined in XML. Updated ValidatorImpl to trace exceptions thrown as a result of creating the default validator factory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802062 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-07 16:06:17 +00:00 |
Jeremy Bauer
|
63cacaa1c9
|
OPENJPA-1208 Set compatibility options and validation mode based on persistence version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800951 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-04 20:32:49 +00:00 |
Donald Woods
|
df073249f5
|
OPENJPA-1107 Updated TraversableResolver that calls only our OpenJPAPersistenceUtil. Updated OpenJPAPersistenceUtil.isLoaded() to handle UnsupportedOperationException when checking a detached entity and returns LoadState.UNKNOWN. Also added a testcase in TestPersistenceUtil to verify that caller gets isLoaded()==true for a detached entity and fixed a trace output in TestConstraints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800568 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-03 21:14:43 +00:00 |
Donald Woods
|
1b86a81c94
|
OPENJPA-1190 Use Geronimo EA5 JPA spec jar. Patch only has method stubs returning null for the new methods added by EA5, like -
PersistenceUnitInfoImpl.getSharedCacheMode()
EntityManagerFactoryImpl.getPersistenceUnitUtil()
PersistenceProviderImpl.getProviderUtil()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796457 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-21 18:44:07 +00:00 |
Donald Woods
|
0cf0922386
|
OPENJPA-1177 Upgraded to use geronimo-validation_1.0_spec-1.0-EA3-SNAPSHOT (1.0.CR3 API level) and to use hibernate RI as the default Bean Validation provider for integration tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796331 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-21 15:03:18 +00:00 |
Donald Woods
|
06d2be5bd4
|
OPENJPA-1177 cleanup metadata and imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796330 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-21 15:00:41 +00:00 |
Donald Woods
|
c487d103c1
|
fix license header formatting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794861 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-16 21:12:55 +00:00 |
Donald Woods
|
78b694ff9a
|
fix license header formatting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794860 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-16 21:11:26 +00:00 |
Donald Woods
|
21fec94f19
|
OPENJPA-1177 Preparing for upgrade to newer JSR-303 1.0.CR3 spec level with some extra tracing, as checkCVE() is going to be broken.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794412 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-15 20:49:20 +00:00 |
Donald Woods
|
17a0c1d9b2
|
cleanup imports and add proper EMF cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793980 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-14 17:20:32 +00:00 |
Donald Woods
|
717a0b1855
|
OPENJPA-1157 adding @Valid tests of embedded one-to-one entity and tracing of the included ConstraintViolation exceptions contained within the thrown ConstraintViolationException while validating the expected number are in the Set.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792248 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 18:22:16 +00:00 |
Donald Woods
|
b577460955
|
OPENJPA-1157 adding @Pattern constraint tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792203 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 16:03:03 +00:00 |
Donald Woods
|
edf98f5f91
|
OPENJPA-1157 adding @Future and @Past constraint tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792186 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 15:31:10 +00:00 |
Donald Woods
|
ba49a316e7
|
OPENJPA-1157 improved EMF cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792135 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 13:41:44 +00:00 |
Jeremy Bauer
|
5283bcd77d
|
OPENJPA-1082 Added support for configurable bean validation groups
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791678 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-07 02:35:08 +00:00 |
Donald Woods
|
5bfc42f725
|
OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Added @Size constraint tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791621 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-06 21:37:18 +00:00 |
Donald Woods
|
1bdb8363f8
|
OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Added @Digits constraint tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791609 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-06 20:49:27 +00:00 |
Donald Woods
|
60fd64109c
|
OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Added @Min and @Max constraint tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791594 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-06 19:59:04 +00:00 |
Donald Woods
|
10bd4e70de
|
OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Convert some of the existing attribute constraints to be method/getter constraints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791554 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-06 18:08:18 +00:00 |
Donald Woods
|
617e6ddff4
|
OPENJPA-1106 Add tests for DecimalMin/Max constraints. Upgrade to agimatec 0.9.1-SNAPSHOT which has been updated to the 1.0.CR1 API level and now includes support for DecimalMin/Max constraints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790722 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-02 19:44:18 +00:00 |
Jeremy Bauer
|
c24bc1d75c
|
OPENJPA-1068 Modified exception translator to translate wrapped validation exceptions. EM operations now throw correct validation exceptions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790700 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-02 18:21:26 +00:00 |
Donald Woods
|
de7f5c1189
|
OPENJPA-1106 Integration tests for Bean Validation providers. Add tests for special update/delete/ignore cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789450 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-29 21:16:06 +00:00 |
Donald Woods
|
2fc4ba2c45
|
OPENJPA-1106 Integration tests for Bean Validation providers. Tests for @AssertTrue and @AssertFalse.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789421 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-29 19:45:27 +00:00 |