Re: Still get primary key error on attachment
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