Bugs item #587605, was opened at 2002-07-28 06: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: Open Resolution: None Priority: 5 Submitted By: Daniel Rubio Araiza (danielrubio) Assigned to: Nobody/Anonymous (nobody) 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: Daniel Rubio Araiza (danielrubio) Date: 2002-07-30 19: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 14: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 08: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: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
