Re: property files or similar

2001-05-03 Thread Srikanth Bellalacheruvu
a resource. The following code might be useful. /* - */ Properties props = new Properties(); ClassLoader clsLdr = .getClass().getClassLoader(); InputStream instr = clsLdr.getResourceAsStream("com/foo/props.ini"); props.load(instr); /* --

Simple OR Mapping error

2000-09-23 Thread Srikanth Thiagarajan
Hi, I am trying out a simple OR mapping example. I have a customer and an Account EJB. In the Customer EJB I declare the the following public Set accounts; public static final Class accounts_type=Account.class; In my client program I try to add a few accounts to the customer and then try to

O/R mapping

2000-08-11 Thread srikanth . minnam
Hi I guess it should be possible to make CMP Entity bean out of more than one table. I guess i have to make my own orion-ejb-jar.xml. Is somebody out there who has done that? rgds Srikanth

RMI-IIOP

2000-06-05 Thread srikanth . minnam
Hi Do you have any plans to implement RMI-IIOP in orion? rgds minnam

Running Orion on HP-UX 11

2000-06-04 Thread srikanth . minnam
Hi Has anybody tried Orion with HP-UX11! I'm using java version 1.2.1. I Could start orion but when i tried to run examples i get core dump. Any help will be appreciated. rgds minnam

RE: ATM Demo Hypersonic SQL Database not found

2000-05-11 Thread srikanth . minnam
FYI I had same problem for Product client. You have to add CREATE TABLE (.) to the defaultdb.script file The defaultdb.script is read/writes by hypersonicsql. rgds minnam -Original Message- From: EXT Kalvar, Kirk [mailto:[EMAIL PROTECTED]] Sent: 11. May 2000 17:11 To: Orion-Inter

Error running ProductClient

2000-05-11 Thread Srikanth
FYI I thought that ProductClient demo will itself creates the table. It seems it doesn't. So i added a line at the top of file ../database.script as follows CREATE TABLE MYPRODUCT(ID INTEGER PRIMARY KEY,NAME VARCHAR,DESCRIPTION VARCHAR,PRICE DECIMAL) and now the product client demo works. Th

Error running ProductClient

2000-05-08 Thread Srikanth
Hi I git the following error when i tried to run ProductClient and i'm using Hypersonicsql. Error creating cart: Error creating EntityBean: Table not found: MYPRODUCT in statement [select name, description, price from MyProduct where (id = 123)] what could be the cause? rgds minnam