javaandroidsqliteormlite

How to generate java classes for ORMlite from existing database


I have an existing SQLite database and need to generate classes for ORMlite from this database. I could do this manually but looks like a boring and time consuming task... do you know any tools that could do it for me or at least could help me in this task?

I found a similar question about this on SO but it's a quite old one : how to generate a java class code from a sqlite database for ORMLite


Solution

  • Since I didn't find any tools that suits my needs I just wrote a quick Python script doing the job, you can get it here

    Maybe it doesn't suits all needs but it suits mines so maybe it could be useful to anybody else.