Commit Graph

501 Commits

Author SHA1 Message Date
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
Hardy Ferentschik 000d5533f4 METAGEN-7 Assuming now that 'xml-mapping-metadata-complete' is specified for a pure xml configuration. This way I can be more specific in @SupportedAnnotationTypes 2013-11-11 20:08:06 +08:00
Hardy Ferentschik 489c46b4be METAGEN-30 2013-11-11 20:08:06 +08:00
Hardy Ferentschik 6098243f7a METAGEN-38 Added support for Blob and a corresponding test. 2013-11-11 20:08:06 +08:00
Hardy Ferentschik 1f666641d8 METAGEN-39 Cleanup of POM 2013-11-11 20:08:05 +08:00
Hardy Ferentschik 402d21cd44 METAGEN-29 adding handling of type variables in AnnotationMetaEntity 2013-11-11 20:08:05 +08:00
Hardy Ferentschik 521b477e8e METAGEN-31 2013-11-11 20:08:05 +08:00
Hardy Ferentschik f80bf48a5b METAGEN-26 Updated readme and docbook sources 2013-11-11 20:08:05 +08:00
Hardy Ferentschik 67a89cb2d7 METAGEN-27 2013-11-11 20:08:05 +08:00
Hardy Ferentschik 22db734897 METAGEN-24 Create a mechanism to check whether xml files have changed 2013-11-11 20:08:05 +08:00
Hardy Ferentschik 443ae2de29 METAGEN-4 2013-11-11 20:08:05 +08:00
Hardy Ferentschik 787359a073 METAGEN-25 Ensure that the default package name gets used in all cases where class names can be specified 2013-11-11 20:08:05 +08:00
Hardy Ferentschik 9fb1f05259 METAGEN-22 Some cleanup and optimisatons prior adding new functionality 2013-11-11 20:08:04 +08:00
Hardy Ferentschik 6e039d710b METAGEN-22 Some cleanup and optimisatons prior adding new functionality 2013-11-11 20:08:04 +08:00
Hardy Ferentschik 7856f66eb9 METAGEN-4 Added a start for the documentation 2013-11-11 20:08:04 +08:00
Hardy Ferentschik 813339a647 METAGEN-9 Extended infrastructure to allow the specification of persistence.xml 2013-11-11 20:08:04 +08:00
Hardy Ferentschik f82b6a7d3c METAGEN-19 Support @MapKeyClass overriding of the key class 2013-11-11 20:08:04 +08:00
Hardy Ferentschik 1f021a6fd2 METAGEN-17 Consider XML for targetEntity 2013-11-11 20:08:04 +08:00
Hardy Ferentschik 149f8ae8f4 METAGEN-18 Support @ElementCollection.targetClass + its XMl equivalent 2013-11-11 20:08:03 +08:00
Hardy Ferentschik 19d68006f3 METAGEN-14 2013-11-11 20:08:03 +08:00
Hardy Ferentschik 6f3b00354d METAGEN-21 2013-11-11 20:08:03 +08:00
Hardy Ferentschik 3088900b2a METAGEN-16 Code makes use of getAnnotation() instead of getAnnotationMirrors() 2013-11-11 20:08:03 +08:00
Hardy Ferentschik bc1e9f1492 METAGEN-6 Split XML parsing code out into its own class. 2013-11-11 20:08:03 +08:00
Hardy Ferentschik d5f15a172f METAGEN-10
Switched to using Diagnostic.Kind.OTHER for debug messages. Only message in default mode is now "Hibernate JPA 2 Static-Metamodel Generator [version]"
2013-11-11 20:08:03 +08:00
Emmanuel Bernard 76d2d32a4a METAGEN-20 better example names 2013-11-11 20:08:03 +08:00
Emmanuel Bernard b78ebb332c METAGEN-20 support raw collections and honor targetEntity 2013-11-11 20:08:03 +08:00
Emmanuel Bernard d4dac16e32 METAGEN-15 use the first upper bound when the type to be exported is a generic. 2013-11-11 20:08:03 +08:00
Steve Ebersole 33d734f33a METAGEN-11 Upgrade JPA dependency to hibernate-jpa-2.0-api-1.0.0-CR-1 2013-11-11 20:08:02 +08:00
Hardy Ferentschik 41c79d533c METAGEN-8
Made sure that the right element type is extracted in case the is a ElementCollection on Map.
I think however, there are more problems. We only cover the java.util.Map case. We need to take care of subclasses as well.
2013-11-11 20:08:02 +08:00
Hardy Ferentschik fe0038ce14 METAGEN-5
Added an additonal option which can be passed to the processor in order to print debug messages. Passing of the parameter is via -Adebug=true
2013-11-11 20:08:02 +08:00
Hardy Ferentschik 0e9f97ce2f METAGEN-2
Added support for arrays. Arrays are now added to the metamodel as SingularAttribute.
We don't, however, cover the case yet where there is a @*ToMany annotation on the array
2013-11-11 20:08:02 +08:00
Hardy Ferentschik 95da451ce7 METAGEN-3 2013-11-11 20:08:02 +08:00
Hardy Ferentschik 31901374fc METAGEN Start of JPA metamodel processor project 2013-11-11 20:08:02 +08:00