• 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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!