Unsuscribe

2001-03-14 Thread fresnaULL
Unsuscribe

EJB 2.0 again, again, please.

2001-03-06 Thread fresnaULL
Hi, I have the following entity beans which have a 1-1 relationship: person(id(integer), name(varchar)) job(id(integer), name(varchar)) This is part of my ejb-jar.xml:

Again EJB 2.0

2001-03-05 Thread fresnaULL
Hi, I have the following entity beans: person(id(integer), name(varchar)) job(id(integer), name(varchar)) So, this is my ejb-jar.xml: enterprise-beansentitydescriptionPerson EJB CMP

EJBQL

2001-03-02 Thread fresnaULL
Does Orion provide support for EJBQL? Which Orion version? Is Orion full EJB 2.0 compliant? Thanks in advance

RE: Problem with a finder QUERY.

2001-02-14 Thread fresnaULL
thod using findByName("%john%"); stop and start the server. this should do it. -Original Message- From: fresnaULL [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001 8:43 AM To: Orion-Interest Subject: Problem with a finder QUERY. Hi all, Basically, thi

Problems with a finder method in a cmp

2001-02-09 Thread fresnaULL
Hi all, I'm trying to define this finder method in a cmp: SELECT * FROM people WHERE people.name LIKE '%name%' which is correct in SQL SERVER 7.0 I put the following in the people home interface: String findByName_query = "people.name like '%$1%'"; . . . public java.util.Enumeration

Problems with an identity (autoincrement) field.

2000-11-29 Thread fresnaULL
Hi, I've made an entity cmp which map a database table which has an identitiy (autoincrement) field as primary key. When I do a home.create(primary_key) I get the following error: [Microsoft][ODBC SQL Server Driver][SQL Server] Cannot insert explicit value for identity column in table when

Data type to access a datetime field in database

2000-11-27 Thread fresnaULL
Hi, I'm trying to access a datatime field in a SQL-SERVER 7.0 with a EJB CMP but I don't know which java type I have to use in the bean to map this field. I've tried with a java.util.Date type but I get the following error: javax.ejb.EJBException: Error saving state: [Microsoft] [ODBC SQL

RE: Problems with the Orion primer example

2000-11-24 Thread fresnaULL
Hi, I've resolved my problems with the Orion primer example. I had to create a $(ORION_HOME)/database directory and everything seems to work fine! For the people who wants to try CMP, I've attached the Orion CMP primer example. Don't forget to create the $(ORION_HOME)/database directory!!

Problems with the Orion CMP primer example.

2000-11-22 Thread fresnaULL
Hi, I'm trying to deploy the Orion CMP primer example. I've follow the instructions but I've got the following error: Auto-deploying addressbook (New server version detected)... Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL error: File input/output error:

Problems with the Orion CMP primer example.

2000-11-22 Thread fresnaULL
Hi, I'm trying to deploy the Orion CMP primer example. I've follow the instructions but I've got the following error: Auto-deploying addressbook (New server version detected)... Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL error: File input/output error:

Problems with EJB.

2000-10-27 Thread fresnaULL
Hi all, I think I've deployed correctly a EJB, because I'm able to use from a java application. I've deployed the ejb like the cart ejb example. My problem is that when I try to use it from a servlet the context.lookup doesn't find the EJB and generate an exception. Please I need help!!!

First approach to ORION EJB.

2000-10-26 Thread fresnaULL
Hi all, I am trying to deploy my first Orion EJB but I'm really confused. Theses are the step I have done so far: - I've created the home and remote interfaces and the bean itself. I've copied them into a directory called d:\src and I've compiled them. - I've created the application.xml