[Building Sakai] Interesting Snippet in Shindig Source Code
csev
csev at umich.edu
Sun Aug 29 07:19:03 PDT 2010
I was reading through the Apache Shindig sample implementations recently:
http://svn.apache.org/repos/asf/shindig/trunk/java/samples/src/test/java/org/apache/shindig/social/opensocial/jpa/test/SchemaHibernateTest.java
And came across this little code snippet:
@BeforeClass
public static void config() {
Bootstrap b = new Bootstrap("com.mysql.jdbc.Driver", "jdbc:mysql:localhost/opensocial", "opensocial", "opensocial", "1", "1");
// Bootstrap b = new
// Bootstrap("com.mysql.jdbc.Driver",
// "jdbc:mysql://localhost/sakaikernel?useUnicode=true&characterEncoding=UTF-8",
// "sakaikernel","sakaikernel","1","1");
entityManager = b.getEntityManager("hibernate");
}
Interesting to find a Sakai reference in an Apache Shindig source file. Running "svn blame" on the source code shows it was checked in by the mysterious Shindig committer known as "ieb" :)
/Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100829/2d0959ff/attachment.html
More information about the sakai-dev
mailing list