persistence
Persistent parameter in Rails controller
is there any way to persist (preserve) parameters in Rails controller? It should be passed to every action, then to every view and every link.[详细]
2023-03-25 02:12 分类:问答Retrieving records from MySQL DB returns Null <Beginner question>
Question 1. I am using Netbeans 6.9.1 glassfish 3.1 . I am trying to retrieve some values from 开发者_开发百科the MySQL DB and save it on a List. My code as follows;[详细]
2023-03-23 20:30 分类:问答What are my storage options when writing Rack middleware for Rails applications?
Assuming my Rack middleware is designed specifically for Rails applications, what storage options d开发者_开发问答o I have? For instance, is there a way for me to read from / write to the Rails cache?[详细]
2023-03-23 20:23 分类:问答Criteria API: query.from returns only null
I\'m pretty new to Criteria API, as a matter of fact I just pushed our latest project to JBoss 6 and JPA 2.0 just for the Criteria API.[详细]
2023-03-23 17:30 分类:问答Merging an object with FetchType.EAGER relation leads to "FailedObject"
I have an entity VM with a relationship to another entity BP. The relationship is eagerly fetched. First I load a VM. After loading the VM is detached, serialized and changed at the client side. Now I[详细]
2023-03-23 11:54 分类:问答Java applet static class
my problem is store some user inputs in applet to reduce user operations. I use static fields for that. But I noticed, that if user goes to several tabs in browser - thr new \"thread\" (or something l[详细]
2023-03-23 10:42 分类:问答error updating parent-child relationship using Hibernate-JPA
My Hibernate-JPA domain model has these entities: AttributeType ------< AttributeValue The relevant Java classes look like this (getters and setters omitted):[详细]
2023-03-23 07:18 分类:问答Application class can be used for store data? (persistent data)
I\'m trying to use Android Application class (MyApplication.java) for store data in some ArrayLists of strings and ints[详细]
2023-03-22 16:27 分类:问答How to change parent of an object in JDO?
I am using JDO and google app engine. I have User class which has an arrayList of area objects. Every area object has an arrayList of Location objects which tells about coordinates. Now i want to move[详细]
2023-03-22 09:56 分类:问答Android model for persisting / loading / deleting objects
I\'ve been making an app on my free time for Android. I was looking your advice on to how store some data objects I have.[详细]
2023-03-22 09:37 分类:问答