Top "Persistence" questions

Persistence in computer programming refers to the capability of saving data outside the application memory.

how to make a composite primary key (java persistence annotation)

How to make it so that the table user_roles defines the two columns (userID, roleID) as a composite primary …

java persistence annotations primary-key many-to-many
Can javascript access a filesystem?

I was pretty sure the answer was NO, and hence google gears, adobe AIR, etc. If I was right, then …

javascript persistence tiddlywiki
A JTA EntityManager cannot use getTransaction()

How do I have the following code in my non-ejb application. The code works. @Override public void saveItems(Collection<…

java persistence ejb-3.0
Creating a composite Unique constraints on multiple columns

This is my model: class User {...} class Book { User author; int number; } Every book number starts at 1 per author and …

java jpa playframework persistence
AnnotationException: A Foreign key refering has the wrong number of column. should be 2

I am mapping my classes with the tables of my database, but when running a test, I get the following …

hibernate jpa orm persistence hibernate-mapping
Internal HSQL database complains about privileges

I'm setting up a standalone Java service with an in-process, in-memory HSQL database. Persistence.xml <persistence xmlns="http://java.…

java database jpa persistence hsqldb
ehcache persist to disk issues

I want to do something with ehcache in Java that I think should be extremely simple, but I've spent enough …

java persistence ehcache ehcache-2
Java Persistence: Cast to something the result of Query.getResultList()?

Hey everyone, I'm new to persistence / hibernate and I need your help. Here's the situation. I have a table that …

java hibernate casting persistence
In javascript, how can I uniquely identify one browser window from another which are under the same cookiedbased sessionId

The users of my web application may have more than one browser window open and pointed to the same page. …

ajax persistence state
Passing empty list as parameter to JPA query throws error

If I pass an empty list into a JPA query, I get an error. For example: List<Municipality> …

java hibernate list jpa persistence