[appengine-java] filereading error

2010-02-17 Thread cscsaba
) Thanks ahead. cscsaba -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-jav

[appengine-java] Re: filereading error

2010-02-17 Thread cscsaba
is "**/*.csv" > > 2010/2/17 cscsaba > > > Hello, > > > What is the right way to reading files on GAE > > I made this preparation below in appengine-web.xml > > ... > > > >             > >   > > ... > > > but I got th

[appengine-java] Re: filereading error

2010-02-18 Thread cscsaba
Hello Stephan, The leading slash was the problem. Thanks for your help really. cscsaba On Feb 17, 8:32 pm, Stephan Hartmann wrote: > How do you access your file? > I use > > ServletContext.getResourceAsStream("/csv/countries.csv"); > > If you use java.io.File,

[appengine-java] generating sequence for persistence classes like Country and so on ...

2010-07-05 Thread cscsaba
locationSize=25) @GeneratedValue(strategy=SEQUENCE, generator="CUST_SEQ") But the SEQUENCE strategy is invalid (underlined by Eclipse) Is there any real world GAE - JPA example with drop downs anywhere ? What is the paved way to persisting classes with sequential ids ? Thanks in advance. cscsaba (S

[appengine-java] Re: generating sequence for persistence classes like Country and so on ...

2010-07-10 Thread cscsaba
Why not just load these from a flatfile and load it into local memory? The > number of countries in the world is something that changes very > infrequently. > > > > On Mon, Jul 5, 2010 at 12:28 PM, cscsaba wrote: > > Hello, > > > What is the best practice to gener

[appengine-java] Re: generating sequence for persistence classes like Country and so on ...

2010-07-10 Thread cscsaba
wrote: > > > Why not just load these from a flatfile and load it into local memory? The > > number of countries in the world is something that changes very > > infrequently. > > > On Mon, Jul 5, 2010 at 12:28 PM, cscsaba wrote: > > > Hello, > > > > What i

[appengine-java] Re: generating sequence for persistence classes like Country and so on ...

2010-07-11 Thread cscsaba
nd value > (again these entries are used for drop down) and i read the values using > xPath api's.  Given that the country list is static as said before, i guess > it should be work fine. > > Thanks > Hari > > 2010/7/10 cscsaba > > > Hello, > > > I dont kno

[appengine-java] How to assing an enitity to two different enitites ?

2010-07-13 Thread cscsaba
ct. What is the real solution on this issue ? Thanks in advance. cscsaba *PS:Implementation of the entities* ... CUser @Entity public class CUser { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name="USER_ID") priva