Commit Graph

2241 Commits

Author SHA1 Message Date
Michael Dick 80dbd79952 OPENJPA-1151 committing patch from Jody Grassel.
modified:   openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790003 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 23:53:31 +00:00
Pinaki Poddar db2082dea4 OPENJPA-1143: Added support for construct(), as(). Metamodel excludes static fields. tests edited to compile against EA3 JPA API.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789723 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 13:40:17 +00:00
Michael Dick 9c6fbcbab3 OPENJPA-1061. Setting eol-style (skipped by git)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789522 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 01:09:42 +00:00
Michael Dick 03d9e24bc6 OPENJPA-1061 merging patch provided by Jody Grassel to trunk
modified:   openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
	modified:   openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789519 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 01:05:16 +00:00
Michael Dick 1fce44737b OPENJPA-1061 committing patch from Jody Grassel.
modified:   openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
	modified:   openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/TestInheritanceWithMSCID.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/TestMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/EntityMapping.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/PrimitiveIDMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCEntityB.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCEntityD.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCLeafA.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCLeafB1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCLeafB2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCLeafC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCLeafD1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCLeafD2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/chardiscriminator/PIdJTCDMSCRootEntity.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCEntityB.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCEntityD.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCLeafA.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCLeafB1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCLeafB2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCLeafC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCLeafD1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCLeafD2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/intdiscriminator/PIdJTIDMSCRootEntity.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCEntityB.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCEntityD.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCLeafA.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCLeafB1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCLeafB2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCLeafC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCLeafD1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCLeafD2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/jointable/stringdiscriminator/PIdJTSDMSCRootEntity.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCEntityB.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCEntityD.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCLeafA.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCLeafB1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCLeafB2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCLeafC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCLeafD1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCLeafD2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/chardiscriminator/PIdSTCDMSCRootEntity.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCEntityB.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCEntityD.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCLeafA.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCLeafB1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCLeafB2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCLeafC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCLeafD1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCLeafD2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/intdiscriminator/PIdSTIDMSCRootEntity.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCEntityB.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCEntityD.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCLeafA.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCLeafB1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCLeafB2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCLeafC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCLeafD1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCLeafD2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCMappedSuperclass.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/idmsc/primitiveidentity/singletable/stringdiscriminator/PIdSTSDMSCRootEntity.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/EntityB.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/EntityD.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/LeafA.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/LeafB1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/LeafB2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/LeafC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/LeafD1.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/LeafD2.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/MSC.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/inheritance/entities/testinterfaces/RootEntity.java
	modified:   openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
	modified:   openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java

Conflicts:

	openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
	openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java
	openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
	openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789518 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 01:04:57 +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
