Commit Graph

1207 Commits

Author SHA1 Message Date
Michael Dick d190bdc77d OPENJPA-1061:
Prevent ID collision on subclasses when the ID field is declared on a Mappedsuperclass. Merged to 1.0.x.
originally Submitted By : Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@908274 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 23:10:49 +00:00
Michael Dick 64528e6076 OPENJPA-1328:
Check cacheability in ClassMetaData instead of AbstractDataCache.
Based on patch for 1.2.x by Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@905842 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 23:52:58 +00:00
Michael Dick 302530ec46 OPENJPA-1457:
Remove java.net repository from tck pom.xml

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@899317 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 17:33:57 +00:00
Michael Dick 4824058bb4 Doc update for connectionRetainMode always
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@889361 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 18:45:22 +00:00
Michael Dick 02619a2514 OPENJPA-1350:
Add synchronization in processRegisteredClasses to prevent unknown alias error. 
Submitted by : Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@888100 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 19:31:35 +00:00
Michael Dick 945ca9a948 OPENJPA-1308:
Disabling the newly added tests with MySQL

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@829158 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 18:06:50 +00:00
Michael Dick 427698fbd2 OPENJPA-1308:
Remove extraneous cast of VARCHAR to VARCHAR for DB2.
Submitted By: B.J. Reed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@828134 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 18:34:23 +00:00
Michael Dick 04835f7c98 Minor doc update. Specify correct default UpdateManager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@820058 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 18:28:00 +00:00
Michael Dick 54dea93f8f OPENJPA-466:
Synchronize call to obtain next sequence value.
Submitted By: B. J. Reed, based on patch from Tim McConnell
	modified:   openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/AbstractJDBCSeq.java
	modified:   openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/NativeJDBCSeq.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/sequence/EntityEmployee.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/sequence/EntityPerson.java
	new file:   openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/sequence/TestSequence.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@809016 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 20:20:52 +00:00
Michael Dick c952839fda OPENJPA-645:
Retain milisecond precision for Informix - ported to 1.0.x
Submitted By : Dinkar Rao and B.J. Reed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@805949 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 19:44:37 +00:00
Michael Dick 11b1833028 Do not execute testcases which require subselects if the dictionary doesn't provide that support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@805141 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 21:03:33 +00:00
Michael Dick 129dc13af8 OPENJPA-1244:
Include xxx-5 modules for compilation when using JDK >=1.5

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@803914 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 14:59:17 +00:00
Michael Dick 7ee08e7c2f OPENJPA-1243:
OPENJPA-605: Do not create a unique index on primary key columns for Informix
OPENJPA-606: Informix updates - update timestamp type name, fix cross join syntax, Informix does not support NullDeleteAction or default delete, and add error message for LOCATE function.
OPENJPA-629: Trim trailing whitespace when checking for existing keys in database
Submitted By: B. J. Reed, based on patches by Michael Dick, Fay Wang and Catalina Wei.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@803904 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 14:37:28 +00:00
Michael Dick 216220067c OPENJPA-594:
Setting Informix schema separator to ':'
Submitted By: Jody Grassel based on patch by Dinkar Rao

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@799685 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 18:38:07 +00:00
Michael Dick f799db34a2 OPENJPA-1210:
Add properties for derby timeouts to pom.xml.
	modified:   openjpa-persistence-jdbc/pom.xml

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@799386 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 18:00:21 +00:00
Michael Dick 5e5243f396 OPENJPA-622:
Move check for isJDBC to DBDictionary class and prevent informix lock timeout
Submitted By : Jody Grassel based on Catalina's changes in trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@798945 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 15:23:05 +00:00
Michael Dick 65ed7d997b OPENJPA-1197:
Upgrade test profile to use MySQL JDBC driver v 5.1.6.
Resolves problems executing native queries.
	modified:   openjpa-persistence-jdbc/pom.xml

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@798192 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 15:40:47 +00:00
Michael Dick 5f9f9124b1 OPENJPA-1029:
SQLServerDictionary can handle Microsoft JDBC driver. Changes originally
made to trunk in revision 765841,now merged to 1.0.x.
Submitted by: Donald Woods
	modified:   openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/SQLServerDictionary.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@792242 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 17:48:00 +00:00
