snippet, 'prop' gets initialized in initEmbedded. Can you check if
you are calling initEmbedded or initializing the 'prop' object
elsewhere before you call readEmbedded?
nope. it's a really trivial usecase i try atm and i do notheing else then
calling initEmbedded()before every attempt to access the db.
i tested explicitely as follows:
- start program
- call initEmbedded()
- call createEmbedded()
- call readEmbedded()
- works
- stop programm
- restart programm
- call initEmbedded()
- call readEmbedded()
- error
the only thing possible i could imagine (but not test atm), is a conflict
between
prop.setProperty("derby.user.username", "password");
SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.user.username','password')");
--
Schon vor dem comeback von Modern Talking wusste ich:
Dieter Bohlen ist der Preis der Freiheit!
Heinz Rudolf Kunze