Donald Woods 6ec1122a7e OPENJPA-1148 Build failures with 64bit Sun JDK6 on Linux due to PermGen space. Part 1 - cleanup of setting jvm arguments for surefire.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789410 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:54:32 +00:00
Milosz Tylenda 717a3bb508 OPENJPA-1146: Delete RuntimeUnenhancedClassses and link references to RuntimeUnenhancedClasses
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788944 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 09:53:46 +00:00
Donald Woods bc5a51520f OPENJPA-1106 Initial @Null and @NotNull validation contraint tests along with other entity classes for future tests to be added.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788849 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 20:06:40 +00:00
Donald Woods 82c80100cc OPENJPA-1106 Add missing exception text to ConstraintValidationException instances and replace other exception strings with localized messages. Still needs some work to properly detect and rethrow the contents of a WrapperedException to the user's app.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788844 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 20:04:19 +00:00
Donald Woods fa64591c41 OPENJPA-1106 cleanup some javadoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788836 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 19:48:29 +00:00
Fay Wang 42f8667128 OPENJPA-1143: fix compiler error on IBM SDK5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788746 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 15:44:34 +00:00
Fay Wang 291f314242 OPENJPA-1143: correlation join support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788604 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 06:34:34 +00:00
Donald Woods 3f15ecde4d OPENJPA-1143 fix build error that only occurred on IBM SDK 5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788382 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:08:29 +00:00
Donald Woods e72c186ef1 OPENJPA-1143 fix 2 build errors only flagged in Eclipse (was using Galileo and Sun JDK 6)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788381 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:07:34 +00:00
Pinaki Poddar 44443b3ebd OPENJPA-1143: refactor method signature to generic type CriteriaQuery<?> as input argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788058 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 15:48:04 +00:00
Fay Wang e57f032626 OPENJPA-1143: subquery support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787916 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 06:02:17 +00:00
David Ezzio 636bd5f213 OpenJPA-525: merged change 786218 from 1.1.x branch to trunk, fix for Oracle and null CLOBs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787868 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 23:03:42 +00:00
Pinaki Poddar ecf43f87f7 OPENJPA-1143: Build dependency to 1.0-EA3-SNAPSHOT (latest unpublished JPA Spec), refactored MetaModel/CriteriaQuery API to compile against the new JPA API, line length limit increased to 120
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787832 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 21:04:32 +00:00
Donald Woods 4b70d52d9c OPENJPA-946 Oracle create table(s) exceptions. Updated patch and tests provided by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787741 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 16:18:28 +00:00
Michael Dick 0e055fb013 OPENJPA-1119 committing patch from Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787359 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 19:16:19 +00:00
Milosz Tylenda d389c4327b OPENJPA-1126: Note on Calendar and Java 1.3 no longer needed in user manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787356 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 19:12:15 +00:00
Michael Dick 1c4fdebe83 Temporarily disable criteria testcases per email on dev mailing list
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787306 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 16:34:08 +00:00
Milosz Tylenda 79ad8c4943 OPENJPA-1123: Test for database-specific query hints
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786615 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 18:33:28 +00:00
Donald Woods 6c1cc88175 OPENJPA-1117 Missing AgentClass attribute in openjpa-all-xxx.jar manifest.mf. Also included some jvm arguments from OPENJPA-1119 which were required to fix some OOM PermGen space problems with 64bit IBM 6 SDK on Windows.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786555 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 15:43:46 +00:00
Michael Dick 453a6a96fa Move delegating store manager creation to a separate method
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786340 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 00:11:04 +00:00
Michael Dick 7f0b0234c0 Move properties parsing in PersistenceTestCase into a separate method for reuse in subclasses.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786309 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 21:56:56 +00:00
Donald Woods 77f181582e add missing svn props
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786225 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:39:36 +00:00
Donald Woods 46ea5bf7a6 remove tabs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786178 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 17:36:26 +00:00
Donald Woods bc9654cfc5 OPENJPA-1111 Validation mode of callback should cause a PersistenceException when no provider is available. Part 2 - updated WrapperedException to properly pass on the exception, updated ValidationException to allow for setting the fatal flag, and updated the location of the localizer messages for ValidationUtils.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785861 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 00:09:42 +00:00
Donald Woods 472cf99ab4 OPENJPA-1000 Consistent usage of serialVersionUID - remove added sVUID added in 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785778 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 20:22:20 +00:00
Michael Dick e1f290e4df OPENJPA-1139 force checkstyle to use velocity v1.1.3. Newer versions are available but cause other issues (tried 1.1.6 & 1.1.7).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785749 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 18:26:59 +00:00
Pinaki Poddar 7b0fda399f Retire unused methods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785456 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 00:27:55 +00:00
Pinaki Poddar 0b0fb31bce OPENJPA-1013: criteria fetch joins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785431 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 22:22:08 +00:00
Donald Woods 0d8b1dc074 OPENJPA-1111 Validation mode of callback should cause a PersistenceException when no provider is available. Also some config rework as suggested by Pinaki in reviewing OPENJPA-1114. This is Part 1, as the thrown PersistenceException is not marked as Fatal and contains a null description, but does have the stack.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785366 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 20:11:45 +00:00
Pinaki Poddar 70a0b7b1db new header option
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785355 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 19:38:38 +00:00
Pinaki Poddar d6ae199de7 OPENJPA-1013: Joins, key/value, parameters, embedded
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785341 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 18:57:17 +00:00
Michael Dick e3a6af8f24 OPENJPA-1133. Adding svn:eol-style properties.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785272 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 16:07:53 +00:00
Michael Dick 4c9be63dc6 OPENJPA-1133 committing patch provided by Ravi Palacherla. PostgreSQL
Dictionary will now use "false" as a placeholder instead of 0 for
columns of type BIT.
	modified:   openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/TestBooleanValue.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785268 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 15:51:15 +00:00
Donald Woods 8f2f9e1626 upgrade to latest Apache pom, so we start using the new nexus based repos which Geronimo is now using
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785211 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 13:36:09 +00:00
Pinaki Poddar c9d62822d4 Add ASL header with -addHeader option
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785082 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 05:13:32 +00:00
Donald Woods acd00ecc61 include ASF license header in meta model generated source
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784888 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:56:36 +00:00
Michael Dick c63c10cfbf Exclude metamodel classes due to popular request
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784866 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:08:00 +00:00
Milosz Tylenda 5d1bd85ca8 OPENJPA-1132: Use MySQL-specific syntax for dropping foreign and primary keys.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784402 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 14:42:45 +00:00
Donald Woods 888ddb83c0 OPENJPA-1106 rename testcase to better match what we're testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784172 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 16:03:49 +00:00
Donald Woods 75c9605384 OPENJPA-1114 include tracing to show if a VLEM is being created or not
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784171 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 16:02:49 +00:00
Jeremy Bauer 6ee7af451c OPENJPA-926 Do not validate access hierarchy when mapped superclass has no persistent attributes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783968 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 02:51:49 +00:00
Jeremy Bauer 62be4544b3 OPENJPA-1135 Apply overrides to deferred embeddable attributes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783966 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 02:40:14 +00:00
Michael Dick a972ec0de3 OPENJPA-1136 adding .gitignore
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783920 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:24:48 +00:00