Hsqldb embedded in Easybeans

View: New views
6 Messages — Rating Filter:   Alert me  

Hsqldb embedded in Easybeans

by Freitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a doubt about hsqldb embedded in easybeans.

1) How to configure a xml ou properties file (configuration file) to set the path of  the database files?

2) Is this possible?

or

Should I embedded the hsqldb in another bundle to that I can to configure it?


Regards
Fernando

Re: Hsqldb embedded in Easybeans

by Florent BENOIT-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fernando Freitas wrote:
> I have a doubt about hsqldb embedded in easybeans.
>
> 1) How to configure a xml ou properties file (configuration file) to
> set the path of  the database files?
>
> 2) Is this possible?
It is not possible, it uses by default :
System.getProperty("java.io.tmpdir") + File.separator + "easybeans" +
File.separator + "hsqldb" + File.separator + this.databaseName

You may open an issue in the tracker (http://jira.easybeans.org) so that
the path to the database could be defined through the XML configuration
file.

Regards,

Florent

Re: Re: Hsqldb embedded in Easybeans

by Freitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Florent,
          I will do that!  I will need to configure the database via a configuration file of any way to configure the path where the database will be placed.

1) If someone that work with easybeans in bundles knows a other solution... (can be with another database)! I need that the database placed in specific path.


Thanks one more time Florent

Best Regards
Fernando 


 



2009/3/26 Florent BENOIT <Florent.BENOIT@...>
Fernando Freitas wrote:
I have a doubt about hsqldb embedded in easybeans.

1) How to configure a xml ou properties file (configuration file) to set the path of  the database files?

2) Is this possible?
It is not possible, it uses by default :
System.getProperty("java.io.tmpdir") + File.separator + "easybeans" + File.separator + "hsqldb" + File.separator + this.databaseName

You may open an issue in the tracker (http://jira.easybeans.org) so that the path to the database could be defined through the XML configuration file.

Regards,

Florent


Re: Hsqldb embedded in Easybeans

by ekke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Florent BENOIT schrieb:

> Fernando Freitas wrote:
>> I have a doubt about hsqldb embedded in easybeans.
>>
>> 1) How to configure a xml ou properties file (configuration file) to
>> set the path of  the database files?
>>
>> 2) Is this possible?
> It is not possible, it uses by default :
> System.getProperty("java.io.tmpdir") + File.separator + "easybeans" +
> File.separator + "hsqldb" + File.separator + this.databaseName
>
> You may open an issue in the tracker (http://jira.easybeans.org) so that
> the path to the database could be defined through the XML configuration
> file.
>
> Regards,
>
> Florent
>
+1 this should be configurable
ekke


Re: Re: Hsqldb embedded in Easybeans

by Freitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
this is the link about this!
 
Thanks and best Regards
Fernando Freitas


 
2009/4/14 ekke <ekkehard@...>
Florent BENOIT schrieb:

Fernando Freitas wrote:
I have a doubt about hsqldb embedded in easybeans.

1) How to configure a xml ou properties file (configuration file) to set the path of  the database files?

2) Is this possible?
It is not possible, it uses by default :
System.getProperty("java.io.tmpdir") + File.separator + "easybeans" + File.separator + "hsqldb" + File.separator + this.databaseName

You may open an issue in the tracker (http://jira.easybeans.org) so that the path to the database could be defined through the XML configuration file.

Regards,

Florent

+1 this should be configurable
ekke



Re: Re: Hsqldb embedded in Easybeans

by Freitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
this is the link about it!
 
Best Regards
Fernando


 
2009/4/14 Fernando Freitas <nandows@...>
 
this is the link about this!
 
Thanks and best Regards
Fernando Freitas


 
2009/4/14 ekke <ekkehard@...>

Florent BENOIT schrieb:

Fernando Freitas wrote:
I have a doubt about hsqldb embedded in easybeans.

1) How to configure a xml ou properties file (configuration file) to set the path of  the database files?

2) Is this possible?
It is not possible, it uses by default :
System.getProperty("java.io.tmpdir") + File.separator + "easybeans" + File.separator + "hsqldb" + File.separator + this.databaseName

You may open an issue in the tracker (http://jira.easybeans.org) so that the path to the database could be defined through the XML configuration file.

Regards,

Florent

+1 this should be configurable
ekke