Pavel;

This is expected behavior.  It will create the database if it does not exist, 
otherwise use
existing db.

dk

________________________________________
From: Pavel Bernshtam [[email protected]]
Sent: Thursday, March 24, 2011 9:49 AM
To: [email protected]
Subject: Warning when using Apache Derby

Hi, I have a number of unit tests, which use Apache Derby in memory.
My connection url is: jdbc:derby:memory:srf.derby;create=true

I discovered that each time, when a method marked as @Transactional is
finishing, I receive a Derby warning

12:53:28:5328 [org.hibernate.util.JDBCExceptionReporter] [main] WARN
- SQL Warning: 10000, SQLState: 01J01
12:53:28:5328 [org.hibernate.util.JDBCExceptionReporter] [main] WARN
- Database 'memory:srf.derby' not created, connection made to existing
database instead.

Why is it? What I'm doing wrong?

Thank you

--
Pavel Bernshtam, Software Architect, Cadence Design Systems
+972-54-5583675,[email protected]

NOTICE:  The information contained in this electronic mail transmission is 
intended by Convergys Corporation for the use of the named individual or entity 
to which it is directed and may contain information that is privileged or 
otherwise confidential.  If you have received this electronic mail transmission 
in error, please delete it from your system without copying or forwarding it, 
and notify the sender of the error by reply email or by telephone (collect), so 
that the sender's address records can be corrected.

Reply via email to