Commit Graph

5079 Commits

Author SHA1 Message Date
Simone f93ea15745
[OPENJPA-2828] Fix method equals() (#72) 2020-09-22 15:11:24 +02:00
Romain Manni-Bucau 33fc72ac85 [OPENJPA-2831] import [collections4] used classes and drop the dependency 2020-09-16 12:17:13 +02:00
PoojaChandak 325af83965
Update README.adoc (#73)
minor grammatical/typo changes
2020-09-16 10:32:40 +02:00
Romain Manni-Bucau 1862e2bad5 dropping java < 8 asm test since we require java >= 8 2020-09-16 10:32:04 +02:00
Romain Manni-Bucau a38684b323 [OPENJPA-2830] ensure we don't drop a SQL statement when running action executeScript 2020-09-15 17:57:24 +02:00
Romain Manni-Bucau 8dbdc14321 [OPENJPA-2829] ensure empty lines are ignored for executeScript action 2020-09-15 16:57:43 +02:00
Mark Struberg 06ee81dc0b update maven-assembly plugin to fix reactor behaviour for site 2020-09-06 13:38:13 +02:00
Mark Struberg 3dfaba893a add all logs to ignore 2020-09-06 13:37:58 +02:00
Mark Struberg 8f3e1bc21a make derby Driver optional
Skip this test if the class is not on the classpath.
This basically happens with every profile other than test-derby
2020-09-05 19:28:28 +02:00
Mark Struberg 4dfabc8b6e remove bookstore from our official samples list for now.
The whole ant part breaks our CI builds as it requires
to run a full install of openjpa before building the site
2020-09-05 16:25:29 +02:00
Mark Struberg 4dd64cc6b3 update build.properties to the last released openjpa version 2020-09-05 15:24:55 +02:00
Mark Struberg f831ef17c1 remove m2e plugin which doesn't seem to exist any longer 2020-09-05 15:24:36 +02:00
Mark Struberg 60bfa50c7f fix checkstyle for samples 2020-09-05 13:54:29 +02:00
Mark Struberg 8d76c716b7 update relase notes to 3.1.2 2020-09-05 12:59:28 +02:00
Mark Struberg 00109319ba adding release notes for 3.1.2
bit late, but better late than never ;)
2020-09-01 23:20:49 +02:00
Mark Struberg e831faffe4 OPENJPA-2795 improve MappingDefault IndexPhysicalForeignKeys description
This flag controls whether the database specific flag from the
DBDictionary will be used.
2020-08-31 16:09:30 +02:00
Mark Struberg f92c85314d OPENJPA-2795 add documentation and PostgreSQL support
Postgres also doesn't automatically create a foreign key index.
2020-08-31 16:09:17 +02:00
Robert Mayer c13f0b0e13 This fixes OPENJPA-2795 in that generation of indizes for @ManyToOne relations that are also foreign keys can optionally be turned on if so desired. Default behaviour of OpenJPA is unchanged.
This commit contains two new features:
1) A new DB-specific flag DBDictionary#indexPhysicalForeignKeys so that indices for foreign keys will be generated for
database systems that don't automatically create an index for foreign keys.
2) A new boolean property MappingDefaults.IndexPhysicalForeignKeys that will turn the feature from 1) on or off.
By default MappingDefaults.IndexPhysicalForeignKeys is false so that the feature from 1) is disabled.

Note: DBDictionary#indexPhysicalForeignKeys works similar to the pre-existing flag DBDictionary#indexLogicalForeignKeys.

