use Java to create tables and columns for any DB?

I noticed that Microsoft Server had custom data types that are not in MySQL. So is it possible to use Java to create the tables and columns in an independent way?Or are custom SQL scripts required for each DB?
[223 byte] By [rkippena] at [2007-11-26 17:51:36]
# 1

> I noticed that Microsoft Server had custom data types

> that are not in MySQL. So is it possible to use Java

> to create the tables and columns in an independent

> way?

You can execute creation commands in Java. You have to use JDBC data types, of course.

> Or are custom SQL scripts required for each DB?

It's customary in my experience to create and populate the schema using scripts, not Java.

%

duffymoa at 2007-7-9 5:04:07 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
eg in spring step by step, http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step-Part-4.html
mchan0a at 2007-7-9 5:04:07 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...