首页 \ 问答 \ 我的HSQLDB上的更改不一致(Changes on my HSQLDB are inconsistent)

我的HSQLDB上的更改不一致(Changes on my HSQLDB are inconsistent)

我一直在努力学习如何使用HSQLDB,但似乎我所做的任何更改都被确认,然后被忽略或者做错了。 例如,我创建了一个新用户(internal_admin)作为SA,但在尝试以此用户身份登录后,我收到以下错误:

not found: internal_admin

用于create user internal_admin password somepassword ADMIN;命令: create user internal_admin password somepassword ADMIN;

为了解决我的问题,我将SA的密码更改为我从.txt文件复制的随机密码(以确保密码输入正确)但在尝试使用SA上的完全相同的密码登录后,我获得了invalid authorization specification密码invalid authorization specification 。 检查日志后,我发送的所有命令都成功完成并记录,但更改没有反映出来。 HSQLDB是绝对的,不可原谅的糟糕还是我做错了什么? 我已经尝试重新启动数据库,但它没有任何区别。

用于更改密码的命令: Alter User SA set password somepassword;

我应该补充一点,我正在本地计算机上进行此测试,而不是在远程或专用服务器上进行此测试。


I've been trying to learn how to use HSQLDB but it seems like any changes I make are acknowledged and then either ignored or done incorrectly. For instance, I created a new user (internal_admin) as SA but after attempting to log in as this user I get the following error:

not found: internal_admin

Command used to make user: create user internal_admin password somepassword ADMIN;

To add to my issues, I changed the password of SA to a randomized password that I copied from a .txt file (to ensure the password was entered correctly) but after trying to log in with the exact same password on SA I get an invalid authorization specification. Checking the logs, all commands I sent went through successfully and were logged, but the changes are not being reflected. Is HSQLDB just absolutely, unforgivably awful or am I doing something wrong? I've tried restarting the db but it makes no difference.

Command used to change password: Alter User SA set password somepassword;

I should add that I'm doing this testing on my local computer, not on a remote or dedicated server.


原文:https://stackoverflow.com/questions/38618710
更新时间:2023-08-29 19:08

最满意答案

您可以使用自定义事件执行此操作。 按照这些说明进行设置。

它们导出到BigQuery进行分析时,您将只能看到自定义事件的属性。 您将无法在控制台中看到它们。


You can do this with a custom event. Follow these instructions to get that set up.

You will only be able to see the properties of custom events when you export them to BigQuery for analysis. You won't be able to see them in the console.

相关问答

更多
  • 在Android上,此数据来自广告ID,该广告ID会在安装了Google Play服务的设备上自动收集。 在iOS上,此数据源自广告标识符(IDFA)(如果您的应用连接到广告支持框架)。 AdMob不是两个平台上年龄,性别或兴趣的先决条件。 澄清评论意见:Firebase Analytics人口统计报告因隐私原因而被限制 。 一旦你有足够的数据 - 每个年龄/性别支架至少有10个用户 - 将显示该支架的数据。 On Android, this data is derived from the Adverti ...
  • 这是一个Swift函数,用于测量Swift中的Project Euler问题 它使用NSDate // Swift 1 func evaluateProblem(problemNumber: Int, problemBlock: () -> Int) -> Answer { println("Evaluating problem \(problemNumber)"); let start = NSDate(); // <<<<<<<<<< Start time let myGues ...
  • 快速检查 - 确保您的日期范围包含记录此事件的日期。 例如,如果今天记录了事件,则应该更改日期范围以明确包含Today。 “Last 30 Days”或“Last 7 Days”等范围不包含Today。 如果您没有看到报告更新,则应联系支持部门以便更快地了解报告的底部。 One quick thing to check -- make sure your date range encompasses the date on which this event was logged. For example, ...
  • 好吧,我只是想出了一个解决我自己问题的方法,我发布这个以防万一有像我这样的其他统计数据以同样的方式摸不着头脑。 实现此目的的最简单方法是使用由views, averageViewDuration组成的组合查询views, averageViewDuration ,然后解析它。 这将给出总视图时间,精确到秒,这将避免estimatedMinutesWatched精确舍入。 Well, I just rather figured out a way to my own question, and I'm pos ...
  • 快速回答:您描述的情景会导致一个2小时的会话。 会话基于应用程序的活动是当前活动的时间。 没有必要发送事件; 从活动恢复到暂停时间的时间被计为参与时间。 在连续参与的一小时结束时,会记录一次参与事件,但这不会结束会话。 如果连续的时间段(默认为30分钟),则会话过期,表示应用程序的任何活动都不是当前活动。 如果用户退出应用程序的时间超过了会话超时时间,然后重新启动它,会话将继续。 如果用户退出应用的时间超过会话超时,则会话结束。 退出应用程序并将其置于后台之间没有任何变化。 如果它不是用户正在看的东西,它不 ...
  • 您可以使用自定义事件执行此操作。 按照这些说明进行设置。 将它们导出到BigQuery进行分析时,您将只能看到自定义事件的属性。 您将无法在控制台中看到它们。 You can do this with a custom event. Follow these instructions to get that set up. You will only be able to see the properties of custom events when you export them to BigQuery ...
  • SDK已经尝试将上传间隔时间最小化为每小时一次以避免电量耗尽。 如果网络出现任何问题,它将不会立即重试,如果需要,也可以在数小时后重新启动或退出。 它也有几种优化数据延迟的方法,所以自由控制调度系统不是一件好事。 The SDK already tries to minimize the upload interval times to one per hour to avoid draining battery. If there is any problem with the network, it w ...
  • 以下是支持的官方答复: 是的,可以为Amplitude设置日志级别。 在SDK的每个文件的顶部,您可以更改AMPLITUDE_DEBUG标志,还可以更改AMPLITUDE_LOG_ERRORS标志以关闭错误日志记录。 Here is the official answer from support: Yes, it is possible to set up a log level for Amplitude. At the top of each file in the SDK, you can chan ...
  • 平均网站时间度量用户在所有页面(网站)上的时间。 如果是在index.html上花费的时间,它将被命名为“页面平均时间”。 这很难衡量,因为人们经常保持打开标签将浏览其他的东西。 Average Time on Site measures the time an user spent on all pages (the site). If it would be the time spend on e.g. index.html it would be named "Average Time on Page ...
  • 虽然Firebase仅正式支持具有Google Play服务的设备,但某些功能(例如Google Analytics)可能实际上适用于没有Google Play服务的设备。 但是,我们无法保证这一点。 Steve Ganem Firebase Analytics产品经理 Although Firebase does only officially support devices with Google Play services, some features (such as Analytics) may ...