Note: this commit enables FK indices for Oracle and MS SQLServer. Other database systems may benefit, too, and should also be changed.
2020-08-31 16:08:53 +02:00
Romain Manni-Bucau 119df603b8 [OPENJPA-2824] simplify OpenJPADirectoriesEnhancer runtime when in auto mode 2020-07-24 11:46:13 +02:00
Francesco Chicchiriccò 093a547193 Fix typo 2020-07-23 14:53:53 +02:00
Mark Struberg 5b81bead84 use proper maven structure for persistence.xml 2020-07-23 14:51:31 +02:00
Mark Struberg 94a033d83b OPENJPA-2821 use AsmAdapter for subclassing
to write proper java8 code
2020-07-23 14:06:52 +02:00
Mark Struberg ab6e0ed4b4 OPENJPA-2823 treat jakarta.* like javax.*
also simplify needsEnhance logic
2020-07-23 14:06:52 +02:00
Mark Struberg bf03bdb314 OPENJPA-2822 get rid of tricks < java8
we can now rely on transform() being available on all JVMs.
2020-07-23 14:06:52 +02:00
Mark Struberg 5d9c88d7cb just fix broken javadoc 2020-07-23 14:06:52 +02:00
Mark Struberg 589d7755d2 detect newer java versions as well 2020-07-23 14:06:52 +02:00
Enrico Olivelli e3bb1f1657
OPENJPA-2818 DBDictionary > delimitIdentifiers = true does not work (#69) 2020-07-21 14:43:40 +02:00
Romain Manni-Bucau c1a6aa5a4e
Merge pull request #70 from eolivelli/fix/OPENJPA-2819
OPENJPA-2819 Add simple GitHub Actions validation for Pull Requests
2020-07-20 12:11:34 +02:00
Enrico Olivelli 80c7d3c9bb
use 'install' goal 2020-07-17 23:02:34 +02:00
Enrico Olivelli 78225920f9
use 'package'
with 'verify' the build fails as we need the jar
2020-07-17 22:25:20 +02:00
Enrico Olivelli 5263d8ca27
Switch to verify 2020-07-17 20:45:31 +02:00
Enrico Olivelli 29ca489fc6 better clause 2020-07-17 18:28:41 +02:00
Enrico Olivelli d4882b0ace indent 2020-07-17 18:13:07 +02:00
Enrico Olivelli 6ddfe4e0a0 add quotes 2020-07-17 18:09:50 +02:00
Enrico Olivelli c97bb58a35 hard code key cache 2020-07-17 18:04:50 +02:00
Enrico Olivelli 6ec962f14f remove snapshots 2020-07-17 18:00:34 +02:00
Enrico Olivelli dcc313b689 OPENJPA-2819 Add simple GitHub Actions validation for Pull Requests 2020-07-17 17:49:56 +02:00
Romain Manni-Bucau 0e32d4981a
Merge pull request #63 from eolivelli/fix/OPENJPA-2816-herddb
OPENJPA-2816 Add HerdDB DBDictionary
2020-07-13 17:21:38 +02:00
Enrico Olivelli c93313767d OPENJPA-2816 Add HerdDB DBDictionary
- implement HerdDBDictionary
- add autodiscovery of HerdDB
2020-07-13 17:18:23 +02:00
Mark Struberg f18f28b633 [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
Mark Struberg 66d2a72cb2 [maven-release-plugin] prepare release 3.1.2 2020-07-07 11:19:15 +02:00
Mark Struberg 6aa22031e1 OPENJPA-2798 update to newest jpa spec revision
for auto module names
2020-07-06 13:57:50 +02:00
Francesco Chicchiriccò 61ec81624d
Merge pull request #62 from ilgrosso/ARRAY_INDEX_OUT_OF_BOUNDS
Checking array size before access to avoid ArrayIndexOutOfBoundsException
2020-06-09 13:23:12 +02:00
Francesco Chicchiriccò 55e6829b1d Checking array size before access to avoid ArrayIndexOutOfBoundsException 2020-06-09 12:34:49 +02:00
Romain Manni-Bucau db5912b309 OPENJPA-2815 jakarta bundle 2020-06-08 13:35:12 +02:00
Romain Manni-Bucau e721abfdaa ensure TestSnakeCaseDDL runs in enhanced mode otherwise there is an issue in column name uniqueness check + fixing MappingDefaultsImpl name definition 2020-05-07 10:02:45 +02:00
Romain Manni-Bucau 868a446a3e activating back seasar repo for uow-api now xbean had been downloaded on the ci 2020-05-07 09:46:06 +02:00
Romain Manni-Bucau 560a850bfd commenting seasar-repo since it should be useless now (and try to get back the CI green/blue) 2020-05-07 09:39:07 +02:00
Romain Manni-Bucau d0875670dd OPENJPA-2812 snake_case support in dbdictionary for db column names 2020-04-29 20:47:28 +02:00
Romain Manni-Bucau bf418eb1b3 OPENJPA-2813 PersistenceProvider#generateSchema (misses the boolean state) 2020-04-29 20:47:12 +02:00