Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity bean databases

 
Vipin Mohan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which kind of databases can be mapped to CMP entity beans ? Do they work only with RDBMS ?

Thanks
Vipin
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is container-dependent. The deployer uses the container provider´┐Żs tools to map the persistent fields and relationships defined by the abstract persistence schema to a database or other persistent store. Once this is done, the tool generates the classes and interfaces that enable the container to manage the persistent fields and relationships of the entity bean instances at runtime.

Typically, you might expect a major container provider to support DB2 8.1, Microsoft SQL Server 2000, Oracle 8.1.7, Oracle 9.2.0, PointBase 4.4 and Sybase 12.5.
 
Reid M. Pinchback
Ranch Hand
Posts: 775
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So long as a database has a JDBC driver, a container should be able to support it. Strictly speaking it doesn't even have to be an XA driver, although without XA support you won't be able to have transactions that rollback automatically properly across multiple resource managers.
 
Girija Siva
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The persistence store mapping of (CMP)Entity beans which are container provided can be non RDBMS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic