GithubHelp home page GithubHelp logo

olsh / datagrip-poco-generator Goto Github PK

View Code? Open in Web Editor NEW
64.0 8.0 25.0 15 KB

An extension for IntelliJ-based IDEs (DataGrip, Rider, etc.) to generate POCO (C#) classes from a database

License: MIT License

Clojure 37.37% Groovy 62.63%
poco database datagrip-ide csharp code-generation rider intellij datagrip

datagrip-poco-generator's Issues

NUMBER(oracle) -> int(c#)

I tried to add NUMBER(oracle) to typemapping dictionary but it not working. Is there any way for oracle NUMBER types ?

How to install

Hi.

I am new to DataGrip, so forgive me if I am missing something obvious.

I am not sure to understand your instruction on how to install the script. You say:

Copy Generate POCO.groovy file to IDE -> Files -> Scratches and Consoles -> Extensions -> Database Tools and SQL -> schema.

Is that the file path on disk? I can't find folders with those names. I have tried copying the script to
C:\Users\username.DataGrip10\config\extensions\com.intellij\schema

where the Generate POJOs.cli is. After I do this I can see the script in the Scripted Extensions menu of DataGrip. However, when I execute the script I get this exception:

Script execution error
groovy.lang.MissingMethodException: No signature of method: com.intellij.util.containers.JBIterable$13.reduce() is applicable for argument types: (java.util.ArrayList, Script4$_calcFields_closure4) values: [[] ... etc.

I suppose I am doing something wrong. Any hint?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.