For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > May 2004 > XDOCLET+JOnAS+MySQL and table auto create









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XDOCLET+JOnAS+MySQL and table auto create
Kari Kangas

2004-05-13, 3:31 am

Hi,

I've a following dev env:
JOnNAS 3.3.6
XDOCLET 1.2
MySQL 4.0.14b

Problem, or feature, is than when JOnAS contacts DB
it creates tables for every EJB, even if tables allready
are there. Files are XDOCLET generated.

E.g. I have a table SOME_TABLE and this is also declared
in deployment xml-files. Still when app.server starts
it creates that table during deploy process.
When app.server is up'n running I have two tables in DB

SOME_TABLE
SOMETABLE_

and all actions with that bean goes to SOMETABLE_

How to tell using XDOCLET tags not to create tables.
JBOSS specific tag has this option but what about JOnAS?

--kari
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com