Giter Club home page Giter Club logo

Comments (10)

tsuharesu avatar tsuharesu commented on June 23, 2024

I'm having this issue too: #20
Maybe that's the cause? As I said, I'm using Sugar as a library, totally updated :(

from sugar.

satyan avatar satyan commented on June 23, 2024

@tsuharesu can you try out with primitives eg: float grade, int half.
This seems to be an issue in inflating data. https://github.com/satyan/sugar/blob/master/library/src/com/orm/SugarRecord.java#L266

I'll get around to fixing the inflate mechanism later.

from sugar.

tsuharesu avatar tsuharesu commented on June 23, 2024

Hmm, yeah. Changing to primitive types worked. Thanks!

from sugar.

satyan avatar satyan commented on June 23, 2024

@tsuharesu You should be able to use it now with Objects as well.. not just primitives. Do try it out and let me know if that suits your purpose.

from sugar.

thiagolocatelli avatar thiagolocatelli commented on June 23, 2024

This is my class

public class ApplicationAccount extends SugarRecord<ApplicationAccount> {

    private String name;
    private String service;
    private boolean defaultAccount;
    private String currencies;
    private Date created;

I am getting the same error. Removing the date field, works...

from sugar.

satyan avatar satyan commented on June 23, 2024

can you try the latest beta.. It should be fixed there.
https://github.com/satyan/sugar/tree/master/dist

from sugar.

thiagolocatelli avatar thiagolocatelli commented on June 23, 2024

I am trying, but Eclipse complains it is an invalid jar file.

from sugar.

thiagolocatelli avatar thiagolocatelli commented on June 23, 2024

When are you planning to make a new release?

from sugar.

satyan avatar satyan commented on June 23, 2024

@thiagolocatelli If you use it as a library, you'll always have the latest version. Also, there's a build file present along with source. Incase you need to build a jar out of it, you could use Ant build to do that.

As for the release, there isn't a definite plan, but sometime in the april month, we may be releasing 1.3 as a stable release.

from sugar.

behi198 avatar behi198 commented on June 23, 2024

I'm having this problem using version 1.5!

from sugar.

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.