Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r5961 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/sql

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/ps-java-services] r5961 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/sql


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/ps-java-services] r5961 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/sql
  • Date: Fri, 17 Aug 2012 11:25:56 +0100 (BST)

Author: psnc.pikusa
Date: 2012-08-17 11:25:56 +0100 (Fri, 17 Aug 2012)
New Revision: 5961

Modified:

trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
Log:
config DDL changed to update

Modified:
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
===================================================================
---
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
2012-08-17 10:21:32 UTC (rev 5960)
+++
trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/org/perfsonar/service/measurementArchive/rrdType/storage/sql/MysqlMetadataStorageDAOImpl.java
2012-08-17 10:25:56 UTC (rev 5961)
@@ -31,9 +31,6 @@

public class MysqlMetadataStorageDAOImpl extends Component implements
MetadataStorageDAO{

- //private static final String DB_URI =
"jdbc:mysql://localhost:3306/tests2";
- //private static final String USERNAME = "root";
- //private static final String PASSWORD = "@jawpcss$";

protected EntityManager em;
protected QueryGenerator qg = new QueryGenerator();
@@ -63,7 +60,7 @@
final HibernateConfiguration config = new
HibernateConfiguration();
config.setDbUri(new URI(DB_URI+SCHEMA));
config.setDriver(new Driver());
- config.setDDL("create");
+ config.setDDL("update");
config.addEntity(Interfaces.class);
final Persistence p = new Persistence(config,
USERNAME, PASSWORD);
em = p.newEntityManager();



  • [pS-dev] [GEANT/SA2/ps-java-services] r5961 - trunk/perfsonar-java-rrd-ma-SQL_backend/src/main/java/or g/perfsonar/service/measurementArchive/rrdType/storage/sql, svn-noreply, 08/17/2012

Archive powered by MHonArc 2.6.16.

Top of Page