• 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: Still get primary key error on attachment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still get primary key error on attachment


  • Subject: Re: Still get primary key error on attachment
  • From: Ramsey Gurley <email@hidden>
  • Date: Sat, 17 Sep 2011 12:04:50 -0700

On Sep 17, 2011, at 10:09 AM, James Cicenia wrote:

> 	at com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:230)
>

There it is. Your plugin is throwing an error because it is trying to insert null for the URL in your connection dictionary.  You need to set up your connection dictionary in your properties file.  Something like:

# MySQL Connection Dictionary
#dbConnectUserGLOBAL=username
#dbConnectPasswordGLOBAL=password
#dbConnectDriverGLOBAL=com.mysql.jdbc.Driver
#dbConnectURLGLOBAL=jdbc:mysql://localhost/MyDB?capitalizeTypenames=true&zeroDateTimeBehavior=convertToNull&characterEncoding=UTF-8
#dbEOPrototypesEntityGLOBAL=EOJDBCMySQLPrototypes

BTW, you may want to consider installing jadclipse.  EOF is a lot less mystifying when you can see the code throwing an error (^_^)

http://wiki.objectstyle.org/confluence/display/WOL/Useful+Eclipse+Plugins

Ramsey

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

  • Follow-Ups:
    • Re: Still get primary key error on attachment
      • From: James Cicenia <email@hidden>
References: 
 >Still get primary key error on attachment (From: James Cicenia <email@hidden>)
 >Re: Still get primary key error on attachment (From: Pascal Robert <email@hidden>)
 >Re: Still get primary key error on attachment (From: James Cicenia <email@hidden>)
 >Re: Still get primary key error on attachment (From: Pascal Robert <email@hidden>)
 >Re: Still get primary key error on attachment (From: Ramsey Gurley <email@hidden>)
 >Re: Still get primary key error on attachment (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Still get primary key error on attachment
  • Next by Date: Re: Still get primary key error on attachment
  • Previous by thread: Re: Still get primary key error on attachment
  • Next by thread: Re: Still get primary key error on attachment
  • Index(es):
    • Date
    • Thread