Giter VIP home page Giter VIP logo

simple-sql-provider's People

Contributors

ckurtm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simple-sql-provider's Issues

Gradle Build Failed with app:compileDebugJavaWithJavac

Hi,

I have setup the library with the latest Gradle configuration, but got the following build error as soon as I added the "TestProviderConfig" class as per the instruction:

Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

java.lang.NullPointerException

Clean/rebuild didn't help. I also tried different versions of the plugin/libs (e.g. tried javapoet 1.3) but none worked.

Steps to reproduce:

  1. Setup Gradle configs as per instruction.
  2. Create the new "TestProviderConfig" as per instruction.
  3. Build -> get errors here.

I am using Android Studio 1.4 on Windows platform.

My app gradle is:

apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'

android {
compileSdkVersion 23
buildToolsVersion "23.0.0"

defaultConfig {
    applicationId "projects.nanodegree.henry.popularmovies"
    minSdkVersion 14
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:support-v4:23.0.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.google.code.gson:gson:2.3.1'

compile 'com.squareup:javapoet:1.2.0'
compile 'ckm.simple:simple_sql_provider_annotation:1.0.6'
compile 'ckm.simple:simple_sql_provider_processor:1.0.6'

}

Thanks for the library.

SQL Foreign Keys - References

Does this library support foreign keys? I really like this Content Provider, but without this, it's very limited. If it does, please show me how.

Generated class for table does not use "includePrimary" parameter

Hello,

thanks for great library.

I'm using it for read and write and it works OK, however, when I use getContentValues from generated class for table, function ignores includePrimary parameter which is important, because on write I don't want to include primary key.

Can you please suggest what to do or you have unsolved bug maybe?

Have a nice day.

how can i add a custom join sql to the generated provider

Hello
I have reached a point in my app where i need to populate a list with shows data from 2 tables in a one to many relation. Table Profile contains the fields (profileName, profileId) and the talbe ClubMember contains the fields (clubMemberrId, profileId, clubId). How should I create a loader that shows the profileName for all the clubMembers?

Not able to build a release APK, it says that these files are missing! ?

Warning: ckm.simple.sql_provider.processor.SimpleSQLProviderProcesor: can't find superclass or interface javax.annotation.processing.AbstractProcessor
Warning: com.squareup.javapoet.AnnotationSpec$Visitor: can't find superclass or interface javax.lang.model.util.SimpleAnnotationValueVisitor7
Warning: com.squareup.javapoet.JavaFile$2: can't find superclass or interface javax.tools.SimpleJavaFileObject
Warning: com.squareup.javapoet.TypeName$1: can't find superclass or interface javax.lang.model.util.SimpleTypeVisitor7
Warning: ckm.simple.sql_provider.processor.Helper: can't find referenced class javax.lang.model.element.Element
Warning: ckm.simple.sql_provider.processor.Helper: can't find referenced class javax.lang.model.element.Modifier
Warning: ckm.simple.sql_provider.processor.Helper: can't find referenced class javax.lang.model.type.DeclaredType
Warning: ckm.simple.sql_provider.processor.Helper: can't find referenced class javax.lang.model.type.DeclaredType
..........
..........
............ The list goes on.

How to use UpgradeScript?

Hello.
I started playing with this very nice tool. I'm not able to figure out how to implement a simple UpgradeScript test. I will also be satisfied if I have the option of dropping all my tables and recreate them using the UpgradeScript class.

Thank you in advance.
Bogdan

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.