Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
R-N committed Apr 6, 2022
1 parent 018b286 commit 59778a9
Show file tree
Hide file tree
Showing 134 changed files with 67,340 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="dist/DBD_LCD.jar"/>
<classpathentry kind="lib" path="dist/lib/AbsoluteLayout.jar"/>
<classpathentry kind="lib" path="dist/lib/beansbinding-1.2.1.jar"/>
<classpathentry kind="lib" path="dist/lib/mysql-connector-java-8.0.13.jar"/>
<classpathentry kind="lib" path="lib/jasperreports-6.6.0.jar"/>
<classpathentry kind="lib" path="lib/jasperreports-chart-customizers-6.6.0.jar"/>
<classpathentry kind="lib" path="lib/jasperreports-chart-themes-6.6.0.jar"/>
<classpathentry kind="lib" path="lib/jasperreports-fonts-6.6.0.jar"/>
<classpathentry kind="lib" path="lib/jasperreports-functions-6.6.0.jar"/>
<classpathentry kind="lib" path="lib/jasperreports-javaflow-6.6.0.jar"/>
<classpathentry kind="lib" path="lib/mysql-connector-java-5.1.37-bin.jar"/>
<classpathentry kind="lib" path="lib/mysql-connector-java-8.0.13.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*
build/
dist/
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>NetBeansProjects_DBD_LCD</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
4 changes: 4 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/dbd_lcd/report/jrxml/Barang.jrxml=UTF-8
encoding//src/dbd_lcd/report/jrxml/Peminjam.jrxml=UTF-8
encoding//src/dbd_lcd/report/jrxml/Peminjaman.jrxml=UTF-8
1,497 changes: 1,497 additions & 0 deletions Mysql Dump/dump.sql

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions Mysql Dump/init.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

CREATE USER 'client'@'%' IDENTIFIED BY 'asdfasdf';

GRANT USAGE ON `database_name`.* TO 'client'@'%';

GRANT SELECT ON peminjam TO 'client'@'%';
GRANT SELECT ON barang TO 'client'@'%';
GRANT SELECT ON keperluan_pinjam TO 'client'@'%';
GRANT SELECT ON riwayat_barang TO 'client'@'%';
GRANT SELECT ON peminjaman TO 'client'@'%';
GRANT SELECT ON status_peminjaman TO 'client'@'%';
GRANT SELECT ON status_barang TO 'client'@'%';
GRANT SELECT ON tipe_barang TO 'client'@'%';

GRANT EXECUTE ON PROCEDURE DELETE_KEPERLUAN_PINJAM TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE INSERT_BARANG TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE INSERT_KEPERLUAN_PINJAM TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE INSERT_PEMINJAM TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE INSERT_PEMINJAMAN TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE LOGIN_PETUGAS TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE LOGOUT_PETUGAS TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE PING_SESI TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE UPDATE_DETAIL_BARANG TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE UPDATE_DETAIL_PEMINJAMAN TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE UPDATE_KEPERLUAN_PINJAM TO 'client'@'%';
GRANT EXECUTE ON PROCEDURE UPDATE_PEMINJAM TO 'client'@'%';
GRANT EXECUTE ON FUNCTION GET_NAMA_PETUGAS TO 'client'@'%';
Loading

0 comments on commit 59778a9

Please sign in to comment.