The Artima Developer Community
Sponsored Link

Java Answers Forum
can cmp entity bean use microsoft access as a database?

1 reply on 1 page. Most recent reply: Feb 19, 2004 6:14 AM by Viswanatha Basavalingappa

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
awais

Posts: 1
Nickname: awais
Registered: Feb, 2004

can cmp entity bean use microsoft access as a database? Posted: Feb 19, 2004 2:31 AM
Reply to this message Reply
Advertisement
can cmp entity bean use microsoft access as a database? or sql server ...whats the method .....?


Viswanatha Basavalingappa

Posts: 84
Nickname: viswagb
Registered: Nov, 2003

Re: can cmp entity bean use microsoft access as a database? Posted: Feb 19, 2004 6:14 AM
Reply to this message Reply
Hi,

YES, You can use....but you need some addtional work....

A CMP bean is an entity bean whose state is synchronized with the database automatically.

In the case of a relational database, for example like oracle, MS SQL, each persistent field will be associated with a column in a table. A bean may map all its fields to one table or, in the case of more sophisticated EJB servers, to several tables.

CMP are not limited to relational database. CMP beans can be mapped to object databases, files, and other data stores including legacy systems. MS Access also...

-Viswa
---------

Flat View: This topic has 1 reply on 1 page
Topic: Why getting ClassCastException? Previous Topic   Next Topic Topic: Parameter error!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use