Commit Graph

147 Commits

Author SHA1 Message Date
Yoann Rodière b151f396f6 HHH-12990 Auto-detect the fqcn of the Generated annotation in jpamodelgen
It's "javax.annotation.Generated" in Java 8 and below, but
"javax.annotation.processing.Generated" in Java 9 and above.
2019-09-11 10:26:35 +02:00
Chris Cranford 0d79bc06cf HHH-12612 - Added embeddable TYPE_USE test case coverage. 2018-05-24 17:01:36 -04:00
Chris Cranford 5674eae3ae HHH-12612 - Use getQualifiedName rather than toString. 2018-05-24 17:01:36 -04:00
Chris Cranford 45a3b39c40 HHH-12612 - Fix JDK9 compatibility with TYPE_USE on collection fields. 2018-05-23 19:10:58 -04:00
Chris Cranford 895b0bb75d HHH-12011 HHH 12612 - Remove unnecessary output from test case. 2018-05-23 19:08:50 -04:00
Chris Cranford df6d44f646 HHH-12581 - Revert original fix for HHH-12338 to address regression. 2018-05-23 13:57:44 -04:00
Chris Cranford 3b05e92f40 HHH-12581 - Added test case. 2018-05-23 13:57:35 -04:00
Chris Cranford f8ffbd03ff HHH-12011 - Fix JDK9 compatibility with TYPE_USE on array primitive-based fields. 2018-05-13 15:33:37 -04:00
Chris Cranford 2ad6bf6724 HHH-12011 - Use TypeVisitor rather than string parsing for array types. 2018-05-11 12:51:37 -04:00
Chris Cranford 67096ce547 HHH-12011 - Fix metamodel generation with TYPE_USE targeted annotations. 2018-05-11 12:48:20 -04:00
Chris Cranford 7162bf26ec HHH-12011 - Added test case. 2018-05-11 12:48:20 -04:00
helloztt 7bcfa0d90d HHH-12338 - Incorrect metamodel for basic collections 2018-03-29 17:22:49 +03:00
Réda Housni Alaoui 884569f9cc HHH-12378 JDK 9 support: Remove javax.annotation.Generated usage 2018-03-13 23:17:40 +00:00
Guillaume Smet 203575865c HHH-12245 Don't use the toString() of primitive type to detect the type
Better use getKind().
2018-01-24 08:56:49 +00:00
Sanne Grinovero 5c43ad571f Fix checkstyle violations 2017-12-19 10:02:43 +00:00
Réda Housni Alaoui 4efac1369a HHH-10294 EntityGraph improvement: For each jpa attribute, generate also a String constant holding the attribute field name 2017-12-18 06:49:56 -06:00
Vlad Mihalcea 3ab1974d66 HHH-11871 - Skip Metamodel attribute generation for non-Java Bean property methods
Fix indentation issue
2017-11-06 17:02:35 +02:00
Vlad Mihalcea 164178330a HHH-12073 - Change BaseUnitTestCase Logger to protected 2017-11-01 19:04:07 +02:00
Bogdan Stirbat f20fe860c9 HHH-11871 - Skip Metamodel attribute generation for non-Java Bean property methods 2017-11-01 15:44:40 +02:00
Archie L. Cobbs c3f61c73dd HHH-12068 - Fix generated @SuppressWarnings to work for all compilers 2017-10-30 11:28:58 +02:00
Andrea Boriero 9976edc853 HHH-11183 - Mixed line endings in schema creation script 2016-12-14 17:56:18 +02:00
Bradley Hess 1be0a347c4 HHH-11004: Proper handling of array ElementCollection values in jpamodelgen 2016-08-09 13:15:32 +03:00
Steve Ebersole 015be3df6e HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 13:40:44 -05:00
Vlad Mihalcea 438e9643f9 HHH-10781 - Remove all slf4j dependencies 2016-05-31 16:06:57 +03:00
Andrea Boriero c5b1cf94f3 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:11:43 +01:00
Kamil Szymanski 5f5e5f82c4 HHH-9593 Remove superfluous references to enclosing class
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java
2015-08-26 15:55:45 -04:00
Janario Oliveira 99c643febc Changed to keep generated classes in Context 2015-07-06 14:05:40 -05:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole 611f8a0e1c HHH-9803 - Checkstyle fix ups 2015-05-18 13:35:27 -05:00
Gunnar Morling 7da8083388 HHH-9773 Adding missing package declarations 2015-05-07 11:50:20 -05:00
10urshin 1361925bc7 HHH-9722
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).
2015-04-17 15:53:24 -04:00
Brett Meyer 7f17e50c72 HHH-9528 close InputStreams in jpamodelgen JpaDescriptorParser 2015-01-21 15:55:25 -05:00
Steve Ebersole 66ce8b7fb5 HHH-9466 - Drop metamodel package from source 2014-10-30 07:43:55 -05:00
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06: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 9cd2851373 HHH-8483 Changing the license header to LGPL 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 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 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 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 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 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