Are you using CMP or BMP with your entity bean? It sounds like BMP and you are accidentally closing the connetion somewhere you are not supposed to inside the bean. What kind of database are you connecting to (i.e. MySQL, SQL Server, Oracle,etc...)
I need a little more info here before I can try to help. :-) Later... Greg -----Original Message----- From: Ofur-Bjarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 12:35 AM To: Orion-Interest Subject: arrg please help I have an existing database and I am trying to make an entity bean that retrieves data from one of it's tables. I have set the autocreate-table to false, and everything deploys nicely, but when I try to list the contents of the table (using findAll()) then I get this error: com.evermind.server.rmi.OrionRemoteException: Database error: Closed Statement: next; nested exception is: java.sql.SQLException: Closed Statement: next And I have no idea what to do. I know that the datasource works, because I have used it for other purposes. Thanks, Bjarni