Re: check if DB exists already?

2007-08-10 Thread Teja
Bernt,Kathy Thanks for your replies.. I will do as suggested. Teja wrote: > > If the database doesn't exist, I need to initalize it, create some tables > and stuff... What should I do instead? > > > Daniel John Debrunner-2 wrote: >> >> Teja wrote: >&g

Re: check if DB exists already?

2007-08-10 Thread Teja
Brenty, Kathy Thanks a lot for your time. I will do as suggested. Teja wrote: > > If the database doesn't exist, I need to initalize it, create some tables > and stuff... What should I do instead? > > > Daniel John Debrunner-2 wrote: >> >> Teja wrote:

Re: check if DB exists already?

2007-08-09 Thread Teja
If the database doesn't exist, I need to initalize it, create some tables and stuff... What should I do instead? Daniel John Debrunner-2 wrote: > > Teja wrote: >> How do I check if the database exists already? I know create=true in the >> connection url creates if db doe

Re: check if DB exists already?

2007-08-09 Thread Teja
ory containing a fairly distinctive set of > files. You could use file system operations to see if a directory by that > name exists and then check to see if it has the right files. > > Donald > > -- Original message -- > From: Teja <[EMAIL

check if DB exists already?

2007-08-09 Thread Teja
How do I check if the database exists already? I know create=true in the connection url creates if db doesn't exist and throws a SQLWarning if exists already, but is there a way to know for sure that a database exists already before connecting? -- View this message in context: http://www.nabble.

Re: Embedded or Network Framework?

2007-08-09 Thread Teja
Ah, you nailed it for me.. so the documentation changed the definition of JVM a bit Thanks a lot. John H. Embretsen-3 wrote: > > Teja wrote: >> Thanks Manjula, John and Bryan; Not very clear yet, but in my situation >> of a >> web server( strictly, applicatio

Re: Embedded or Network Framework?

2007-08-09 Thread Teja
y hands, I will then go back to the network server framework... will let you know.. Thanks u all for ur time.. Teja wrote: > > I am new to Derby and unable to figure out which framework suits my > situation: Embedded or NetworkServer framework. > I have a java application (which is a

Re: Embedded or Network Framework?

2007-08-09 Thread Teja
one JVM). Is this the corruption scenario that the above paragraph is talking about? Please clarify.. John H. Embretsen-3 wrote: > > Teja wrote: > >> Can someone confirm this: >> >> In my java app, on startup or so, I 'load' the embedded derby driver, so >

Re: Embedded or Network Framework?

2007-08-09 Thread Teja
tables? Note that at any given time, both the web app and java app will be accessing the same database. In such scenario, can someone confirm that there will be no data corruption and Embedded framework will take care of transactional safety and such? Manjula Kutty wrote: > > Hi Teja, >

Embedded or Network Framework?

2007-08-09 Thread Teja Palla
I am new to Derby and unable to figure out which framework suits my situation: Embedded or NetworkServer framework. I have a java application (which is a media server, sort of like flash media server, but written all in java), for which I wish to use derby as its database. The app will have say