Michael Dick da880cef0c OPENJPA-873 committing patch from Jody Grassel based on Fay's changes for trunk & 1.3.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@787334 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 18:03:38 +00:00
Michael Dick 40fe708785 OPENJPA-1136. setting eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@783923 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:26:04 +00:00
Michael Dick c74527b1ac OPENJPA-1136 adding .gitignore
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@783918 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:23:12 +00:00
Michael Dick ca79571829 OPENJPA-1067. Merely log SQLException from setQueryTimeout for DB2 on Z/OS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@778903 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 21:49:33 +00:00
Michael Dick 3187b81415 OPENJPA-1067. Merely log SQLException from setQueryTimeout for DB2 on Z/OS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@778847 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 18:59:20 +00:00
Michael Dick cec5147712 OPENJPA-1067. Restoring original behavior - pending JDBC spec interpretation with DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@776466 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 21:21:30 +00:00
Michael Dick 1c06cb5793 OPENJPA-975 committing patch from B.J. Reed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@776421 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 19:16:26 +00:00
Michael Dick 5dc2074e25 OPENJPA-1045. L2 cache included / excluded types may be specified by configuration properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@775205 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:58:07 +00:00
Michael Dick 2033eb6421 OPENJPA-1071. Set derby deadlockTimeout and waitTimeout
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@773633 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 18:10:09 +00:00
Michael Dick 87035a5b2e OPENJPA-1067. Do not call setQueryTimeout for DB2 on Z/OS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@772459 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 22:40:50 +00:00
Michael Dick 0bb19a6708 OPENJPA-1025 Implementing subList in subclasses of AbstractResultList, based on patch provided by B.J. Reed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@770292 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 15:39:59 +00:00
Michael Dick 34e146e4cb OPENJPA-1023
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@762742 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 12:31:41 +00:00
Michael Dick f01762aec0 OPENJPA-975. Clean up manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@761388 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 19:21:25 +00:00
Michael Dick 716cf61d4e OPENJPA-975. Based on patch from B.J. Reed and Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@760911 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 15:07:58 +00:00
Michael Dick f47b3e3c1c OPENJPA-951
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@760411 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 12:03:25 +00:00
Michael Dick 7287439fde OPENJPA-573. Merged to 1.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@759347 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 20:57:23 +00:00
Michael Dick f5fe07304d OPENJPA-896. Setting eol-style:native and removing windows eol characters from XML files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@757386 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 12:42:11 +00:00
Michael Dick 3b34f93d80 OPENJPA-896. Setting eol-style:native and removing windows eol characters from source files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@757280 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:45:15 +00:00
Michael Dick 4f62f9b707 OPENJPA-901
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@748579 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 16:33:49 +00:00
Michael Dick cc6759b1ce OPENJPA-881 OPENJPA-876. Merging to 1.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@747531 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 19:54:35 +00:00
Michael Dick 39a4860641 OPENJPA-917. Merging B.J.'s changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@747421 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 16:37:41 +00:00
Michael Dick 1e8d38ed9c OPENJPA-772 committing patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@740460 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:35:20 +00:00
Michael Dick 05b35c0b26 OPENJPA-777 merge to 1.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@740105 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 21:04:34 +00:00
Michael Dick dec24c7767 OPENJPA-536 committing patch provided by Joe Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@739012 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 21:02:22 +00:00
Michael Dick 25ce88418e OPENJPA-864 do not remove table aliases for databases which use JoinSyntaxes.SYNTAX_DATABASE (no joins).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@736493 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 23:48:32 +00:00
Michael Dick 4d2c0d09e0 OPENJPA-779 ensure .* and target/ are ignored by svn
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@727822 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 21:00:02 +00:00
Albert Lee 3e7b115821 OPENJPA-752: Enhance exception message text to improve serviceability.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@707739 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 20:35:19 +00:00
Michael Dick bfed7bda15 OPENJPA-685. Removing references to maven.compile.classpath and maven.dependency.classpath from enhancer ant task. Merge to 1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@697960 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 19:35:25 +00:00
Kevin W. Sutter 3dcaec5dfe OPENJPA-715. Migrating the change to the 1.0.x service stream. This was requested from a user via a private e-mail exchange. I verified the problem existed in 1.0.x, applied the changes, and verified that the problem was resolved.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@696676 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 15:31:37 +00:00
Michael Dick 6d2fa3467a OPENJPA-650 adding documentation for openjpa.RuntimeUnenhancedClasses. Merging revision 696510 to 1.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@696513 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 23:21:30 +00:00
Michael Dick 21bf313cce OPENJPA-724 committing patch provided by Milosz Tylenda. Merging revision 696350 to 1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@696361 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 16:21:35 +00:00
Michael Dick d48b9a3c25 OPENJPA-727 remove reference to missing image file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@696343 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 15:30:41 +00:00