[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Oct 11 01:54:51 UTC 2006


kawas
Tue Oct 10 21:54:51 EDT 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types
In directory dev.open-bio.org:/tmp/cvs-serv25229/Java/src/main/org/biomoby/registry/definitions/types

Modified Files:
	JServicesSqlImpl.java JObjectsSqlImpl.java 
	JNamespacesSqlImpl.java 
Log Message:

moby-live/Java/src/main/org/biomoby/registry/definitions/types JServicesSqlImpl.java,1.4,1.5 JObjectsSqlImpl.java,1.3,1.4 JNamespacesSqlImpl.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServicesSqlImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServicesSqlImpl.java	2006/07/19 23:13:48	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JServicesSqlImpl.java	2006/10/11 01:54:51	1.5
@@ -20,6 +20,7 @@
  *         <p>
  *         email me at edward.kawas at gmail.com
  */
+ at SuppressWarnings("unchecked")
 public final class JServicesSqlImpl implements JServiceI {
 	private static final String sql = "SELECT ot1.service_type, rt.relationship_type, ot2.service_type, ot1.description "
 			+ "FROM service as ot1, service_term2term as rt, service as ot2 "
@@ -53,12 +54,6 @@
 			String username = (String) map.get("username");// "moby_external";
 			String password = (String) map.get("password");// "";
 
-			/*
-			 * String serverName = "mobycentral.icapture.ubc.ca:3306"; String
-			 * mydatabase = "mobyservice"; String url = "jdbc:mysql://" +
-			 * serverName + "/" + mydatabase; String username = "moby_external";
-			 * String password = "";
-			 */
 			this.connection = DriverManager.getConnection(url, username, password);
 		} catch (ClassNotFoundException e) {
 			throw new MobyException(

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjectsSqlImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjectsSqlImpl.java	2006/03/23 15:16:56	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjectsSqlImpl.java	2006/10/11 01:54:51	1.4
@@ -20,6 +20,7 @@
  *         <p>
  *         email me at edward.kawas at gmail.com
  */
+ at SuppressWarnings("unchecked")
 public final class JObjectsSqlImpl implements JObjectsI {
 	private static final String sql = "SELECT ot1.object_type, rt.relationship_type, ot2.object_type, rt.object2_articlename, ot1.description "
 			+ "FROM object as ot1, object_term2term as rt, object as ot2 "
@@ -51,21 +52,11 @@
 			Map map = MobyCentralConfig.getMobyObject();
 			// Create a connection to the database
 			String serverName = map.get("url") + ":" + map.get("port");// localhost:3306";
-			// //TODO
-			// - make
-			// this a
-			// property
 			String mydatabase = (String) map.get("dbname");// "mobyobject";
 			String url = "jdbc:mysql://" + serverName + "/" + mydatabase;
 			String username = (String) map.get("username");// "moby_external";
 			String password = (String) map.get("password");// "";
 
-			/*
-			 * String serverName = "mobycentral.icapture.ubc.ca:3306"; String
-			 * mydatabase = "mobyobject"; String url = "jdbc:mysql://" +
-			 * serverName + "/" + mydatabase; String username = "moby_external";
-			 * String password = "";
-			 */
 			this.connection = DriverManager.getConnection(url, username, password);
 		} catch (ClassNotFoundException e) {
 			throw new MobyException(

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespacesSqlImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespacesSqlImpl.java	2006/03/15 16:22:37	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JNamespacesSqlImpl.java	2006/10/11 01:54:51	1.5
@@ -20,6 +20,7 @@
  *         <p>
  *         email me at edward.kawas at gmail.com
  */
+ at SuppressWarnings("unchecked")
 public final class JNamespacesSqlImpl implements JNamespaceI {
 	private static final String sql = "SELECT namespace_type, description FROM namespace ORDER BY namespace_type asc";
 




More information about the MOBY-guts mailing list