Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,173,369 members, 7,888,201 topics. Date: Friday, 12 July 2024 at 09:32 PM

Java JDBC Database Object Mysql Connection And Manipulation Library By Antware - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Java JDBC Database Object Mysql Connection And Manipulation Library By Antware (1505 Views)

Mail Ant V1.0 - The Email Marketing And Management Tool By Antware Ltd / Help To Link Java Jdbc, Server, Jsp, Servlet / PHP Mysql Connection Using PDO (2) (3) (4)

(1) (Reply)

Java JDBC Database Object Mysql Connection And Manipulation Library By Antware by guruinfinite(m): 11:42pm On Sep 21, 2021
# ant-dbo
Antware Database Connection Object (Ant DBO) build on top of JDBC and MySQL

Ant DBO is a repo utility project with classes that extends and implement JDBC; java.sql, meant to manipulate MySQL Database.

Can do:
1. It can connect to MySQL Server
2. Creates and manipulates database records
3. Select from database table(s)
4. Deletes database records from database table
5. Easy to use

import system.model.*;

Make use you include the ant-dbo.jar in your classpath or reference libraries if your using eclipses as your Editor.


import system.model.*;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;

public class SampleCode {
public static void main(String[] args){
Map<String, String> clause = new HashMap<String, String>();
Map<String, String> clause2 = new HashMap<String, String>();
HashMap<String, String> clause3 = new HashMap<String, String>();
clause.put("column", "zip"wink;
clause.put("operator", "="wink;
clause.put("value", "234"wink;

clause2.put("column", "email"wink;
clause2.put("operator", "="wink;
clause2.put("value", "gettrafficworld@yahoo.com"wink;

clause3.put("col", "name"wink;
clause3.put("sort", "DESC"wink;

Model mod = new Model("users"wink;
ResultSet rs = mod.get(null);
// Here we display
try {
System.out.println("Email: "+rs.getString("email"wink);
} catch (SQLException e) {
// TODO Auto-generated catch block

import java.sql.*;

Download Project from Github @ https://github.com/omasy/ant-dbo

(1) (Reply)

Programming Project / Become A Programmer Guru/Designer Guru @ a Cheap Price / Top 3 Challenges For Artificial Intelligence (AI) Startup Companies

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.