facebook

Spring Scaffold not working for Informix DB

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #474984 Reply

    AugustineWan
    Participant

    I tried to scaffold a table in an informix db. I used org.bibenerate.dialet.InformiDialect.

    java.lang.RuntimeException: Error invoking function: initializeCrud[public void com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.initializeCrud() throws org.eclipse.core.runtime.CoreException] with parameters: []
    at org.skyway.core.generate.snippet.function.FunctionInvoker.invoke(FunctionInvoker.java:103)
    at org.skyway.core.generate.snippet.function.FunctionSnippetExpression.evaluate(FunctionSnippetExpression.java:26)
    at org.skyway.core.generate.snippet.SnippetRegistry.evaluate(SnippetRegistry.java:88)
    at org.skyway.core.generate.snippet.SnippetRegistry.getObjectAttribute(SnippetRegistry.java:99)
    at org.skyway.core.generate.generator.invoke.InvokeSnippetGenerator.generate(InvokeSnippetGenerator.java:24)
    at org.skyway.core.generate.generator.DescendantGenerator.generateChild(DescendantGenerator.java:28)
    at org.skyway.core.generate.generator.DescendantGenerator.generateChildren(DescendantGenerator.java:21)
    at org.skyway.core.generate.generator.DescendantGenerator.generate(DescendantGenerator.java:14)
    at org.skyway.core.generate.generator.control.ResourceGenerator.generate(ResourceGenerator.java:19)
    at org.skyway.core.generate.execute.GenerationJob.generate(GenerationJob.java:115)
    at org.skyway.core.generate.execute.GenerationJob$1.run(GenerationJob.java:59)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
    at org.skyway.core.generate.execute.GenerationJob.run(GenerationJob.java:55)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: org.eclipse.core.runtime.OperationCanceledException: Unable to scaffold because no data type inputs were provided. See the error log for more details.
    at com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.getDataTypes(ContextAwareCrudFunctions.java:184)
    at com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.initializeCrud(ContextAwareCrudFunctions.java:55)
    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:497)
    at org.skyway.core.generate.snippet.function.FunctionInvoker.invoke(FunctionInvoker.java:95)
    … 13 more

    #475107 Reply

    support-swapna
    Moderator

    Augustine,

    Sorry that you are seeing this issue.

    Can you please give us some more information to help us investigate further?

    1. Please share the MyEclipse Installation Details from menu MyEclipse > Installation Summary > Installation Details.

    2. Also share with us the Informix DB version and the Create Table schema for the particular database table.

    3. During the Scaffolding, did you select a different value for the ‘MetaData Dialect’ in the ‘Select Database Tables’ section of spring scaffolding wizard instead of the ‘default’ setting? If yes, then can you please go through the scaffolding wizard once again without changing the ‘MetaData Dialect’ from the default and see if the scaffolding runs without any issues?

    Let us know how it works.

    –Swapna
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Spring Scaffold not working for Informix DB

You must be logged in to post in the forum log in