com.google.cloud.sql.jdbc.internal.Exceptions.driverUrlNotInCorrectFormat ?

120 views
Skip to first unread message

A G

unread,
Jul 11, 2011, 8:15:15 PM7/11/11
to google-a...@googlegroups.com
I am perplexed by this error. According to GAEJ "Will it play nice", an in memory database might work. So I tried H2 and blobdb, set up the driver as the following -

<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">

  <property name="driverClassName" value="org.vnetcon.blobdb.driver.jdbc.BlobDBDriver" />

  <property name="url" value="blobdb|http://localhost:8888/blobdb/ws|username=username|password=password" />

  <property name="username" value="sa" />

  <property name="password" value="" />

</bean>


And the partial error -


WARNING: Could not obtain connection to query metadata

java.sql.SQLException: URL is not in the correct format: blobdb|http://localhost:8888/blobdb/ws|username=username|password=password

at com.google.cloud.sql.jdbc.internal.Exceptions.driverUrlNotInCorrectFormat(Exceptions.java:103)

at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:47)

at com.google.cloud.sql.jdbc.Driver.connect(Driver.java:24)

at java.sql.DriverManager.getConnection(DriverManager.java:582)

at java.sql.DriverManager.getConnection(DriverManager.java:154)

at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173)


Is there anyway to turn this jdbc verification off? Is this the latest changes made in GAE/J SDK 1.5.1? Any reason for checking this?


Thanks.

Reply all
Reply to author
Forward
0 new messages