Commit Graph

276 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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
Catalina Wei 2c63edf463 OPENJPA-681 Subquery generates SQL with syntax error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@683875 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 06:46:19 +00:00
Michael Dick a4da161caa [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@677675 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:29:57 +00:00
Michael Dick 61db1f4910 [maven-release-plugin] prepare release 1.0.4
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@677673 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:29:40 +00:00
Michael Dick 6985c31868 Rollback release part two
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@677107 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 23:42:38 +00:00
Michael Dick 9f1039d989 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@677033 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:34:02 +00:00
Michael Dick 049c556997 [maven-release-plugin] prepare release 1.0.3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@677031 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 20:33:44 +00:00
Michael Dick f535198a6a OPENJPA-245 merging revision 646082 from 1.1.0 branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@677015 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 19:43:33 +00:00
Michael Dick 7cb20fd5ab OPENJPA-633 set svn:eol-style to native for pom.xml files. If it is unset the maven release plugin will reformat the files and remove copyright headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@676931 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 14:52:19 +00:00
Catalina Wei e7d6c25aaf OPENJPA-51 A non-correlated subquery resulting SQL syntax error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@676787 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 02:06:55 +00:00
Catalina Wei 5663e2ab86 OPENJPA-51 Incorrect SQL with syntax error for JPQL subqueries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@676467 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 03:46:44 +00:00
Michael Dick bfb7454406 OPENJPA-648 committing patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@673400 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 14:06:54 +00:00
Michael Dick 81163a320e OPENJPA-633 updating pom.xml files for 1.0.x branch with formatting changes required by the maven release plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@671418 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 04:28:46 +00:00
Michael Dick 9729eaed6e OPENJPA-591
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@654226 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 19:34:26 +00:00
Albert Lee 153b266430 OPENJPA-565 - Add test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@646596 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 23:27:59 +00:00
Michael Dick bfd462a885 OPENJPA-528 adding testcase to 1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@640439 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 15:14:05 +00:00
Kevin W. Sutter 4ae60705c0 OPENJPA-513. Ported change back to 1.0.x release.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@629845 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:10:22 +00:00
Michael Dick f99bdbce5f OPENJPA-374
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@629173 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 17:49:21 +00:00
Michael Dick 69366d11cb OPENJPA-512
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@629172 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 17:44:14 +00:00
Patrick Linskey 383dd9e25a Updating version in branch to 1.0.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@628947 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 01:13:56 +00:00
Patrick Linskey befd295ea5 OPENJPA-447. Merge from ../../trunk. svn merge -c 596523, plus correction to 596661 merge
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@619212 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 23:05:54 +00:00
Patrick Linskey 881461e99a Merge from ../../trunk. svn merge -c 596523 ../../trunk; svn merge -c 596661 ../../trunk Merge from ../../trunk. svn merge -c 596661 ../../trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@619175 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 22:04:15 +00:00
Patrick Linskey f38d30496b OPENJPA-506. svn merge -c 618821 ../../trunk. Oddly, the TCK was passing on this branch; maybe trunk and 1.0.x have different TCK versions?
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@618834 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 00:09:28 +00:00
Patrick Linskey 3b790c8bf3 Reduce log verbosity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@618380 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 19:01:24 +00:00
Patrick Linskey 91b151e6aa OPENJPA-508
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@617760 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 06:35:29 +00:00
Michael Dick c414e4cc79 OPENJPA-419 Ported to 1.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@617695 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 23:03:05 +00:00
Patrick Linskey f12c0926de OPENJPA-506
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@617334 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 02:41:00 +00:00
Patrick Linskey dc1088934b OPENJPA-135, OPENJPA-420
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@617164 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 17:23:34 +00:00
Patrick Linskey 6687c01f11 OPENJPA-258. Actually really fixing the issue this time.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@617073 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 08:56:46 +00:00
Patrick Linskey 31b93870cf OPENJPA-258
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@617039 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 08:04:03 +00:00
Patrick Linskey ae0f7eea4f OPENJPA-331. Ported to 1.0.x: svn merge -c 604621 ../../trunk; svn merge -c 607478 ../../trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@616965 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 00:13:31 +00:00
Michael Dick bebd829b45 OPENJPA-245
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@614564 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 15:17:42 +00:00
Michael Dick a062803ca5 OPENJPA-446 adding copyrights to new test cases in 1.0.x stream.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@596820 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 20:51:47 +00:00