• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sun Application server JDBC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sun Application server JDBC


  • Subject: Re: Sun Application server JDBC
  • From: 時期 精霊 <email@hidden>
  • Date: Wed, 16 Nov 2005 17:15:35 +0100

For information, the following code work inside my app:

try {
InitialContext context = new InitialContext();
DataSource ds = (DataSource) context.lookup("java:comp/env/jdbc/ Nadesico");
NSLog.out.appendln("Datasource = " + ds);
}catch (Exception e ){
e.printStackTrace();
}


So:

- Is there a way to tell WO to lookup the good name in the context?
- If not, how can I replace my EO datasource from the model with this one?
- Any of you know how to configure the app server to correct the behaviour? (returning the full java:comp/env/jdbc url instead of the one in web.xml)


Regards

Kuon

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Sun Application server JDBC (From: 時期 精霊 <email@hidden>)
 >Re: Sun Application server JDBC (From: Owen McKerrow <email@hidden>)
 >Re: Sun Application server JDBC (From: 時期 精霊 <email@hidden>)
 >Re: Sun Application server JDBC (From: 時期 精霊 <email@hidden>)

  • Prev by Date: Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
  • Next by Date: Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug
  • Previous by thread: Re: Sun Application server JDBC
  • Next by thread: 1.5r3
  • Index(es):
    • Date
    • Thread