[DONE] DBeaver connect database Failure

Note: please leave bug reports and feature requests on

[DONE] DBeaver connect database Failure

Postby kasir2008 » Sun Aug 26, 2012 1:21 am

DBeaver connect database Failure when databasename like 'love.cn'
kasir2008
 
Posts: 3
Joined: Sun Aug 26, 2012 1:18 am

Re: DBeaver connect database Failure

Postby Serge » Tue Aug 28, 2012 8:05 am

Could you provide some more details?

What database server do you use, what driver, what OS and what exactly error do you have? Probably there is something in error log (you can see it from main menu "Window").

Thanks.
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: DBeaver connect database Failure

Postby kasir2008 » Wed Aug 29, 2012 12:50 am

DBServer : Mircrosoft SQLSERVER 2008
OS:windows xp professional sp3
error log:
eclipse.buildId=unknown
java.version=1.6.0_27
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh
Command-line arguments: -os win32 -ws win32 -arch x86
错误
Wed Aug 29 08:42:48 CST 2012
org.jkiss.dbeaver.DBException: SQL 错误 [102] [42000]: '.' 附近有语法错误。
org.jkiss.dbeaver.DBException: SQL 错误 [102] [42000]: '.' 附近有语法错误。
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.setActiveEntityName(GenericDataSource.java:606)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.selectObject(GenericDataSource.java:573)
at org.jkiss.dbeaver.core.ApplicationToolbarDataSources$4.run(ApplicationToolbarDataSources.java:681)
at org.jkiss.dbeaver.core.DBeaverCore$3.run(DBeaverCore.java:444)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.sql.SQLException: '.' 附近有语法错误。
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:632)
at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:584)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:546)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.execute(JtdsPreparedStatement.java:558)
at org.jkiss.dbeaver.model.impl.jdbc.api.JDBCPreparedStatementImpl.execute(JDBCPreparedStatementImpl.java:114)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.setActiveEntityName(GenericDataSource.java:601)
... 4 more
kasir2008
 
Posts: 3
Joined: Sun Aug 26, 2012 1:18 am

Re: DBeaver connect database Failure

Postby Serge » Wed Aug 29, 2012 8:20 am

This looks like a bug in MSSQL driver description. I'll try to reproduce it and fix in the nearest version.
However (as I see from log) it may happen not at the connection instantiation but when you try to change active (default) database.

Thanks for report!
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: DBeaver connect database Failure

Postby kasir2008 » Wed Aug 29, 2012 9:36 am

thank you for your patient!
kasir2008
 
Posts: 3
Joined: Sun Aug 26, 2012 1:18 am


Return to Support



Who is online

Users browsing this forum: No registered users and 29 guests