Giter Club home page Giter Club logo

datanucleus-eclipse-plugin's People

Contributors

andi-huber avatar andyjefferson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

datanucleus-eclipse-plugin's Issues

Refresh Eclipse Project Resources after EnhancerJob has run

Using eclipse, when doing changes to a project, Datanucleus (with auto-enhance enabled) triggers a class file enhancement job. After the job finishes, eclipse seems to have no clue, that some classes have changed.

For reference, I'm having the following use-case:

With Apache Isis' simple-app [1] example artifact, a web-app is split into 3 or more modules (eclipse projects). Datanucleus support is activated for the 'domain-object' project and the 'web' project is responsible for packaging the application for web deployment, while dependent on the 'domain-object' project. The web-project is configured in eclipse for 'local auto-deployment'.

Now when changing source-code in the 'domain-object' project, I do get 'file resource out of sync' messages originating from eclipse.

[1] https://isis.apache.org/guides/ugfun/ugfun.html#_ugfun_getting-started_simpleapp-archetype

Persistence Unit Name for SchemaTool

I did not find a way to supply my Persistence Unit Name to the Schema Tool Job. The entered String is somehow ignored.
Basically i try to achieve the following command:

java -cp %CLASSPATH% org.datanucleus.store.schema.SchemaTool -v -create -pu TEST

The schema is created properly when i run this command on command line (the classpath is omitted here to be shorter). But the schema is created without honoring my package-h2.orm File when run via plugin. It seems it is not properly handling the Persistence Unit String and instead expects me to fill everything as arguments. If i dont, it complains about "There is no available StoreManager of type """. However, i was able to successfully use the plugin for schema creation by suppying all the connection properties and by adding "javax.jdo.option.Mapping" as an additional VM args in the options. It would be nicer if it would read my persistence.xml, because all the values are there already.

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.