Some of the samples hardcode the database connection info in a class
called ConnectionHelper.java.  Check in WEB-INF/src/...

 

Look at the sample you are running, find the destination names.  Find
these in your config... you probably found connection info for the
SQLAssembler destinations which are entirely coded without Java but if
you are using a Java based sample you'll have to change the Java code
itself.

 

Jeff

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of greenfishinwater
Sent: Tuesday, February 12, 2008 10:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] LCDS - Express, how to change database connection

 

I have just installed LCDS Express version with included JRun, and I
have been looking at the test drive samples.

These samples use the associated hsqldb as the database. I want to
write some test code that uses an Oracle database. Where do I change
the database connection data. I found a database entry in

data-management-config.xml in

c:\lcds\jrun4\servers\default\samples\WEB-INF\flex

I changed this to use Oracle, but the sample still uses hsqldb

Where do I setup different database connections?

Thanks Andrew

 

Reply via email to