用于GWT的SQLite数据库?

编程入门 行业动态 更新时间:2024-10-22 20:32:22
本文介绍了用于GWT的SQLite数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试使用GWT为Chrome创建一个打包应用程序,我需要一个SQLite数据库。我似乎无法找到任何体面的资源。我已经看过gwt-mobile-webkit,是在gwt中使用sqlite的权威方法吗?当我按照他们的例子发现错误时,它似乎并未在一段时间内更新。基于缺乏结果,我想我不是在寻找正确的东西,任何指导?

d检查 gwt-mobile-webkit ,或者更具体地说数据库API 。虽然这个名字说移动,但它绝对适用于桌面。该库封装了HTML5数据库支持,该支持(取决于浏览器)是SQLite还是 IndexedDB 。还有很多其他重量较大的包装纸,但这是我见过的最好也是最简单的。

I'm trying to create a Packaged App for Chrome using GWT, I need an SQLite DB. I can't seem to find any decent resources on doing this. I've looked at gwt-mobile-webkit, is that the definitive way to use sqlite in gwt? I'm getting errors when I follow their example, it seems it hasn't been updated in awhile. Based on the lack of results I'm thinking I'm not searching for the right thing, any guidance?

解决方案

I'd check out gwt-mobile-webkit, or more specifically the Database API. Though the name says "mobile", it definitely works on the desktop. This library wraps the HTML5 database support, which (depending on the browser) is either SQLite or IndexedDB. There are plenty of other, heavier weight wrappers, but this is the best and easiest I've seen around.

更多推荐

用于GWT的SQLite数据库?

本文发布于:2023-07-08 20:15:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1080273.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据库   GWT   SQLite

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!