jaxio / celerio-angular-quickstart

Generate an Angular 5 CRUD application from an existing database schema (we provide a sample one)
Apache License 2.0
481 stars 138 forks source link

M_LOCALDATETIME is not implemented yet #15

Closed jdanosborne closed 7 years ago

jdanosborne commented 7 years ago

All went great until trying to generate source code from my db with...

mvn -Pgen generate-sources

it failed with this error...

[ERROR] Failed to execute goal com.jaxio.celerio:celerio-maven-plugin:4.0.13:generate (Generates files using the extracted database schema.) on project celerio-angular-quickstart: Invocation of method 'getJavaDefinition' in class com.jaxio.celerio.util.MappedType threw exception java.lang.IllegalArgumentException: getJavaDefinition for M_LOCALDATETIME is not implemented yet at src/main/java/domain/CompositePk.java.cpk.vm[line 174, column 63] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jaxio.celerio:celerio-maven-plugin:4.0.13:generate (Generates files using the extracted database schema.) on project celerio-angular-quickstart: Invocation of method 'getJavaDefinition' in class com.jaxio.celerio.util.MappedType threw exception java.lang.IllegalArgumentException: getJavaDefinition for M_LOCALDATETIME is not implemented yet at src/main/java/domain/CompositePk.java.cpk.vm[line 174, column 63] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Invocation of method 'getJavaDefinition' in class com.jaxio.celerio.util.MappedType threw exception java.lang.IllegalArgumentException: getJavaDefinition for M_LOCALDATETIME is not implemented yet at src/main/java/domain/CompositePk.java.cpk.vm[line 174, column 63] at com.jaxio.celerio.maven.plugin.celerio.GenerateMojo.execute(GenerateMojo.java:204) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more

Dan