相关文章

更多

最新问答

更多
  • 如何检索Ember.js模型的所有属性(How to retrieve all properties of an Ember.js model)
  • maven中snapshot快照库和release发布库的区别和作用
  • arraylist中的搜索元素(Search element in arraylist)
  • 从mysli_fetch_array中获取选定的值并输出(Get selected value from mysli_fetch_array and output)
  • Windows Phone上的可用共享扩展(Available Share Extensions on Windows Phone)
  • 如何在命令提示符下将日期设置为文件名(How to set file name as date in command prompt)
  • 如何在Laravel 5.2中使用paginate与关系?(How to use paginate with relationships in Laravel 5.2?)
  • 从iframe访问父页面的id元素(accessing id element of parent page from iframe)
  • linux的常用命令干什么用的
  • Feign Client + Eureka POST请求正文(Feign Client + Eureka POST request body)
  • 怎么删除禁用RHEL/CentOS 7上不需要的服务
  • 为什么Gradle运行测试两次?(Why does Gradle run tests twice?)
  • 由于有四个新控制器,Auth刀片是否有任何变化?(Are there any changes in Auth blades due to four new controllers?)
  • 如何交换返回集中的行?(How to swap rows in a return set?)
  • 在android中的活动之间切换?(Switching between activities in android?)
  • Perforce:如何从Depot到Workspace丢失文件?(Perforce: how to get missing file from Depot to Workspace?)
  • Webform页面避免运行服务器(Webform page avoiding runat server)
  • 在ios 7中的UITableView部分周围绘制边界线(draw borderline around UITableView section in ios 7)
  • 内存布局破解(memory layout hack)
  • 使用Boost.Spirit Qi和Lex时的空白队长(Whitespace skipper when using Boost.Spirit Qi and Lex)
  • 我们可以有一个调度程序,你可以异步添加东西,但会同步按顺序执行吗?(Can we have a dispatcher that you can add things todo asynchronously but will be executed in that order synchronously?)
  • “FROM a,b”和“FROM a FULL OUTER JOIN b”之间有什么区别?(What is the difference between “FROM a, b” and “FROM a FULL OUTER JOIN b”?)
  • Java中的不可变类(Immutable class in Java)
  • bat批处理文件结果导出到txt
  • WordPress发布查询(WordPress post query)
  • 如何在关系数据库中存储与IPv6兼容的地址(How to store IPv6-compatible address in a relational database)
  • 是否可以检查对象值的条件并返回密钥?(Is it possible to check the condition of a value of an object and JUST return the key?)
  • 德州新起点计算机培训学校主要课程有什么?
  • GEP分段错误LLVM C ++ API(GEP segmentation fault LLVM C++ API)
  • “latin1_german1_ci”整理来自哪里?(Where is “latin1_german1_ci” collation coming from?)