Bugs item #587605, was opened at 2002-07-28 01:27
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=587605&group_id=22866

Category: JBossCMP
Group: v3.1
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Daniel Rubio Araiza (danielrubio)
Assigned to: Dain Sundstrom (dsundstrom)
Summary: Table Name GLITCH on JBoss 3.0/3.1

Initial Comment:
I am deploying a CMP EJB, however when its deployed the
created table takes the name of the EJB and NOT the one
defined in the <table-name> element of the Deployment
Descriptor. 

The EJB is fully functional, there are no problems with
transaction or methods, it just names the TABLE JUST
LIKE THE EJB. 

I am using the Hypersonic Database on Linux RedHat 7.2
and JDK 1.3 

NOTE: 
This bug appears on JBoss 3.1 RC1, 3.0 
BUT NOT on JBoss3.0 ALPHA. 



----------------------------------------------------------------------

>Comment By: Dain Sundstrom (dsundstrom)
Date: 2002-09-02 13:41

Message:
Logged In: YES 
user_id=251431

Your jbosscmp-jdbc.xml file is way out of date and this
ejb-jar will not deploy in any current verison of jboss. 
Please, read the CMP 2 chapeter in the JBoss Quick Start
guide and fix all deployment errors.  If after this the
problem still exists, please open a new bug report.

----------------------------------------------------------------------

Comment By: Daniel Rubio Araiza (danielrubio)
Date: 2002-07-30 14:57

Message:
Logged In: YES 
user_id=585484

I downloadad JBoss for the CVS tree, but the error still
seems to be present. 
When I deploy the CMP EJB it creates a table by the same
name as the EJB not the <table-name> field. 
Find attached the EJB.....

----------------------------------------------------------------------

Comment By: Daniel Rubio Araiza (danielrubio)
Date: 2002-07-30 14:53

Message:
Logged In: YES 
user_id=585484

I dowloadad JBoss for CVS and compiled it,  but the bug
seems to be still present.
When I deploy the EJB it creates the table with the same
name as the EJB. 
I have attached the EJB to the post. 
 

----------------------------------------------------------------------

Comment By: Daniel Rubio Araiza (danielrubio)
Date: 2002-07-30 14:52

Message:
Logged In: YES 
user_id=585484

I dowloadad JBoss for CVS and compiled it,  but the bug
seems to be still present.
When I deploy the EJB it creates the table with the same
name as the EJB. 
I have attached the EJB to the post. 
 

----------------------------------------------------------------------

Comment By: Luke Taylor (luke_t)
Date: 2002-07-28 09:31

Message:
Logged In: YES 
user_id=369802

This looks like a duplicate of bug 577512. 

I don't know if Dain has fixed the problem in the 3.0
codebase, but I certainly can't reproduce it with a checkout
of the current 3.1 code. Dropping the read-ahead tag to make
it deploy, it creates the table as expected. Here's the line
from the HSQL script:

CREATE TABLE CUENTAS_AUTOMATICAS (ID VARCHAR(256) NOT NULL,
......

Have you tried with the latest code?

And please don't USE capitalized words EVERYWHERE, it makes
your posts sound very pushy.


----------------------------------------------------------------------

Comment By: Daniel Rubio Araiza (danielrubio)
Date: 2002-07-28 03:30

Message:
Logged In: YES 
user_id=585484

More details...
When I intially tried to run the EJB on Jboss 3.1, it
indicated a Deployement Exception: "Expected one Strategy
Tag", it seems the <read-ahead> tag NOW requires a
<strategy> nested element, I mean NOW, because I bought the
CMP Tutorial when it first came out, and it did not mention
this TAG...in any event, I added this TAG (<strategy> as the
new DTD indicates....

However I am now realizing that when I deploy this SAME EJB
on JBoss3.0ALPHA, it ALSO names the TABLE the same as the
EJB .....

I have attached MY ORIGINAL EJB, the following ocurrs: 
When deployed on JBoss 3.0ALPHA : Everything OK.
When deployed on JBoss 3.1RC and JBoss 3.0 : It asks for a
<strategy> tag to be nested in <read-ahead>, if you add it
..it runs, EXCEPT it NAMES your TABLE the same as your EJB!.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=587605&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to