persist « Database « Java Database Q&A





1. Easy way to store and retrieve objects in Java without using a relational DB?    stackoverflow.com

Do you know of an "easy" way to store and retrieve objects in Java without using a relational DB / ORM like Hibernate? [Note that I am not considering serialization as-is for ...

2. Database framework developing    stackoverflow.com

I'm developing (another) java web framework for personal use, and in addition to that I also want to develop somekind of persistence framework. I have already developed and engine that in order ...

3. Java persistence in database    stackoverflow.com

What is the simplest way to use database persistence in Java? I know, many frameworks exists around the Internet, but it could be fun to learn how to develop a ...

4. Best practices for using and persisting enums    stackoverflow.com

I've seen several questions/discussions here about the best way to handle and persist enum-like values (e.g. Persisting data suited for enums , How to persist an enum using NHibernate ...

5. How to deserialize an object persisted in a db now when the object has different serialVersionUID    stackoverflow.com

My client has an oracle data base and an object was persisted as a blob field via objOutStream.writeObject, the object now has a different serialVersionUID (even though the object has no ...

6. Why would you "store instances of the class in the database as entities"?    stackoverflow.com

I'm trying to understand a line from the Google Datastore API which says:

JDO uses annotations on Java classes to describe how instances of the class ...

7. Some kind of Data persistency    stackoverflow.com

Basically what I need to know is this: I have to show a drop down list of countries to my users each country also has a code associated to it. I ...

8. Persisting graph data (Java)    stackoverflow.com

I have an application which utilizes graph (tree-like) custom structures. The structures are not real trees, but pretty much everything is connected together. The quantity of the data is also big ...

9. Persistence strategy for low latency reads and writes    stackoverflow.com

I am building an application that includes a feature to bulk tag millions of records, more or less interactively. The user interaction is very similar to Gmail where users can ...





10. Java embedded database persistence    stackoverflow.com

When using embedded java databases, can someone explain how the database persists data across sessions? Does it create a local file on the PC that is reloaded when the app connects ...

11. JDO - List of Strings not being retrieved from database    stackoverflow.com

On my User class I have a field that is a list of strings:

@Persistent
private List<String> openIds;
When I create a new user I do this:
User user = new User();
user.openIds.add(openid);
pm.makePersistent(user);
When I break after ...

12. Creating database desktop application with data manipulation in Netbeans using Java Persistence    stackoverflow.com

It's my first time to use Persistence in developing a Java program because I usually connect via JDBC. I read that for large amounts of data, it is best to use ...

13. Is JMS the answer to the need for a persistent blocking queue?    stackoverflow.com

I'm creating a library that consists of a Log4J appender that asynchronously sends events to a remote server. When a log statement is made, the appender will asynchronously record the ...

14. java.lang.IllegalStateException while accessing database    stackoverflow.com

I am using eclipselink for persistence and running the application on tomcat 6.0.29. While starting the server no problem. When it tries to access the database for the first time it ...

15. how to write a fallback mechanism that saves entities that werent successfuly saved the first time    stackoverflow.com

I am trying to write a mechanism that will manage my save to DB operation . I send the server a list of objects, it iterates them and saves each one. ...

16. Disk storage in a jee application    stackoverflow.com

I have JavaEE app in which I want to small little amount of data to disk, eg just user/passwords. I dont want to go through the hassle of integrating with a full ...





17. Fallback database(s) for a Java application    stackoverflow.com

One of our Java project needs a redundant data store system which is highly reliable in such way that if one of the database engines fail the application can still read ...

18. Simple pojo persistence without database    stackoverflow.com

I have a very simple web project, which need to just persistence some "users", each one just have a few fields("username", "password"). Now I persistent them into a database, but I think ...

19. Store process object in database    stackoverflow.com

I am doing

Process p = null;
        if(CheckOS.isWindows())
            p = rt.exec(filebase+port+"/hlds.exe +maxplayers "+players+ " ...

20. can i use LDAP servers like ApacheDS as a persistence solution for desktop applications?    stackoverflow.com

a fella recommended me to use ApacheDS as a replacement for my database (MySQL) you can find the discussion here i am completely new to LDAP and ApacheDS (actually i had ...

21. Serialization vs Embedded Database for simple standalone application    stackoverflow.com

Say, I have a pretty simple Java application that needs the way to store some user settings. XML is not a really good solution, since I want to store them in ...

22. JEE, creating entity object with one to one association    stackoverflow.com

I have two entitys, A and B. A has a one to one relationship of B.

    class A {
        String ...

23. set up database directory    stackoverflow.com

I am working on a Java Desktop program which upon its installation will designate a default database directory and working directory. Where should I save such information so that the next ...

24. name of a concept with data persistence    stackoverflow.com

I am looking a name of a concept, where you can configure any type of persistence methods like RDBMS, XML Databases, RESTful APIs or a formatted file like CSV file to a ...

25. Do nodes in a jboss cluster have their own db for persistent store?    stackoverflow.com

Do entity beans in a cluster of nodes share the same data store? Or can each node have its own database configured, and the ejb layer takes care ...

26. Persisting a serialized object to a database    coderanch.com

Could some one give me some advice here on the best way to appraoch this problem. I have a database with a one to many relationship, the many in this case is lets say 1000 single rows of reference data. Now my question is, how to achieve performance rather than searching all these rows is it better to store the data ...

28. Application persistence across database shutdown/startup    coderanch.com

Hi, I have an application and I am using a customized framework, which is similar to Struts + Hibernate. The problem I am facing is that, suppose an user is using the application and if the database shuts down, the user gets an error page saying "Runtime Error"(This page is already configured by my application ). Now I don't want the ...

29. Java framework/toolkit for POJO, database persistence and XML    forums.oracle.com

Hi all, I've been wondering if there's a toolkit or framework for developing Java program (could be standalone Java program, EJBs etc.) I surfed around casually and found some but there isn't any detailed description of what and how each framework/toolkit does. So I hope to ask around if you've anything that you have used before and would like to point ...