|
After some investigations I found the reason of that strange
behaviour I used the following code to check if the correct driver was loaded by EOF : EOModel model = EOModelGroup.defaultGroup().modelNamed("MonEOModel");
EODatabaseContext myEODatabaseContext =
EODatabaseContext.registeredDatabaseContextForModel(model, this.contexte);
JDBCContext myJDBCContext = (JDBCContext)myEODatabaseContext.adaptorContext();
//Attention, il est nécessaire de lancer une recherche avec EOF pour créer la connexion
Connection con = myJDBCContext.connection();
try {
DatabaseMetaData meta = con.getMetaData();
System.out.println("============================================================================================" );
System.out.println( "Database Product Name is.....: " + meta.getDatabaseProductName() );
System.out.println( "Database Product Version is...: " );
System.out.println( meta.getDatabaseProductVersion() );
System.out.println( "" );
System.out.println( "JDBC Driver Name is..........: " + meta.getDriverName() );
System.out.println( "JDBC Driver Version is........: " + meta.getDriverVersion() );
System.out.println( "JDBC Driver Major Version is..: " + meta.getDriverMajorVersion() );
System.out.println( "JDBC Driver Minor Version is..: " + meta.getDriverMinorVersion() );
System.out.println("============================================================================================" );
}catch( Exception ex ) {
System.out.println(ex);
}
EOF is loading the good jdbc driver but it seems to fail analysing the resulting data coming from the DbLink (created on Oracle 10g/AIX 64bit database)
Frédéric JECKER a écrit : Moin List --
Direction des systèmes d’information Centre Hospitalier Rouffach F- 68250 ROUFFACH Tél : +33 (0)3 89 78 74 21 Fax : +33 (0)3 89 78 74 35 Courriel : [EMAIL PROTECTED] Web : http://www.ch-rouffach.fr PFaites un geste pour l'environnement - avez vous réellement besoin d'imprimer ce courriel ? PPlease consider the environment - do you really need to print this email ? |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
