sqlite-jdbc
Paper
Our great sponsors
sqlite-jdbc | Paper | |
---|---|---|
21 | 338 | |
2,682 | 8,829 | |
- | 5.2% | |
9.1 | 9.8 | |
1 day ago | 2 days ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqlite-jdbc
-
Exciting SQLite Improvements Since 2020
There's also a fairly popular JDBC driver for SQLite too:
https://github.com/xerial/sqlite-jdbc
Mentioning that because from (very) rough memory, Excel can work with JDBC too.
So if the ODBC approach doesn't work for someone, there's potentially another thing they can try. :)
-
Janet for Mortals
Sadly, another baseless assumption. I just downloaded sqlite java driver from https://github.com/xerial/sqlite-jdbc/. And compiled their sample program on the home page to native code. (all within ~1min after reading your response)
javac Sample.java && native-image -cp .:sqlite-jdbc-3.41.2.1.jar Sample
-
ResultSet's "getX" working without calling "next()" first? (Xerial SQLite)
Here's a link to the ResultSet source code for that driver. https://github.com/xerial/sqlite-jdbc/blob/master/src/main/java/org/sqlite/jdbc3/JDBC3ResultSet.java
-
sqlite, persistence, and java
Well, the simplest is to just use basic JDBC. See https://www.tutorialspoint.com/jdbc/jdbc-sample-code.htm or maybe some tests that the xerial-jdbc library has https://github.com/xerial/sqlite-jdbc/blob/master/src/test/java/org/sqlite/CollationTest.java
- Between using H2 and HSQLDB as a production DB, which is the better choice?
- Are there any reasons for not using SQLite as an embedded DB in a Spring Boot web app?
-
What's the best approach for creating an embedded Postgresql to be used in production?
There is https://github.com/xerial/sqlite-jdbc, a full packaged sql lite for Java. We use it in production apps to store local user profile data. It works, is stable.
-
I’m Switching from VS Code to vs Codium
> Take the Jetbrains IDEs. I don't mean to offend any VSC fans out there but the Jetbrains IDEs are simply better and more mature in every single way.
I just discontinued my Jetbrains subscription after 10 years or so. Now I'm using VS Code and don't miss anything. My reasons for switching to VS Code are unrelated to the costs but purely due to quality issues and missing or poorly implemented features:
1. For all Jetbrains IDEs, ISO keyboard layout with dead keys doesn't work on Ubuntu based distros. I was baffled when I found out after saying goodbye to Windows lately. When filing a bug I was asked to wade through years old pages of comments to find somewhere someone who posted a workaround that was not compatible with the Toolbox. Well, at least the support could have sent me the instructions to fix it to save me spending an hour to read those threads at the Youtrack.
2. Vue 3 support was a disaster for itself. Still, Vue 3 support is very much behind the VS Code extension.
3. Same for Svelte. They are not even working on bugs / feature requests like intellisense in the templates.
4. Same for TailwindCSS. Never ending storing. Don't know and care if Jetbrains got it right by now.
5. Starting maybe 2 years ago, Jetbrains added feature for feature that were just distracting and annoying. This "run command in terminal" thingie for example. They're bloating their IDEs with new (mostly useless stuff) but don't fix essential bugs or get Webstorm back into shape.
6. Datagrip still doesn't (or maybe it does in the meantime) support SQLite STRICT TABLES (version 3.37). The simple answer from Jetbrains was: "The open source lib we're using does not support it so we don't." (Actually the lib (https://github.com/xerial/sqlite-jdbc) is currently unmaintained - another reason to be careful depending on a lib maintained by a single person.). The reply would be perfectly fine for an open source project, but not for a multi billion dollar company I as a customer had payed accumulated several thousand Euros in the last years.
I'm using mainly Go, Rust and several frontend frameworks. VS Code support for those is really good. Many things work much better in VS Code.
- Lumosql
-
Replacing JNI with Panama in the SQLite JDBC driver
I was working on this project for a few months: https://github.com/xerial/sqlite-jdbc/pull/568. I basically read this entire book to learn more about the C api: https://www.amazon.com/Using-SQLite-Small-Reliable-Choose/dp/0596521189 and studied the JNI for a few weeks.
Paper
- PaperMC/Paper: The most widely used, high performance Minecraft server
-
How to Setup a Minecraft Server on Ubuntu: A Step-by-Step Guide
We will be downloading the Minecraft server files into this directory. To preface, there are numerous variations of server JARs that can be used (e.g. Spigot, Paper, Purpur each touting their own benefits). For this tutorial, we will be working with Paper, a fork of Spigot that is optimized for performance.
-
Create a personal server for a deleted game
PaperMC, a minecraft server has over a quarter million lines of code Github link
-
"Private crash exploit" (container interaction packet abuse) lagging/crashing server
Paper fixed it here: https://github.com/PaperMC/Paper/commit/8493340be4fa69fa9369719272e5dff1b7a2f455
-
Can't connect to server after new motherboard
G:\DedicatedServers\test>java -Xms10G -Xmx10G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper-1.20.2-291.jar --nogui Starting org.bukkit.craftbukkit.Main System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.2+8-86) Host: Windows 10 10.0 (amd64) Loading libraries, please wait... [13:37:15 INFO]: Environment: Environment[accountsHost=https://api.mojang.com, sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD] [13:37:15 INFO]: Found new data pack file/bukkit, loading it automatically [13:37:16 INFO]: Loaded 7 recipes [13:37:16 INFO]: Starting minecraft server version 1.20.2 [13:37:16 INFO]: Loading properties [13:37:16 INFO]: This server is running Paper version git-Paper-291 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: ce7f068) [13:37:17 INFO]: Using 4 threads for Netty based IO [13:37:17 INFO]: Server Ping Player Sample Count: 12 [13:37:17 INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 6 worker threads, and gen parallelism of 6 threads [13:37:17 WARN]: [!] The timings profiler has been enabled but has been scheduled for removal from Paper in the future. We recommend installing the spark profiler as a replacement: https://spark.lucko.me/ For more information please visit: https://github.com/PaperMC/Paper/issues/8948 [13:37:18 INFO]: Default game type: SURVIVAL [13:37:18 INFO]: Generating keypair [13:37:18 INFO]: Starting Minecraft server on *:25555 [13:37:18 INFO]: Using default channel type [13:37:18 INFO]: Paper: Using Java compression from Velocity. [13:37:18 INFO]: Paper: Using Java cipher from Velocity. [13:37:18 INFO]: Preparing level "world" [13:37:22 INFO]: Preparing start region for dimension minecraft:overworld [13:37:22 INFO]: Time elapsed: 52 ms [13:37:22 INFO]: Preparing start region for dimension minecraft:the_nether [13:37:22 INFO]: Time elapsed: 29 ms [13:37:22 INFO]: Preparing start region for dimension minecraft:the_end [13:37:22 INFO]: Time elapsed: 28 ms [13:37:22 INFO]: Running delayed init tasks [13:37:22 INFO]: Done (6.045s)! For help, type "help" [13:37:22 INFO]: Timings Reset
-
Server crash
For more information please visit: https://github.com/PaperMC/Paper/issues/8948
- Tnt duper not working [java] [1.20]
-
[java] How do you host multiple Minecraft servers on the same IP?
Go to papermc.io and download Waterfall or Velocity
-
Has this been happening to you guys ?
This is actually a known issue which was mostly ignored: https://github.com/PaperMC/Paper/issues/3110
- Breaking the Limits: How Folia Made 1k Player Minecraft Server a Reality
What are some alternatives?
HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.
Purpur - Purpur is a drop-in replacement for Paper servers designed for configurability, and new fun and exciting gameplay features.
Hibernate - Hibernate's core Object/Relational Mapping functionality
Arclight - A Bukkit(1.19/1.20) server implementation on Forge using Mixin. ⚡ ⚡⚡⚡⚡
jOOQ - jOOQ is the best way to write SQL in Java
fabric - Essential hooks for modding with Fabric.
Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
Waterfall - BungeeCord fork that aims to improve performance and stability.
Ebean ORM - Ebean ORM
Airplane - A stable, optimized, well supported 1.17.1 Paper fork.
JPassport - JPassport
Pufferfish - A high-performance fork of Paper designed for large servers.