Top.Mail.Ru
July 17th, 2003 - Java developers — LiveJournal
? ?

Java developers

July 17th, 2003
Image

12:08 pm - Imagestipe - JDBC in JBoss

In the application I'm writing I need to do some database access (reads and writes) from a session bean. I'm okay with getting a DataSource and accessing the DB, but I'm not clear on how I tell JBoss to create the required table when the application is initially deployed.

Is there some way to specify in the deployment descriptor (or jboss.xml) that a table needs to be created?
Powered by LiveJournal.com
Image