Re: Derby (in-memory) and Hibernate

2011-08-31 Thread Kristian Waagan

On 31.08.11 04:08, Pavel Bortnovskiy wrote:

Are there any issues in using Derby (in-memory only mode) with Hibernate?
Is it fully supported?


Hi Pavel,

I'm not aware of any, but I'm not using Hibernate a lot. Maybe someone 
else has experience with this, or perhaps you could ask on a Hibernate 
forum?


As for the in-memory functionality in Derby, basically the only thing 
that differs from the on-disk functionality is the low level store - 
data is kept in memory instead of being written to disk. Very few 
changes were made to the layers above (but handling of the URL 
subsubprotocol had to be implemented, for instance).



Regards,
--
Kristian



Thank you.
Pavel.



Jefferies archives and monitors outgoing and incoming e-mail. The
contents of this email, including any attachments, are confidential to
the ordinary user of the email address to which it was addressed. If you
are not the addressee of this email you may not copy, forward, disclose
or otherwise use it or any part of it in any form whatsoever. This email
may be produced at the request of regulators or in connection with civil
litigation. Jefferies accepts no liability for any errors or omissions
arising as a result of transmission. Use by other than intended
recipients is prohibited. In the United Kingdom, Jefferies operates as
Jefferies International Limited; registered in England: no. 1978621;
registered office: Vintners Place, 68 Upper Thames Street, London EC4V
3BJ. Jefferies International Limited is authorised and regulated by the
Financial Services Authority.




Re: Derby (in-memory) and Hibernate

2011-08-31 Thread Damian Carey
Hi Pavel,

For what it is worth we use Derby memory-only mode for our unit tests and it
runs fine.

These (so-called) unit tests run plenty of Hibernate functionality including
creating DB  schemas plus CRUD data etc

I do not claim that everything will be perfect - but we have never had any
strange issues and I suspect that there will be no problem.

Cheers,
-Damian


On Wed, Aug 31, 2011 at 4:08 AM, Pavel Bortnovskiy 
pbortnovs...@jefferies.com wrote:

 Are there any issues in using Derby (in-memory only mode) with Hibernate?
 Is it fully supported?

 Thank you.
 Pavel.



 Jefferies archives and monitors outgoing and incoming e-mail. The contents
 of this email, including any attachments, are confidential to the ordinary
 user of the email address to which it was addressed. If you are not the
 addressee of this email you may not copy, forward, disclose or otherwise use
 it or any part of it in any form whatsoever. This email may be produced at
 the request of regulators or in connection with civil litigation. Jefferies
 accepts no liability for any errors or omissions arising as a result of
 transmission. Use by other than intended recipients is prohibited. In the
 United Kingdom, Jefferies operates as Jefferies International Limited;
 registered in England: no. 1978621; registered office: Vintners Place, 68
 Upper Thames Street, London EC4V 3BJ. Jefferies International Limited is
 authorised and regulated by the Financial Services Authority.


Derby (in-memory) and Hibernate

2011-08-30 Thread Pavel Bortnovskiy
Are there any issues in using Derby (in-memory only mode) with Hibernate?
Is it fully supported?

Thank you.
Pavel.




Jefferies archives and monitors outgoing and incoming e-mail. The contents of 
this email, including any attachments, are confidential to the ordinary user of 
the email address to which it was addressed. If you are not the addressee of 
this email you may not copy, forward, disclose or otherwise use it or any part 
of it in any form whatsoever. This email may be produced at the request of 
regulators or in connection with civil litigation. Jefferies accepts no 
liability for any errors or omissions arising as a result of transmission. Use 
by other than intended recipients is prohibited.  In the United Kingdom, 
Jefferies operates as Jefferies International Limited; registered in England: 
no. 1978621; registered office: Vintners Place, 68 Upper Thames Street, London 
EC4V 3BJ.  Jefferies International Limited is authorised and regulated by the 
Financial Services Authority.