Coder Social home page Coder Social logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
I cannot reproduce it. Could you elaborate on that?

My model:
package slim3.demo.model;

import java.io.Serializable;
import org.slim3.datastore.Attribute;
import org.slim3.datastore.Model;
import com.google.appengine.api.datastore.Key;

@Model(schemaVersion = 1)
public class SomeModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Attribute(primaryKey = true)
    private Key key;

    private Key someOtherKey;

    public Key getKey() {
        return key;
    }

    public void setKey(Key key) {
        this.key = key;
    }

    public Key getSomeOtherKey() {
        return someOtherKey;
    }

    public void setSomeOtherKey(Key someOtherKey) {
        this.someOtherKey = someOtherKey;
    }
}

My test case:
package slim3.demo.model;

import org.junit.Test;
import org.slim3.datastore.Datastore;
import org.slim3.tester.AppEngineTestCase;

public class SomeModelTest extends AppEngineTestCase {

    private SomeModel model = new SomeModel();

    @Test
    public void test() throws Exception {
        Datastore.put(model);
    }
}

Original comment by [email protected] on 6 Apr 2010 at 11:12

from slim3.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
I made a stupid mistake. I mistakenly put a Key into an list and use the list 
in a
Datastore.put(tx, list) call.

Please remove this issue. And I am sorry for wasting your time.

Original comment by [email protected] on 6 Apr 2010 at 12:57

from slim3.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Please tell me before remove this issue. The Slim3 forum is full of junk
advertisement and it seems there are very few people discussing there. If I have
additional questions, should/may I ask question in English in Slim3 Japanese 
forum?
Thanks!

Original comment by [email protected] on 7 Apr 2010 at 12:22

from slim3.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Please feel free to post questions in Slim3 English forum if you have any 
questions.

Original comment by [email protected] on 7 Apr 2010 at 2:02

from slim3.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Thanks! I understand.

Slim3 is a good framework. GJ!

PS: Since I have read the latest message, you can close (or remove) this issue.

Original comment by [email protected] on 7 Apr 2010 at 9:54

from slim3.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024

Original comment by [email protected] on 8 Apr 2010 at 3:38

  • Changed state: WontFix

from slim3.

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.