[JBoss-user] Entity delete from session Bean

2002-08-26 Thread Tejeshwar
Hi I am trying to delete an entity Bean from a session bean by calling getting the Entity Bean reference as shown. First getting the remote reference by remoteRef = findByPrimaryKey(Pk pk); And then i am calling the remove method as remoteRef.remove(); But for this when i am calling

[JBoss-user] Local interfaces in JBOSS

2002-07-12 Thread Tejeshwar
Hi I want to know how to implement an local interface in Entities. what are all the changes i have to make in home,remote interfaces and the bean.Pls if anybody knows,kindly reply back me with the solution. Thanks in advance with regards Tejesh Tejesh

[JBoss-user] local interface in Jboss2.4.4

2002-07-12 Thread Tejeshwar
Hi I want to know how to implement an local interface in Entities. what are all the changes i have to make in home,remote interfaces and the bean.I am using JBoss2.4.4.Pls if anybody knows,kindly reply back me with the solution. Thanks in advance with regards Tejesh

[JBoss-user] Local Home interface Reference

2002-07-12 Thread Tejeshwar
Hi I want to know how to access Local Home interface Reference means how to write a client to access local home and local remote interfaces of an entity Bean. Thanks in advance with regards Tejesh

[JBoss-user] Configuring Database name in Jboss-2.4.4

2002-06-27 Thread Tejeshwar
Hi I had configured MS Sql Server 2000 for my Jboss-2.4.4 , while creating tables through CMP Bean it is creating in default database i,e master.I have to specify other database name in jboss.jcml, how can i specify. I am using type 4 driver of microsoft Jdbc Driver. Pls let me know how

[JBoss-user] problem in finder methods

2002-06-26 Thread Tejeshwar
Hi I am getting an error in finder methods in CMP Bean. I am using the driver sun.jdbc.odbc.JdbcOdbcDriver and MS SQLSERVER2000. The error is TRANSACTION ROLLED BACK Exception Load failed Exception. But the same error i am not getting for MYSQL Database and mysql Driver for the finder

[JBoss-user] sun JDBC Driver doesn't support finder methods.

2002-06-26 Thread Tejeshwar
Hi I am using sun.jdbc.odbc.JdbcOdbcDriver for MS SQL Server 200 on JBOSS2.4.4. I want to know one thing, The Sun JDBC Driver doesn't support finder methods of CMP Bean. bcos it gives error as Load Failes, invalid descriptor index and Transaction Rolledback exception for the above reasons.

[JBoss-user] How to specify database name in jboss.jcml file

2002-06-26 Thread Tejeshwar
Hi I had configured MS SQLServer 2000 as the SQlServerpool in jboss.jcml file. I am using jboss-2.4.4 and the driver is microsoft sql server driver. How can sepecify a specific database name in jboss.jcml file. pls can anyone help me. Thanks in advance. with regards Tejesh Tejesh

[JBoss-user] How to refresh the Data in CMP Bean

2002-06-25 Thread Tejeshwar
Hi I have a problem of refreshing the data in CMP Bean. Firstly i am creating a new record through Home Interface create method by passing only the primary key id and all other fields are empty. Then after it creates a record manually i am updating the data in database and trying that

[JBoss-user] Default values in Database.

2002-06-25 Thread Tejeshwar
Hi How can i specify the default values to be inserted to database, if novalue comes for a specific field through cmp bean.I have to make any configuration in standardjaws.xml?. pls reply back me with regards Tejesh Tejesh

[JBoss-user] where condition SQL.

2002-06-18 Thread Tejeshwar
Hi How can we achieve an where condition in SQL in container managed persistance Bean. Thanks and regards Tejesh

[JBoss-user] Transaction Error

2002-06-12 Thread Tejeshwar
Hi I am running JBOSS on windows 2000 with MS SQL Server as Database, when i tried to insert 1 records through CMP Bean(sample Example) it's inserting, but when i tried to search are delete the records by calling the methods written in Bean. It;s giving the folllowing Error when i

[JBoss-user] Transaction Error

2002-06-10 Thread Tejeshwar
Hi I am running JBOSS on windows 2000 with MS SQL Server as Database, when i tried to insert 1 records through CMP Bean(sample Example) it's inserting, but when i tried to search are delete the records by calling the methods written in Bean. It;s giving the folllowing Error when i

[JBoss-user] performance on linux/windows

2002-06-07 Thread Tejeshwar
Hi.. I want to know one thing. My question, JBoss on windows/linux, which gives better performance? whether windows or linux. Pls reply back as early as possible. Thanking you with regards Tejesh