Hi Spmadhu,

There are a couple of ways to do what you want. A single Datastore entity 
can have a repeated property. It can also have a structured property (a 
property made out of other properties).

So, a single entity could be "form" with a repeated Structured Property 
called "day". That structured property could then contain the values of 
columns 1 through 5, with a value for "day".

So your single "form 1" will have a property "Day", which will contain " 1, 
Value 1,Value 1,Value 1,Value 1,Value 1", then another "Day" in the same 
"form 1", containing "2, Value 2, Value 2, Value 2, Value 2, Value 2", etc.

In JDO specifically, repeated properties are "collections", and structured 
properties are "embedded". You can see more information here [1]

I would personally suggest using Objectify or JPA if you're not bound to 
JDO.

I hope these helps! 

Good luck with the internship :)

[1] https://cloud.google.com/appengine/docs/java/datastore/jdo/dataclasses

On Friday, November 20, 2015 at 6:50:22 AM UTC-5, Spmadhu Priya wrote:
>
> Hi!
>
> I am doing internship in a company.
> I am beginner to java.
> I am developing the timetable project.
> I want to store the below form when i am submitting the form .I know that 
> i can store the single row at a time but i want to store multiple store at 
> a time using JDO.
> Thanks  in advance.
>
> My form design is 
> *Day* *1* *2* *3* *4* *5* 
> Day 1 Value1 Value1 Value1 Value1 Value1 
> Day 2 Value2 Value2 Value2 Value2 Value2 
> Day 3 Value3 Value3 Value3 Value3 Value3 
> Day 4 Value4 Value4 Value4 Value4 Value4 
> Day 5 Value5 Value5 Value5 Value5 Value5 
> Day 6 Value6 Value6 Value6 Value6 Value6 
>
>
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/63a70a96-dff6-4b19-9310-719622acfc01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to