Code Monkey home page Code Monkey logo

Comments (8)

kpgalligan avatar kpgalligan commented on August 27, 2024

Modify the config file or the table itself? The last paragraph is confusing. If you want to know if changing a model class can auto-update the table, no. Since you earlier focus on changing packages, I don't think you mean modifying the actual table, though.

from ormlite-android.

josephmbeveridge avatar josephmbeveridge commented on August 27, 2024

It is keeping a reference to where it thinks the class should be located and when I move the class it is not being updated. How can I tell it where to look for my model class once it is moved?

from ormlite-android.

degrigorash avatar degrigorash commented on August 27, 2024

@josephmbeveridge Did you resolve this issue? I have exactly the same problem.

from ormlite-android.

josephmbeveridge avatar josephmbeveridge commented on August 27, 2024

No I ended up having to abandon my plans to refactor packages

from ormlite-android.

j256 avatar j256 commented on August 27, 2024

Did you try regenerating the database config file? The config file certainly holds the name of the class in it but if you refactor the class you should just regenerate the config file.

from ormlite-android.

Dosssik avatar Dosssik commented on August 27, 2024

@j256 Thanks for advice!
How exactly i can regenerate this file? I try to find something like config file through project files, but there's nothing like it

UPDATE-------------------------
In our project we use default implementation of ORMLite configuration. So, obviously, there's no such file. Is there's the way to solve this issue? Or ORMLite mean "no package-level refactoring at all"? :-(

from ormlite-android.

josephmbeveridge avatar josephmbeveridge commented on August 27, 2024

@j256 In my original post I asked how one would regenerate the file but I never got an answer.

from ormlite-android.

j256 avatar j256 commented on August 27, 2024

Here's the documentation about how to run and regenerate the database table config file.
http://ormlite.com/docs/table-config

from ormlite-android.

Related Issues (20)

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.