Models not connecting in different projects.
Models not connecting in different projects.
- Subject: Models not connecting in different projects.
- From: Larry Mills-Gahl <email@hidden>
- Date: Fri, 21 Dec 2012 16:33:51 -0500
I am just turning up a new development machine and am moving projects over to the new eclipse (still indigo) and am having difficulty launching projects that have launched perfectly well on the old laptop.
The issue is models not connecting.
To try to track down the problem, I've created a new project, new model and tried to reverse the database into the model as a way of validating the connection dictionary. Everything went beautifully in that case.
I tried to open the model in the offending project and use the reverse engineer connection to connect to the database (with the connection dictionary in the index.eomodeld file not in properties or passed in arguments as I normally do) and I get no connection.
I have differ the index files and the only differences between the model that connects (the new project/new model) and the model that doesn't connect (the old project) is the class names (custom classes versus ERXGenericRecord for the newly reversed model)
I don't understand why the following connection dictionaries don't connect from EOModeler (or from the application)
Connection succeeds:
EOModelVersion = "2.1";
adaptorName = JDBC;
connectionDictionary = {
URL = "jdbc:mysql://SAME_HOST/ImplementationNotebook?capitalizeTypeNames=true&zeroDateTimeBehavior=convertToNull&autoReconnect=true";
driver = "com.mysql.jdbc.Driver";
password = "XXXXXXXXXX";
plugin = MySQL;
username = vaadmin;
};
Connection doesn't succeed:
EOModelVersion = "2.1";
adaptorName = JDBC;
connectionDictionary = {
URL = "jdbc:mysql://SAME_HOST/ImplementationNotebook?capitalizeTypeNames=true&zeroDateTimeBehavior=convertToNull&autoReconnect=true";
driver = "com.mysql.jdbc.Driver";
password = "XXXXXXXXXX";
plugin = MySQL;
username = vaadmin;
};
Debugging says the driver and plugin are loading…
Anybody have any ideas?
This is a brand new environment on a 15" MBP connecting to remote databases (that I can connect to with many mechanisms… except the old projects)
Larry Mills-Gahl
_______________________________________________
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