Skip to Content
avatar image
Former Member

Entity Beans

I'm a WEBAS newbie - so pardon my ignorance.

Here's my question: is it possible to configure a

specific database (orcale if you want) as the datastore

used for container managed persistence?

Regards and thanks in advance, Elmar

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 28, 2004 at 06:09 PM

    Hi Elmar,

    CMP Entity Beans O/R mapping is (in an ideal world) independant from the underlying database vendor. This is true as long as you don't run into a situation where you need special database-dependant functions.

    You have to define the data source which will be used for persistence of the EJBs, but the vendor of the DB is not important in the first place.

    Hope that helps.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 01, 2004 at 01:59 AM

    You will want to have a look at this tutorial: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/creating a j2ee-based car rental application.pdf which shows a connection to a specific vendor's database (I wonder which vendor 😉 But you could change that configuration to gain access to another database, as long as you had drivers, access, etc.

    Dale

    Add comment
    10|10000 characters needed characters exceeded