Commit Graph

182 Commits

Author SHA1 Message Date
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole 8ec17e68e7 HHH-8741 - More checkstyle cleanups 2013-11-23 00:06:06 -06:00
Steve Ebersole f9aa122b5e HHH-8733 - General build cleanup 2013-11-22 19:46:05 -06:00
Steve Ebersole 9e58a6de69 HHH-8694 - Move hibernate-maven-plugin and hibernate-gradle-plugin under tooling sub directory 2013-11-13 18:23:48 -06:00
Hardy Ferentschik faca8f5dd4 HHH-8483 Deleting obsolte settings.gralde in metamodel-generator project and making sure artifact is correctly named in root level settings file 2013-11-12 16:07:00 +01:00
Hardy Ferentschik 5618ea53e3 METAGEN-104 Making sure that determination of bean properties takes method name and return type into consideration 2013-11-11 20:08:17 +08:00
Hardy Ferentschik b98c45f904 METAGEN-104 Improving the way the test source directory is discovered 2013-11-11 20:08:17 +08:00
Hardy Ferentschik 052012776e HHH-8483 Deleting readme 2013-11-11 20:08:17 +08:00
Hardy Ferentschik 9cd2851373 HHH-8483 Changing the license header to LGPL 2013-11-11 20:08:17 +08:00
Hardy Ferentschik ff235d8c55 HHH-8433 Making sure javadocs and release tasks work 2013-11-11 20:08:17 +08:00
Hardy Ferentschik f25ea58750 HHH-8483 Moving metamodelgen documentation into documentation module 2013-11-11 20:08:17 +08:00
Hardy Ferentschik 7c8984469b HHH-8483 Getting metamodel-generator:build working 2013-11-11 20:08:16 +08:00
Hardy Ferentschik dfe7fab422 HHH-8483 Removing Gradle wrapper files, license.txt and changelog, since they are obsolete in the case of metamodel-generator being a sub-project of ORM 2013-11-11 20:08:16 +08:00
Hardy Ferentschik cc6f423373 METAGEN-103 Adding package-info files and trying to get the file ending right for the Shops 2013-11-11 20:08:16 +08:00
Hardy Ferentschik a12b9d7fd5 METAGEN-103 Fixing existing checkstyle violations 2013-11-11 20:08:16 +08:00
Hardy Ferentschik 5fbcad2e88 METAGEN-102 Upgrading Hibernate and JPA version 2013-11-11 20:08:16 +08:00
Hardy Ferentschik bf5b146191 METAGEN-98 Switching to JUnit, adding a custom test runner and the annotations @WithClasses, @WithMappingFiles, WithProcessorOptions and @IgnoreCompilationErrors 2013-11-11 20:08:16 +08:00
Hardy Ferentschik b51b230c57 METAGEN-101 Removing obsolete resources 2013-11-11 20:08:16 +08:00
Hardy Ferentschik 4ba59c529f METAGEN-101 Adding release tasks and removing pom.xml 2013-11-11 20:08:16 +08:00
Hardy Ferentschik fdbfbd03ec METAGEN-101 Adding checkstyle plugin and making some style fixes (not 100% Hibernate ORM compatible yet) 2013-11-11 20:08:15 +08:00
Hardy Ferentschik 0c6b601006 METAGEN-100 Exclude generated JAXB classes from JavaDocs 2013-11-11 20:08:15 +08:00
Hardy Ferentschik f68234727b METAGEN-101 Switching to Gradle
- Basic build config
- Adding Maven publish configuration
- Adding javadocs configuration
2013-11-11 20:08:15 +08:00
Hardy Ferentschik cac6d00342 METAGEN-91 Making sure that field annotated with @EmbeddedId gets added as singular attribute
Updating tests
2013-11-11 20:08:15 +08:00
Gunnar Morling 44aaa41339 METAGEN-85 Merging members for embeddedables and mapped superclasses lazily in order to consider only members with correct access type 2013-11-11 20:08:15 +08:00
Gunnar Morling 042368ed3e METAGEN-85 Fixing typo and some raw type warnings 2013-11-11 20:08:15 +08:00
Gunnar Morling 399bc3542f METAGEN-94 Initializing members of mapped superclasses lazily in order to correctly take access type declared by subtypes into account 2013-11-11 20:08:15 +08:00
Gunnar Morling b61dc5cc98 METAGEN-94 Adding "test-output" to .gitignore 2013-11-11 20:08:14 +08:00
Gunnar Morling 17d640f5f5 METAGEN-86 Clean-up (using right company name in new files, removing $Id from SVN times) 2013-11-11 20:08:14 +08:00
Gunnar Morling 190b736f6c METAGEN-86 Using simple flag for tracking XML metadata completeness 2013-11-11 20:08:14 +08:00
Hardy Ferentschik d49407b23d METAGEN-86 Checking now each mapping file for xml-mapping-metadata-complete. Technically this is not 100% correct since we don't differentiate between persistence units. 2013-11-11 20:08:14 +08:00
Hardy Ferentschik 8ace40f351 METAGEN-86 Adding missing processor option 2013-11-11 20:08:14 +08:00
Gunnar Morling 7b8b7ead72 METAGEN-92 Some clean-up (comments, headers, unused imports, typos) 2013-11-11 20:08:14 +08:00
Hardy Ferentschik fb132b281c METAGEN-92 Renaming XmlParser to better reflect its function 2013-11-11 20:08:14 +08:00
Hardy Ferentschik 5bdb352569 METAGEN-92 removing '// $Id:$', reminder of svn times :-) 2013-11-11 20:08:14 +08:00
Hardy Ferentschik 944ab85bf1 METAGEN-92 Fixing wrong warning message 2013-11-11 20:08:14 +08:00
Hardy Ferentschik 9a56f39bb2 METAGEN-92 Adding ability to process JPA 2.0 and 2.1 configuration files. 2.0 configuration files will be transformed by an EventReader to 2.1 2013-11-11 20:08:13 +08:00
Hardy Ferentschik 79f7957f0b METAGEN-88 Using System.getProperty( line.separator ) in ImportContextImpl now 2013-11-11 20:08:13 +08:00
Guillaume Smet 2cdccbaf8f METAGEN-83 Updating versions of dependencies and Maven plugins 2013-11-11 20:08:13 +08:00
Hardy Ferentschik 90b023af3e METAGEN-90 Adding testcase 2013-11-11 20:08:13 +08:00
Hardy Ferentschik c75bd2a0af METAGEN-83 Fixing JAXB incompatabilties - see also HV-528 2013-11-11 20:08:13 +08:00
Hardy Ferentschik 999632b667 METAGEN-83 Removing unused constant 2013-11-11 20:08:13 +08:00
Sanne Grinovero 5cacd68cfa METAGEN-83 Should not use path separator but file separator 2013-11-11 20:08:13 +08:00
Sanne Grinovero 73502abf60 METAGEN-83 Update hibernate-jpa-2.0-api to 1.0.1.Final 2013-11-11 20:08:13 +08:00
Sanne Grinovero 39a21d96b3 METAGEN-83 build: specify file encoding 2013-11-11 20:08:13 +08:00
Sanne Grinovero fbbe605511 METAGEN-83 build: update Maven plugin versions 2013-11-11 20:08:12 +08:00
Guillaume Smet 0c18c38a55 METAGEN-82 Fixed a few inconsistencies in the way @MappedSuperClass
are considered
2013-11-11 20:08:12 +08:00
Hardy Ferentschik 0ff88cff1f METAGEN-81 Formatting and moving test into its own method annotated with @TestForIssue 2013-11-11 20:08:12 +08:00
Guillaume Smet 7bb932f505 METAGEN-81 Fixed the propagation of the access type to the @Embeddable
entities via the @Embedded link even if the access type is determined from the containing entity hierarchy
2013-11-11 20:08:12 +08:00
Hardy Ferentschik f946f60471 METAGEN-79 Unified skipGeneratedAnnotation and addGeneratedAnnotation 2013-11-11 20:08:12 +08:00
Igor Vaynberg d5110ad8bc METAGEN-69 2013-11-11 20:08:12 +08:00
Hardy Ferentschik d155b70923 METAGEN-75 Allowing a resource path to not start with a leading /
Updating dependencies
2013-11-11 20:08:12 +08:00
Hardy Ferentschik 8177e5b840 METAGEN-73 Adding the fqcn of the processor as value of @Generated.
Also adding an option to add the generation date.
2013-11-11 20:08:12 +08:00
Hardy Ferentschik 802cbcd546 METAGEN-76 Fixing StringUtil#isPropertyName to ignore hashCode as persistent property 2013-11-11 20:08:12 +08:00
Hardy Ferentschik 4c968d7f7a METAGEN-79 Adding skipGeneratedAnnotation flag. Deprecating addGeneratedAnnotation. 2013-11-11 20:08:11 +08:00
Hardy Ferentschik 4ac9cbfdb3 METAGEN-79 TestUtil#getFieldFromMetamodelFor() used now Class.getDeclaredField() to only access fields defined in the actual class 2013-11-11 20:08:11 +08:00
Hardy Ferentschik 2d245a3798 METAGEN-57 Adding support for embedded id to XmlMetaEntity and adding testcase 2013-11-11 20:08:11 +08:00
Hardy Ferentschik 807fa02bbf METAGEN-57 import cleanup 2013-11-11 20:08:11 +08:00
Hardy Ferentschik 6249793c48 METAGEN-66 Updating testcase 2013-11-11 20:08:11 +08:00
Hardy Ferentschik 86ced8bbf4 METAGEN-66 Adding testcase 2013-11-11 20:08:11 +08:00
Hardy Ferentschik 66b04e8f66 METAGEN-67 making sure that mapped superclasses without Id annotation get a default access type 2013-11-11 20:08:11 +08:00
Hardy Ferentschik 6146563ee8 METAGEN-67 removing comment 2013-11-11 20:08:11 +08:00
Hardy Ferentschik e8233364ea METAGEN-67 removing obsolete method 2013-11-11 20:08:10 +08:00
Hardy Ferentschik 434145e75d METAGEN-52 Removing unused functions 2013-11-11 20:08:10 +08:00
Hardy Ferentschik bd37d376aa METAGEN-52 Removing remaining compile time dependency for javax.persistence classes 2013-11-11 20:08:10 +08:00
Hardy Ferentschik 214e357d13 METAGEN-67 Renaming tests to reflect actual problem 2013-11-11 20:08:10 +08:00
Hardy Ferentschik 99f40d7e06 METAGEN-67 Removing direct access to JPA persistence 2013-11-11 20:08:10 +08:00
Hardy Ferentschik 8d1a767b35 METAGEN-67 Updating testcase - mapped super class does now not contain an id 2013-11-11 20:08:10 +08:00
Hardy Ferentschik 170d2c9bff METAGEN-67 Formatting 2013-11-11 20:08:10 +08:00
Hardy Ferentschik eb4521b1e9 METAGEN-62 Package renaming 2013-11-11 20:08:10 +08:00
Hardy Ferentschik e67bd078f2 METAGEN-67 Adding testcase 2013-11-11 20:08:10 +08:00
Hardy Ferentschik 5c71acf923 METAGEN-62 Adding support for SortedMap and SortedSet 2013-11-11 20:08:09 +08:00
Hardy Ferentschik f52e81f257 METAGEN-62 adding testcase 2013-11-11 20:08:09 +08:00
Hardy Ferentschik 9e9b7541b5 METAGEN-64 Making sure that non mapped classes in the hierarchy don't destroy the mapped class hierarchy 2013-11-11 20:08:09 +08:00
Hardy Ferentschik 1cfdb8a67d METAGEN-50, METAGEN-63 Added processor option to add @SupressWarnings annotation
Updated documentation and made sure that documentation and implementation related to ormXml is in sync
2013-11-11 20:08:09 +08:00
Hardy Ferentschik 54411e47b6 METAGEN-50, METAGEN-63 Added processor option to add @SupressWarnings annotation
Updated documentation and made sure that documentation and implementation related to ormXml is in sync
2013-11-11 20:08:09 +08:00
Hardy Ferentschik 105748e7dd METAGEN-65 Updating the configuration of the maven annotation processor plugin 2013-11-11 20:08:09 +08:00
Hardy Ferentschik 0f1cc39d9c METAGEN-78 Replacing @SupportedSourceVersion(RELEASE_6) with 'public SourceVersion getSupportedSourceVersion()' 2013-11-11 20:08:09 +08:00
Hardy Ferentschik f88284036f METAGEN-55 Formatting 2013-11-11 20:08:09 +08:00
Hardy Ferentschik 05c4251b78 METAGEN-55 Adding license header 2013-11-11 20:08:08 +08:00
Hardy Ferentschik e0e6fb0970 METAGEN-54 Cleaning up the code and making use of StringUtil.getPropertyName instead of adding a new helper method in XmlMetaEntity 2013-11-11 20:08:08 +08:00
Hardy Ferentschik 5bdd8c3311 METAGEN-54 Renamed test and fixed typo in test method 2013-11-11 20:08:08 +08:00
Hardy Ferentschik cb900355a7 METAGEN-54 Added license headers 2013-11-11 20:08:08 +08:00
Martijn Blankestijn 29b18cb62c METAGEN-54 Extra check on return type from a method 2013-11-11 20:08:08 +08:00
Martijn Blankestijn 643f58ef0f METAGEN-54 XML-only field access type Set attribute not generated 2013-11-11 20:08:08 +08:00
Hardy Ferentschik 32c02d2523 METAGEN-48 Updating the assembly configuration
Now the metamodelgen jar gets included. We are also making sure that .git
is not included or IDE config files
2013-11-11 20:08:08 +08:00
Hardy Ferentschik b73a5fd2ad METAGEN-49 Making sure that elements don't get removed from the collection while iterating over it 2013-11-11 20:08:08 +08:00
Hardy Ferentschik 8b2c7b4909 METAGEN-49 changing current version 2013-11-11 20:08:07 +08:00
Emmanuel Bernard ef927a664c METAGEN-47 Improve documentation on IntelliJ's configuration
Reuse the same generated dir beteen IntelliJ and Maven
Add the necessary modules for generation
2013-11-11 20:08:07 +08:00
Hardy Ferentschik cfc18b6cf8 METAGEN-45 Removed the second compilation. It should not be needed. 2013-11-11 20:08:07 +08:00
Hardy Ferentschik b3a2c67317 METAGEN-42 Updated persistence_2_0.xsd 2013-11-11 20:08:07 +08:00
Hardy Ferentschik cfba25db99 METAGEN-41 Updated readme and pom 2013-11-11 20:08:07 +08:00
Hardy Ferentschik 4cc9058b0e METAGEN-41 Removed all svn keyword substitution releated tags $ 2013-11-11 20:08:07 +08:00
Hardy Ferentschik 5f9e26746f METAGEN-40 Taking care of entities in default package 2013-11-11 20:08:07 +08:00
Hardy Ferentschik 3e0ecf66c0 METAGEN-28 Unrelated coding style fixes 2013-11-11 20:08:07 +08:00
Hardy Ferentschik 31a5497650 METAGEN-28 Added check for @Type to isBasicAttribute(). Made sure @Type is not directly referenced. Added test. 2013-11-11 20:08:06 +08:00
Hardy Ferentschik 1720d85543 METAGEN-37 fixed TypeUtils.extractClosestRealTypeAsString and added test 2013-11-11 20:08:06 +08:00
Hardy Ferentschik 9dcc29c6ef METAGEN-35 Actual code changes and tests for the issue. 2013-11-11 20:08:06 +08:00
Hardy Ferentschik d01ae40533 METAGEN-36 2013-11-11 20:08:06 +08:00
Hardy Ferentschik ba43b863f5 METAGEN-32 Updated documentation 2013-11-11 20:08:06 +08:00
Hardy Ferentschik e83b0ca9b2 METAGEN-33 Added 'addGeneratedAnnotation' option 2013-11-11 20:08:06 +08:00