Timo Westkämper
16cde895b9
Merge pull request #9 from mcuelenaere/fix_invalid_caching
...
Fix AbstractEvaluatorFactory.toId() not taking into account constants' types
2012-10-23 14:06:58 -07:00
Timo Westkämper
6134678422
#258 optimized any() usage for entity collections
2012-10-24 00:05:31 +03:00
Timo Westkämper
cc5718341a
#257 improved generics handling for HibernateDomainExporter
2012-10-23 23:50:34 +03:00
Maurus Cuelenaere
351b70f7d2
Fix AbstractEvaluatorFactory.toId() not taking into account constants' types
...
AbstractEvaluatorFactory ignored the types of constants when generating a classname.
As these generated classes get cached, this could result in stack traces like these:
java.lang.IllegalArgumentException: Can not set com.mysema.codegen.ComplexEvaluationTest$SuperCat field Q_0606084786_65821278_65821278.a1 to com.mysema.codegen.support.Cat
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:164)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:168)
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
at java.lang.reflect.Field.set(Field.java:680)
at com.mysema.codegen.AbstractEvaluatorFactory.createEvaluator(AbstractEvaluatorFactory.java:86)
2012-10-22 20:06:43 +02:00
Timo Westkämper
2fd82e71d1
#256 added test
2012-10-22 18:27:45 +03:00
Timo Westkämper
7adac10d9e
#251 fixed code generation
2012-10-22 09:07:41 +03:00
Timo Westkämper
7592601355
#252 added test
2012-10-22 08:52:56 +03:00
Timo Westkämper
1fe8bde81d
#254 updated codegen version
2012-10-22 08:39:58 +03:00
Timo Westkämper
489e6e9b7e
updated version
2012-10-22 08:35:51 +03:00
Timo Westkämper
11e971cc96
Merge pull request #8 from mcuelenaere/fix_cglib_generated_classes
...
Normalize dynamically created classes by CGLIB to their canonical form
2012-10-21 22:33:29 -07:00
Timo Westkämper
299dd3d3be
#254 improved handling of Path class in EntitySerializer
2012-10-22 08:20:37 +03:00
Timo Westkämper
0c7e9ed29b
#255 added better exceptions for joins
2012-10-22 08:08:12 +03:00
Maurus Cuelenaere
1c406677e1
Normalize dynamically created classes by CGLIB to their canonical form
...
This fixes following issue (occuring in QueryDSL):
Q_2045977532_1275614662_1275614662.java:3: error: cannot find symbol
public example.ExampleClass$$EnhancerByMockitoWithCGLIB$$45c738ca a1;
^
symbol: class ExampleClass$$EnhancerByMockitoWithCGLIB$$45c738ca
location: package example
As this class is dynamically generated, it can't be found at compile-time.
Because it basically is a proxy for the underlying object, use its super class
as normalized form, which solves the compile error.
2012-10-21 21:58:56 +02:00
Timo Westkämper
ac4afc064e
updated docs version
2012-10-19 16:43:09 +03:00
Timo Westkämper
9a3956f8bc
updated version to 2.8.1.BUILD-SNAPSHOT
2012-10-19 16:10:13 +03:00
Timo Westkämper
b5a86cafde
updated version to 2.8.1
2012-10-19 16:09:27 +03:00
Timo Westkämper
54714945f5
#250 improved dialect detection
2012-10-17 22:01:55 +03:00
Timo Westkämper
0145ab334e
#250 added test for join with
2012-10-16 14:04:05 +03:00
Timo Westkämper
e89d3164d6
#240 improved type handling for custom types
2012-10-15 17:43:10 +03:00
Timo Westkämper
74f4ff0007
#247 furhter code generation improvements
2012-10-13 15:07:23 +03:00
Timo Westkämper
9e1f7e7f3a
#247 fixed clashes with local class names in code generation
2012-10-13 14:27:52 +03:00
Timo Westkämper
f7fa4634e0
#249 fixed Hibernate instance of handling
2012-10-12 22:28:40 +03:00
Timo Westkämper
8c7ec705a5
removed ABstratMojoTest
2012-10-12 18:49:48 +03:00
Timo Westkämper
48f5f07525
Merge pull request #248 from scocci/master
...
Problems to read boolean values in databases which do not support boolean type.
2012-10-12 08:44:09 -07:00
Andrés Scoccimarro
afde72d9f4
Added support to read boolean values in databases which do not have boolean type.
2012-10-12 11:01:40 -03:00
Andrés Scoccimarro
3934742bdb
Added support to read boolean values in databases which do not have boolean type.
2012-10-12 10:54:55 -03:00
Timo Westkämper
9f032fed5a
added check for rootElements existence
2012-10-07 12:40:20 +03:00
Timo Westkämper
79c5b66c4c
#246 fixed unknownAsEmbeddable handling
2012-10-07 12:34:42 +03:00
Timo Westkämper
3447acadaa
#244 added sum and avg aggregating functions
2012-10-06 12:22:56 +03:00
Timo Westkämper
7e8c41b91d
#245 took test mode into account and missing buildContext
2012-10-06 12:04:46 +03:00
Timo Westkämper
8854a979aa
Merge pull request #245 from renataogarcia/master
...
Use BuildContext to avoid infinite builds on Eclipse using m2e
2012-10-06 01:40:34 -07:00
Renato Garcia
345d232086
Use BuildContext to avoid infinite builds on Eclipse using m2e
2012-10-06 10:02:53 +10:00
Timo Westkämper
24c8936ac7
fixed nextval usage
2012-10-05 16:16:28 +03:00
Timo Westkämper
827afc72d2
#243 removed null value of supertypeAnnotation in JDOExporterMojo
2012-10-05 09:38:06 +03:00
Timo Westkämper
9863e78317
Merge branch 'master' of github.com:mysema/querydsl
2012-10-05 09:34:55 +03:00
Timo Westkämper
5f0b81169e
#242 improved SuppressWarnings for generic q-types
2012-10-05 09:34:29 +03:00
Renato Garcia
fa16c7b3b0
Fix NPE when exporting JDO using maven plugin
2012-10-03 15:41:41 +10:00
Timo Westkämper
bd521f5533
Merge pull request #241 from scocci/master
...
Problems with nextval
2012-10-02 12:01:37 -07:00
Andrés Scoccimarro
a89563ede3
Fixed nextval expression and NEXTVAL Operator for HSQLDB
2012-10-02 14:43:28 -03:00
Timo Westkämper
3e03df20fe
#202 added like support for numbers
2012-09-30 15:05:02 +03:00
Timo Westkämper
236a723819
excluded fetch tests from EclipseLink and OpenJPA
2012-09-29 19:51:40 +03:00
Timo Westkämper
230df6b4e5
added test
2012-09-29 18:40:24 +03:00
Timo Westkämper
d578eac30e
bumped version
2012-09-29 13:14:47 +03:00
Timo Westkämper
b5484e8a5f
#238 added enum test
2012-09-29 12:24:15 +03:00
Timo Westkämper
48264a21aa
#239 added test
2012-09-28 23:08:52 +03:00
Timo Westkämper
52828df095
fixed bundlor config for jpa-codegen module
2012-09-27 21:30:49 +03:00
Timo Westkämper
a5cffabbd9
#235 fixed supertype handling in HibernateDomainExporter
2012-09-27 00:27:40 +03:00
Timo Westkämper
7ad0fcc5af
further fixes
2012-09-25 23:14:26 +03:00
Timo Westkämper
942322939f
#238 fixed handling of custom types
2012-09-25 22:51:00 +03:00
Timo Westkämper
e668e1142e
#237 added handling of custom types
2012-09-25 21:59:45 +03:00