• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Urgent->where the table is stored by default of an cmp entity bean

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello guys,
i m new to the ejb and writting the cmp entity bean.
i m using jboss and sql server 2000.I intiallized the standardjaws.xml as follow:

<type-mapping>MS SQLSERVER</type-mapping>
<debug>false</debug>
<default-entity>
<create-table>true</create-table>
<remove-table>false</remove-table>
<tuned-updates>true</tuned-updates>
<read-only>false</read-only>
<time-out>300</time-out>
<row-locking>false</row-locking>
<read-ahead>false</read-ahead>
</default-entity>
<enterprise-beans>
<entity>
<ejb-name>Props</ejb-name>
<remove-table>true</remove-table>
</entity>
</enterprise-beans>
when i deploy the .jar file the jboss console gives the following message:
file:/C:/jboss/jboss3/server/default/deploy/Props.jar
13:32:06,064 INFO [EjbModule] Creating
13:32:06,095 INFO [EjbModule] Deploying Props
13:32:07,564 INFO [JDBCInitCommand] Created table 'Props' successfully.
13:32:07,580 INFO [EjbModule] Created
13:32:07,595 INFO [EjbModule] Starting
13:32:07,627 INFO [EjbModule] Started
13:32:07,627 INFO [MainDeployer] Deployed package: file:/C:/jboss/jboss3/server
/default/deploy/Props.jar
Props.jar is successfully deployed and table created with the name of the "Props".bt the question is, where the table is created. i searched this table bt i didn't get this table in sql server.
Does anyone here be able to provide any suggestion?
thanx in advance
cheers
sachin
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the JBoss forum...
Simon
 
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
Is it possible the table is being created in the default Hypersonic database (DefaultDS)? Take a check to make sure.
Darryl
 
sachin sisodia
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi daaryl
thanx to reply me
as u specify that deafult table is being created in deafult hypersonic database. (i serached that table bt i didn't get that in my PC )bt i want to make my own data base table which is sql server that why i explicitly mentioned it into the jaws.xml.
1.how to check that data is being stored into the databse or nt
2. Can we use access as a data base
3. where we have to mention the diectory name for the data base.
suppose i want to use the table c:\Props.mdb table, then what i have to do, is there any other .XML file where we have to mention all these.
I would be interested if u has a definitive answer.
Thank you very much for your time!
regrads
sachin
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I guess the table which you tried might have been created and stored in Mater database of SQLServer..Try it out..
reply
    Bookmark Topic Watch Topic
  • New Topic