question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is DBFlow compatible with Lombok?

See original GitHub issue

I was wondering if it’s possible to use Lombok alongside DBFlow. I have my private fields and use @Getter and @Setter annotations but then I get a bunch of errors. This is the Model I have:

@Getter @Setter
@Table(database = AppDatabase.class, allFields = true)
public class Doctor extends BaseModel {
    
   @PrimaryKey
    private int id;

    private int gender;
    private String name;

    @ForeignKey
    private Department department;

}

Sorry it’s not the right place to ask this

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
agrosnercommented, Nov 27, 2016

np. I recommend 4.0.0-beta2 because it is relatively stable and usable. For lower risk I’d go with 3.1.1, and since the upgrade path between these two versions on the surface are not super significant, it might be safer to stick with 3.1.1 until 4.0.0 stable.

0reactions
IonutNegru87commented, Jul 5, 2017

Is there a way to use lombok with DBFlow without relying on Kotlin?

Read more comments on GitHub >

github_iconTop Results From Across the Web

DBFlow Guide | CodePath Android Cliffnotes
DBFlow is one of the few that relies strictly on annotation processing to generate Java code based on the SQLiteOpenHelper framework that avoids...
Read more >
The Java Plugin - Gradle User Manual
The Java plugin adds Java compilation along with testing and bundling capabilities to a project. It serves as the basis for many of...
Read more >
lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks ...
"Not targeting the latest versions of Android; compatibility " +. "modes apply. Consider testing and updating this version. " +. "Consult the android.os....
Read more >
DBFlow packages are missing - gradle - Stack Overflow
All the packages in dbflow-core are available but the ones in dbflow are ... Plate Reducers provided 'org.projectlombok:lombok:1.16.6' apt ...
Read more >
Untitled
... Agencyfaqs storyboard, Mtv fanaah dhara, Dbflow vs greendao, Auwawa cafe, ... Ultra lean gluco support bars, Cancer and taurus sibling compatibility, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found