惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
L
LINUX DO - 最新话题
Cloudbric
Cloudbric
N
News and Events Feed by Topic
S
Secure Thoughts
Vercel News
Vercel News
S
Security @ Cisco Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题
Hacker News: Ask HN
Hacker News: Ask HN
博客园 - 聂微东
WordPress大学
WordPress大学
Google Online Security Blog
Google Online Security Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
PCI Perspectives
PCI Perspectives
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog
Blog — PlanetScale
Blog — PlanetScale
Apple Machine Learning Research
Apple Machine Learning Research
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threat Research - Cisco Blogs
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
A
About on SuperTechFans
P
Proofpoint News Feed
大猫的无限游戏
大猫的无限游戏
V
V2EX
I
Intezer
H
Hacker News: Front Page
www.infosecurity-magazine.com
www.infosecurity-magazine.com
L
Lohrmann on Cybersecurity
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
博客园 - 叶小钗
The Cloudflare Blog
月光博客
月光博客
W
WeLiveSecurity
T
Tenable Blog
P
Proofpoint News Feed
aimingoo的专栏
aimingoo的专栏
Help Net Security
Help Net Security
L
LangChain Blog
C
CERT Recently Published Vulnerability Notes
T
The Exploit Database - CXSecurity.com
美团技术团队
B
Blog

博客园 - BlackAngel2bAssassin

使用SQL SERVER 内部函数进行密码加密和校验小问题 还原MOSS 默认的权限级别 破译moss 2007 中的权限提升功能 后台代码中使用Post 进行跳转 在自定义HttpHandler 中使用Session asp.net 1.1 用户控件的第二种重用 一个DataGrid 的CheckBoxColumn (转贴)实现带有数据绑定的客户端脚本控制的二级联动菜单 (转贴)使用Repeater实现自定义多列数据绑定 - BlackAngel2bAssassin - 博客园 (转贴)使用PagedDataSource给Repeater、DataList增加分页 (转贴)给Repeater、Datalist和Datagrid增加自动编号列 (转贴)如何取得DataGrid绑定列和模板列中的值 重新理解.net remoting SPS 中修改用户密码的WebPart 工程 FireBird 的使用点滴(一) 使用Webpart包装ActiveX组件 制作用户修改密码Webpart 的简短步骤 一个忘却了的SharePoint 的Bug 抽取word、excel、pdf等文件[转载]
FireBird 点滴之JDBC连接字串
BlackAngel2bAssassin · 2005-09-26 · via 博客园 - BlackAngel2bAssassin

又开始研究FireBird  了,使用.netBeans 将FireBird 的驱动程序载入,然后就是创建连接方法。
开始按照通常的方法连接字串是 jdbc:firebirdsql:local:x:/database/myTest.fdb ,可是经过一轮查找后竟然出现不能使用连接的异常。之后又重新试了jdbc:firebirdsql:locahostl:x:/database/myTest.fdb|、jdbc:firebirdsql:127.0.0.1:x:/database/myTest.fdb 都是出现同样的错误。没办法,惟有打开IBExpert 的FireBird 管理工具,连接上数据库,然后对连接进行连接测试。使用TCP/IP 方式,然后端口选择3050 然后"Test" 。出现“Test pass”的字样。表示数据库连接成功。之后再重新进入netBeans 在FireBird 的JDBC 驱动上创建连接方法。这次使用jdbc:firebirdsql:localhost:3050:x:/database/myTest.fdb 加端口号的方式进行创建。......经过一段十分而且无奈的等待始终还是没有找到连接。真是奇怪死了!经过一翻查找,终于发现FireBird 的连接字串竟然是
jdbc:firebirdsql:localhost/3050:x:/database/myTest.fdb,端口和host 之间竟然是用“/”而不是用“:”真是让它搞死。不过经过一翻折腾后还好,终于给连上了。下面给出FireBird 的连接字串方式。有可能会因为使用的FireBird 类型不同而不同或使用的IDE不同而有些差别,具体是不是这样还有待查究,不过现在姑且这样说着。
驱动:
org.firebirdsql.jdbc.FBDriver连接字串:
jdbc:firebirdsql:localhost/3050:x:/database/employee.fdb
jdbc:firebirdsql:native:localhost/3050:x:/database/employee.fdb
jdbc:firebirdsql:local:x:/database/employee.fdb
jdbc:firebirdsql:embedded:x:/database/employee.fdb

可以参考 FireBirdJDBC 中的example\DriverExample.java

posted on 2005-09-26 23:10  BlackAngel2bAssassin  阅读(2635)  评论()    收藏  举报