Re: How to shutdown with authentication

2007-06-27 Thread David Van Couvering
You put this into your derby.properties file: derby.connection.requireAuthentication=true You also need to configure what *kind* of authentication to use. The simplest is to use the builtin authentication where users and passwords are stored in derby.properties: derby.authentication.provider=B

Re: How to shutdown with authentication

2007-06-27 Thread Calvin (Yu-Hui) Liu
Hi, Leonard, I'm new to derby so maybe this is a stupid question for you: why do you want to use derby, especially use it as a network service? In another word, what's the use case of you? It's reasonable for me to use it as embedded db. But as long as we have more mature db like mysql, I can'

Re: Views in Derby

2007-06-27 Thread Stanley Bradbury
Dmitri Pissarenko wrote: Hello! I have Table A with following fields: 1) A.Date/time 2) A.Location In table B for each record of table A there is zero, one or more records with following fields: 1) B.name 2) B.type B.type can take on one of exactly four values, say "TYPE1", "TYPE2", "TYPE3",

Re: SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist

2007-06-27 Thread Stanley Bradbury
GEDA wrote: Hi. I am using struts, spring and hibernate with derby. When I am reading the table, all is well but when I'm trying to persist, the following error occurs: SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist Please help me. Is something wrong with the table I created ? Hi -

Re: How to shutdown with authentication

2007-06-27 Thread Martin Zaun
There's been a discussion of this topic on derby-dev. Subject: NetworkServerControl shutdown w/ authentication failing? My summary so far: - 'NetworkServerControl shutdown' (stopNetworkServer) doesn't support authentication yet (warning during datbase shutdown); yet, it shuts down the ser

Views in Derby

2007-06-27 Thread Dmitri Pissarenko
Hello! I have Table A with following fields: 1) A.Date/time 2) A.Location In table B for each record of table A there is zero, one or more records with following fields: 1) B.name 2) B.type B.type can take on one of exactly four values, say "TYPE1", "TYPE2", "TYPE3", "TYPE4". I need to view

Re: Questions about ij> connect

2007-06-27 Thread Lance J. Andersen
John Embretsen wrote: Bryan Pendleton wrote: Once I've created a schema, how do I specify it for the connect ...;create=true command, or how do I set it for subsequent commands while using ij? There is a SET SCHEMA statement you can use: http://db.apache.org/derby/docs/10.2/ref/rrefsqlj322

Re: SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist

2007-06-27 Thread Kurt Huwig
Unfortunately, I am unfamiliar with struts and spring - I am using JBoss Seam. If you are using plain Hibernate, here is where to put it: http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html#tutorial-firstapp-configuration or here http://www.hibernate.org/hib_docs/v3/reference/e

Re: SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist

2007-06-27 Thread GEDA
I am sorry but I am a newbie in using hibernate + struts + spring Can you tell me please where actually do I have to insert the line with the property and in which file ? Should I put it in the datasource bean or th entitymanager bean in the applicationContext.xml ? Kurt Huwig wrote: > > Am Mi

Re: SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist

2007-06-27 Thread Kurt Huwig
Am Mittwoch, 27. Juni 2007 schrieb GEDA: > Hi. I am using struts, spring and hibernate with derby. When I am reading > the table, all is well but when I'm trying to persist, the following error > occurs: > SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist > > Please help me. Is something wro

SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist

2007-06-27 Thread GEDA
Hi. I am using struts, spring and hibernate with derby. When I am reading the table, all is well but when I'm trying to persist, the following error occurs: SEVERE: Table/View 'HIBERNATE_UNIQUE_KEY' does not exist Please help me. Is something wrong with the table I created ? -- View this message