• 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
Help with ERXEOAccessUtilities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with ERXEOAccessUtilities


  • Subject: Help with ERXEOAccessUtilities
  • From: Gino Pacitti <email@hidden>
  • Date: Mon, 14 Nov 2011 23:34:55 +0000

Hi All
Any help with this code:

I am trying to execute this code:

EOEditingContext ec =  new EOEditingContext();

ERXEOAccessUtilities.evaluateSQLWithEntityNamed(ec, "Sitedata", "SELECT 'resourceName','address','place' UNION SELECT resourceName,address,place INTO OUTFILE '/Users/Gino/Desktop/ salesreport.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' FROM Sitedata;");

And I get this exception?

Any help or experience..

Access denied for user 'admin'@'127.0.0.1' (using password: YES)at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2988)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2917)
at com.mysql.jdbc.Statement.execute(Statement.java:529)
at com .webobjects .jdbcadaptor .JDBCChannel ._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:272)
at com .webobjects .jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337)
at com .webobjects .jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296)
at er .extensions .ERXEOAccessUtilities.evaluateSQLWithEntity(ERXEOAccessUtilities.java: 191)
at er .extensions .ERXEOAccessUtilities .evaluateSQLWithEntityNamed(ERXEOAccessUtilities.java:164)
_______________________________________________
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
  • Follow-Ups:
    • Re: Help with ERXEOAccessUtilities
      • From: Henrique Gomes <email@hidden>
    • Re: Help with ERXEOAccessUtilities
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Re: Prototypes don't load from ERPrototypes in Entity Modeler when building with maven
  • Next by Date: Re: Help with ERXEOAccessUtilities
  • Previous by thread: Re: Prototypes don't load from ERPrototypes in Entity Modeler when building with maven
  • Next by thread: Re: Help with ERXEOAccessUtilities
  • Index(es):
    • Date
    • Thread