Commit Graph

2416 Commits

Author SHA1 Message Date
Fay Wang 78e93abb51 OPENJPA-1269: honor the table attribute in the MapKeyColumn annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808750 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 04:27:53 +00:00
Pinaki Poddar 250186fbcb OPENJPA-1100: Raise exception for unsupported version field type rather than silently ignoring
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808725 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 01:39:15 +00:00
Pinaki Poddar 149dbef93b OPENJPA-1116: Setting strategy on FieldMappingInfo instead of ValueMappingInfo. RuntimeStrategyInstaller installs strategy from FieldMappingInfo. Contributed by Ashish Palliwal.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808703 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 00:54:52 +00:00
Pinaki Poddar 12015d3f1d getLong was using INT. Patch by Criag Russell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808701 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 00:53:50 +00:00
Pinaki Poddar 6305be480b OPENJPA-1225: Fail fast on wrong constructor() argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808513 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 16:53:50 +00:00
Pinaki Poddar 39da6319dd OPENJPA-1265: move test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808401 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 12:38:33 +00:00
Michael Dick f06d862ec6 OPENJPA-386:
Handle abstract and non abstract MappedSuperClasses identically. 
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:26:37 +00:00
Pinaki Poddar f6ae418aa5 OPENJPA-1267: JDBC Escape Syntax for temporal type data in Criteria Query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808235 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 00:26:00 +00:00
Fay Wang 9177e9369a OPENJPA-1266: JDBC escape syntax for date, time, timestamp support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808198 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:01:25 +00:00
Pinaki Poddar f68c531a5b OPENJPA-1265: Support edit of Criteria Query.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808158 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 18:54:30 +00:00
Jeremy Bauer aedc261abc OPENJPA-1228 Updated persistence parser to use new default value for exclude-unlisted-classes in a JPA 2.0 persistence.xml while maintaining prior behavior for a 1.0 or unspecified version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808149 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 18:23:11 +00:00
Fay Wang 4083018e38 OPENJPA-1266: no need to cast for JDBC escape syntax for date, time, timestamp in DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808086 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:10:55 +00:00
Fay Wang e19c75a9c3 OPENJPA-1266: JDBC escape syntax for date, time, timestamp
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807851 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:22:59 +00:00
Michael Dick f61ff60842 OPENJPA-1223:
Add migration consideration for AutoOff collection tracking. 
Submitted By: Ravi Palacherla

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807769 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 19:20:19 +00:00
Jeremy Bauer ec43fccfff OPENJPA-1262 ORM Schema updates for EA7
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807686 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 16:14:00 +00:00
Michael Dick 8a66927c2d OPENJPA-1264:
Add trailing newlines - checkstyle

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807681 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:56:24 +00:00
Michael Dick 964ab657ce OPENJPA-1264:
Enable shared-cache-mode persistence.xml element. 

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807662 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:08:16 +00:00
David Ezzio 6303e9a753 OpenJPA-525 : Applied Milosz Tylenda's OPENJPA-525.3.patch to trunk, after testing by Amy Yang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807642 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:09:23 +00:00
Fay Wang 9a4406038e OPENJPA-1174: default fetch type for ManyToOne and OneToOne is eager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807602 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 13:04:12 +00:00
Catalina Wei 049c91707b OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
add table name in Address entity

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807479 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 05:02:44 +00:00
Catalina Wei 388b18650f OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807446 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 01:19:32 +00:00
Pinaki Poddar d45a82157e OPENJPA-1262: Missed file in commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807445 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 01:18:04 +00:00
Pinaki Poddar 2d4993954f OPENJPA-1262: EA7 pom
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807427 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 23:18:38 +00:00
Pinaki Poddar e955866480 OPENJA-1262: EA7 Update.
Fetch method signature changed. 
  nullLiteral() method added

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807398 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 22:02:18 +00:00
Michael Dick a8b6502e24 OPENJPA-1246:
Example configuration and improved documentation for Ingres.
Submitted by : Alan Raison

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807267 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 15:05:02 +00:00
Michael Dick ee5506d3d4 OPENJPA-1261: Set svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807248 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 14:41:36 +00:00
Catalina Wei 917b49befe OPENJPA-1261 JPQL query result shape for multi-selections including multi-select-new-constructor
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 17:47:06 +00:00
Michael Dick 7c8454767e Fixing svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806726 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 21:28:08 +00:00
Michael Dick bb7048d27c OPENJPA-1200:
Discriminator column ignored for in select statement for OneToMany relationships.
Submitted By : Ravi Palacherla

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806693 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 19:55:09 +00:00
Catalina Wei 2615a9b426 OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
Bulk update of embedded field is not allowed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806675 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 18:53:40 +00:00
Donald Woods 382bafc874 OPENJPA-1252 Same updates to this pom as for o-p-j in r806022
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806333 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:02:08 +00:00
Donald Woods 5b9b5d7725 OPENJPA-1252 Include a Derby Network Server w/ JCC driver test profile and cleanup some other profiles.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806022 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 02:30:09 +00:00
Fay Wang 21d88cadc7 OPENJPA-1256: fix ClassCastExcepton when IdClass contains an ENUM type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806011 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 00:03:30 +00:00
Donald Woods 7065743f17 OPENJPA-1252 Include a Derby Network Server test profile, allow Derby version to be changed on the cmdline, and cleanup some formatting/comments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:36:02 +00:00
Pinaki Poddar b11cdae338 Add error messages to FillStrategy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805588 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 21:27:42 +00:00
Donald Woods 30a7da0ba2 additional test for embeddable, elementcollection and lob
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805573 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:45:21 +00:00
Pinaki Poddar 4e6a98f634 OPENJPA-849,OPENJPA-1251: Property management, hidden values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:27:30 +00:00
Pinaki Poddar 814341420d OPENJPA-849, OPENJPA-1251: property management, hidden values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805565 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:20:26 +00:00
Michael Dick 0e4769e43b OPENJPA-1246 :
Order databases alphabetically.
	modified:   openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
	modified:   openjpa-project/src/doc/manual/supported_databases.xml

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805138 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 20:57:34 +00:00
Fay Wang c35c13497b OPENJPA-1250: fix ClassCast exception with eagerly fetched ElementCollection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805090 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 18:47:59 +00:00
Donald Woods f4dfdf90b5 OPENJPA-1245 Include Eclipse projects this one depends upon.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805045 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:05:31 +00:00
Donald Woods c7e032ceb7 OPENJPA-1245 Only include a basic Eclipse .project file, as running 'mvn eclipse:eclipse' will update the .classpath file and cause other developers to checkin a release specific version of the file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:02:40 +00:00
Donald Woods 7e81b8c8b5 OPENJPA-1245 Cleanup license header wrapping and some POM formatting for readability. Include basic Eclipse files, which will allow the module to be imported, as maven-eclipse-plugin will not generate the required metadata files, but will update these basic ones if present.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805042 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:00:16 +00:00
Michael Dick 49e554ac6c OPENJPA-1237:
Throw configuration exception for missing options when using WriteBehind. 
Submitted by : Tim McConnell

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804539 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 23:25:35 +00:00
Catalina Wei dc316323ba OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804419 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 00:32:59 +00:00
Catalina Wei 92fcf33575 OPENJPA-1185 Subquery restructure code
cleanup comments in testcase

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804418 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 00:30:09 +00:00
Michael Dick 25d3c8247b Locking should depend on openjpa-persistence-jdbc, depending on parent
leads to dependency resolution issues.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804337 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:29:39 +00:00
Michael Dick b8c7ce58ad OPENJPA-1245:
Pom.xml cleanup

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:29:34 +00:00
Michael Dick 88dcd580d8 OPENJPA-1245:
Move lockmode tests to a separate module. This allows different derby lock settings to be set on persistence-jdbc which should speed up test execution.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:30:05 +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