Thanks!
Meanwhile, I will use the solution from Simon.
Oleg.
>>>> exporter.setTargetFolder(new java.io.File("target/gen1-jpa"**))
>>>> exporter.setSerializerClass(**classOf[ScalaEntitySerializer]**)
>>>> exporter.setTypeMappingsClass(**classOf[ScalaTypeMappings])
>>>> exporter.**setEmbeddableAnnotation(**classOf[Embeddable])
>>>> exporter.**setEmbeddedAnnotation(classOf[**Embedded])
>>>> exporter.setEntityAnnotation(**classOf[Entity])
>>>> exporter.setSkipAnnotation(**classOf[Transient])
>>>> exporter.**setSupertypeAnnotation(**classOf[MappedSuperclass])
>>>> exporter.**setCreateScalaSources(true)
>>>> exporter.export(getClass.**getPackage)
>>>>
>>>> The full example is here
https://github.com/mysema/**
>>>> querydsl/blob/master/querydsl-**scala/src/test/scala/com/**
>>>> mysema/query/scala/**GenericExporterJPATest.scala<
https://github.com/mysema/querydsl/blob/master/querydsl-scala/src/test/scala/com/mysema/query/scala/GenericExporterJPATest.scala>
>>>>
>>>> The setTypeMappings call has just been added to Git master, but
>>>> everything else should work with Querydsl 2.5.0
>>>>
>>>> On Thu, Apr 26, 2012 at 11:15 PM, Timo Westkämper wrote:
>>>>
>>>>> Hi.
>>>>>
>>>>> Sorry for the delay. I will give you an example before next week.
>>>>>
>>>>> Br,
>>>>> Timo
>>>>>
>>>>>
>>>>> On Thu, Apr 26, 2012 at 10:52 PM, Oleg Aleshko wrote:
>>>>>
>>>>>> still struggling to do this
>>>>>> here is the output i get
>>>>>>
>>>>>> [INFO] --- maven-apt-plugin:1.0.2:process (default) @ backend-data
>>>>>> ---
>>>>>> [INFO]
>>>>>> [INFO] --- maven-resources-plugin:2.5:**resources
>>>>>> (default-resources)
>>>>>> @ backend-data ---
>>>>>> [debug] execute contextualize
>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>>> [INFO] Copying 4 resources
>>>>>> javacTask: no source files
>>>>>> Usage: javacTask <options> <source files>
>>>>>> use -help for a list of possible options
>>>>>>
>>>>>> with this config
>>>>>>
>>>>>> <plugin>
>>>>>> <groupId>com.mysema.maven</**groupId>
>>>>>> <artifactId>maven-apt-plugin</**artifactId>
>>>>>> <version>1.0.2</version>
>>>>>> <executions>
>>>>>> <execution>
>>>>>> <goals>
>>>>>> <goal>process</goal>
>>>>>> </goals>
>>>>>> <configuration>
>>>>>> <sourceDirectory>src/main/**scala</sourceDirectory>
>>>>>> <outputDirectory>target/**generated-sources/scala</**outputDirectory>
>>>>>> <processor>com.mysema.query.**apt.jpa.**JPAAnnotationProcessor</**
>>>>>> processor>
>>>>>> </configuration>
>>>>>> </execution>
>>>>>> </executions>
>>>>>> </plugin>
>>>>>>
>>>>>>
>>>>>> Thanks, Oleg.
>>>>>>
>>>>>>
>>>>>> On Saturday, April 21, 2012 3:56:19 PM UTC+3, Oleg Aleshko wrote:
>>>>>>
>>>>>>> Hi Timo.
>>>>>>>
>>>>>>> Can you please post an example of how to generate scala metadata
>>>>>>> code
>>>>>>> from jpa model with maven?
>>>>>>> The example here
http://www.querydsl.com/**static/querydsl/2.5.0/**
>>>>>>> reference/html/ch02s08.html#**d0e1177<
http://www.querydsl.com/static/querydsl/2.5.0/reference/html/ch02s08.html#d0e1177>seems
>>>>>>> to generate code from db schema.
>>>>>>> And the example here
>>>>>>>
http://www.querydsl.com/**static/querydsl/2.5.0/
>>>>>>> **reference/html/ch02.html<
http://www.querydsl.com/static/querydsl/2.5.0/reference/html/ch02.html>seems
>>>>>>> to be java only.
>>>>>>>
>>>>>>> Thanks, Oleg.
>>>>>>>
>>>>>>> On Saturday, April 21, 2012 1:47:03 PM UTC+3, Timo Westkämper
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi.
>>>>>>>>
>>>>>>>> Conversions was removed since maintaining two separate DSL:s was
>>>>>>>> too
>>>>>>>> difficult. Also the implicit conversion usage in the Scala alias
>>>>>>>> functionality was too fragile.
>>>>>>>>
>>>>>>>> Querydsl Scala has been lately optimized to provide even better
>>>>>>>> code
>>>>>>>> generation functionality than the Java side. Code-first models
>>>>>>>> need to be
>>>>>>>> used with code generation from now on.
>>>>>>>>
>>>>>>>> Timo
>>>>>>>>
>>>>>>>> Hi!
>>>>>>>>>
>>>>>>>>> Looks like com.mysema.query.scala.**Conversions is gone and i