Commit Graph

5408 Commits

Author SHA1 Message Date
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
Gunnar Morling 1e39c4b07f HHH-2907 Adding @UpdateTimestamp generator annotation 2013-11-08 13:08:41 -06:00
Gunnar Morling fb0d0c5cf7 HHH-2907 Adding @CreationTimestamp generator annotation 2013-11-08 13:08:41 -06:00
Gunnar Morling fd57a751b4 HHH-2907 Retrofitting @Generated, making it a generator annotation type 2013-11-08 13:08:41 -06:00
Gunnar Morling cc30269b84 HHH-2907 Adding support for annotation based value generation strategies 2013-11-08 13:08:41 -06:00
Gunnar Morling a860e6559d HHH-2907 Changing ValueGenerator contract in order to allow implementations performing work using the JDBC connection 2013-11-08 13:08:41 -06:00
Steve Ebersole 9938937fe7 HHH-8637 - Downcasting with TREAT operator should also filter results by the specified Type 2013-11-08 12:35:42 -06:00
Scott Marlow 246ce294a8 HHH-8688 EntityGraph should add AttributeNode's for basic NamedAttributeNode 2013-11-08 09:59:04 -05:00
Strong Liu 7de7b7c235 HHH-8688 fix org.hibernate.jpa.test.graphs.named.multiple.NamedEntityGraphsTest failure 2013-11-08 09:59:04 -05:00
Scott Marlow 17937f8d79 HHH-8688 recreated tck failure, will fail to get AttributeNode's from the graph 2013-11-08 09:59:03 -05:00
Strong Liu 99ae2a7be5 HHH-8285 Adding more tests 2013-11-08 20:59:50 +08:00
Strong Liu 90ee768f45 HHH-8285 Initial JPA 2.1 entity graph support (EntityManager.find()) 2013-11-08 20:59:50 +08:00
Strong Liu b3871f319b HHH-8285 Initial JPA 2.1 entity graph support (EntityManager.find()) 2013-11-08 20:59:50 +08:00