Re: PersistenceManagerFactory configuration for flat-file database

2009-05-20 Thread Andy Jefferson
 I will look at DataNucleus to see if it supports plain simple flat-file DB.

I dunno what is simple flat file DB, and don't really like the idea of 
inventing our own DB (there must be enough DB's around already :-) ), so if 
we reuse existing ones there are, at least,
* HSQLDB option that David already mentioned,
* ODF (the ISO document format used by OpenOffice/KOffice) which is basically 
XML so is user-editable. 
* XML itself
* JSON - also user-editable

These options are all supported by DataNucleus


-- 
Andy  (DataNucleus - http://www.datanucleus.org)


Re: PersistenceManagerFactory configuration for flat-file database

2009-05-19 Thread Matthew Adams
Hi ozvena,

In order for you to use a flat-file database, you need to find a JDO
vendor that supports one.  First off, what kind of flat-file database
are you using?  I imagine a likely JDO candidate is DataNucleus, the
JDO reference implementation.  If it doesn't support whatever you're
using for a flat-file database, you can write a plug-in to support it.
 I haven't dug deeply, but you might consider DataNucleus over db4o.

HTH,
Matthew

On Tue, May 19, 2009 at 2:34 PM, ozv...@gmail.com ozv...@gmail.com wrote:
 Hello,

 I can't find any information about how to configure
 PersistenceManagerFactory for flat-file database.

 Your help is appreciated!




-- 
mailto:matt...@matthewadams.me
skype:matthewadams12
yahoo:matthewadams
aol:matthewadams12
google-talk:matthewadam...@gmail.com
msn:matt...@matthewadams.me
http://matthewadams.me
http://www.linkedin.com/in/matthewadams


Re: PersistenceManagerFactory configuration for flat-file database

2009-05-19 Thread David Ezzio

Hi Ozvena,

I think you'll find that HSQL also store it data in human readable 
format for some table types.  If that satisfies your needs, then 
DataNucleus will definitely do the job for you as I believe it supports 
HSQL.


Cheers,

David

ozv...@gmail.com wrote:

Hi Matthew,

I am not using any flat-file DB. It is a new application I am developing.
The size of the database can range from few entries to few dozen of entries.
Each entry represents 3 strings. I want flat-file DB as it is user readable
and can be changed/edited by hand if needed.

I will look at DataNucleus to see if it supports plain simple flat-file DB.

Thank you!
Ozvena



On Tue, May 19, 2009 at 5:04 PM, Matthew Adams matt...@matthewadams.mewrote:


Hi ozvena,

In order for you to use a flat-file database, you need to find a JDO
vendor that supports one.  First off, what kind of flat-file database
are you using?  I imagine a likely JDO candidate is DataNucleus, the
JDO reference implementation.  If it doesn't support whatever you're
using for a flat-file database, you can write a plug-in to support it.
 I haven't dug deeply, but you might consider DataNucleus over db4o.

HTH,
Matthew

On Tue, May 19, 2009 at 2:34 PM, ozv...@gmail.com ozv...@gmail.com
wrote:

Hello,

I can't find any information about how to configure
PersistenceManagerFactory for flat-file database.

Your help is appreciated!




--
mailto:matt...@matthewadams.me
skype:matthewadams12
yahoo:matthewadams
aol:matthewadams12
google-talk:matthewadam...@gmail.comgoogle-talk%3amatthewadam...@gmail.com
msn:matt...@matthewadams.me
http://matthewadams.me
http://www.linkedin.com/in/matthewadams