db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael" <mikael-arons...@telia.com>
Subject Re: Embedded Derby
Date Wed, 03 Oct 2007 10:08:47 GMT
Are you specifing user names anywhere ?

If you don't have a user name all tables will be created in the APP schema,
if you specify a user name that name will be used as schema name.

Could this be the problem ?

----- Original Message ----- 
From: "Daniel Noz" <d.noz@gmx.de>
To: <derby-user@db.apache.org>
Sent: Wednesday, October 03, 2007 11:59 AM
Subject: Embedded Derby

> Hello derby-users,
> I develop a richt client application with netbeans using derby-db and 
> toplink as JPA implementation.
> If i use the embedded driver (see <property name="toplink.jdbc.driver" 
> value="org.apache.derby.jdbc.EmbeddedDriver"/>) it works great to 
> persist Entity-Objects.
> However i cant see anything within the database, i am using. I can 
> connect, hower i dont see any created tables or data within...? Is this 
> a feature with the embedded driver?
> I know that my Entity Objects are within the database...if i use the 
> entitymanager to find the persited object..it works great...
> By the way: I dont use the JavaEE lookup. I create the necessary 
> EntityManager instance like this:
> EntityManagerFactory factory = 
> Persistence.createEntityManagerFactory("BBTrainerAppPU");
> EntityManager em = factory.createEntityManager();
> Can anyone help me and tell me if this is a feature or how to find the 
> created table or data within?

View raw message