persitence

C# ASMX webservice semi -permanant storage requirement

Hi, I'm writing a mock of a third-party web service to allow us to develop and test our application. I have a requirement to emulate functionality that allows the user to submit data, and then at some point in the future retrieve the results of processing on the service. What I need to do is persist the submitted data somewhere, an...

Best way to save data in iPod Touch/iPhone Objective-C

Hi all, I am writing a very simple application, for the iPhone. Unfortunately I am really a newbie. What I am trying to do is to save data at the end of a user experience. This data is really simple, only string or int, or some array. Later I want to be able to retrieve that data, therefore I also need an event ID (I suppose). Could y...

Cascading persist and existing object

Hello, I am working with JPA and I would like to persist an object (Action) composed of an object (Domain). There is the Action class code: @Entity(name="action") @Table(name="action") public class Action { @Id @GeneratedValue(strategy=GenerationType.IDENTITY) @Column(name="num") private int num; @OneToOne(cascade= { Casca...