Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Utökning av Storms SQL-bibliotek
Linköping University, Department of Computer and Information Science.
2024 (Swedish)Independent thesis Basic level (degree of Bachelor), 10,5 credits / 16 HE creditsStudent thesis
Abstract [sv]

Denna studie undersöker utmaningar och lösningar för att utöka SQL-biblioteket iprogrammeringsplattformen Storm med stöd för databashanteraren PostgreSQL. Genom attimplementera stöd för PostgreSQL har jag utvecklat nya klasser, löst problemet medAUTOINCREMENT med standardens identitetskolumner och flyttat ansvaret för SQL-frågegenerering till de enskilda databas-klasserna. Metoden illustreras med ett bibliotekssystemsom praktiskt demonstrerar de teoretiska och tekniska stegen. Resultatet visar att den nyadatabasmigrationsfunktionen är flexibel och generaliserbar, vilket underlättar framtida stöd förandra databassystem som Oracle och Microsoft SQL Server (MSSQL Server). Arbetets bidrag tillhuvudområdet ligger i att visa hur SQL-biblioteket i Storm kan hantera olika databastyper medminimal påverkan på användarkoden, vilket förbättrar flexibiliteten och användarvänligheten.Studien erbjuder ett nytt sätt att hantera databasmigrationer och schemadefinitioner, vilkettidigare varit en komplex uppgift i Storm. Detta arbete öppnar upp för smidigaredatabasintegrationer och framtida förbättringar av SQL-biblioteket.

Abstract [en]

This study investigates the challenges and solutions for extending the SQL library in theprogramming platform called Storm with the database manager PostgreSQL. By implementingsupport for PostgreSQL, I have developed new classes, resolved the issue withAUTOINCREMENT using standard identity columns and moved the responsibility for SQLquery generation to the individual database classes when a database migration is performed. Themethod is illustrated with a running example in the form of a simple library system. The resultshow that the new migration function is flexible and generalizable, making it easier to implementsupport for more databases like Oracle and Microsoft SQL Server (MSSQL Server) in the future.This work contributes to the field by demonstrating how the SQL library in Storm can managedifferent databases with minimal changes to user code, which in turn improves the flexibility andusability. This study offers a new approach to dealing with database migrations and schemadefinitions in Storm, enabling easier database integrations and future improvements of the SQLlibrary.

Place, publisher, year, edition, pages
2024. , p. 16
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:liu:diva-213093ISRN: LIU-IDA/LITH-EX-G--24/044--SEOAI: oai:DiVA.org:liu-213093DiVA, id: diva2:1952558
Subject / course
Computer Engineering
Supervisors
Examiners
Available from: 2025-04-16 Created: 2025-04-15 Last updated: 2025-04-16Bibliographically approved

Open Access in DiVA

fulltext(256 kB)26 downloads
File information
File name FULLTEXT01.pdfFile size 256 kBChecksum SHA-512
d1831ccdddd2924f96b7ffea3b0e45a98ce345ac1afd2a4fb334a1064d900e87c946e7d1d5f92f8f7f62ed8e6e95aa6fcdae777e030c99a2a328185eb3faf811
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Eklöf, Erik
By organisation
Department of Computer and Information Science
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 27 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 324 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf