如何用Java实现读数据库结构的类,就是把数据库的字段名和字段类型读到文件里,然后再生成它的实体Bean,就是生成set,get方法。
解决方案 »
- 分配了数组类,double[] aa = new double[1000000];可内存监控上,居然没有什么消耗。怪
- unix下,java 能否实现与客户端的域socket通讯?能的话,如何实现?请大虾们赐教!
- .java文件如何编译为.class
- 大家来做题吧,每天一题,面试题
- 大哥大姐谢谢了,我是新手
- 时间相减的问题?急哦~
- 在Linux OS 上运行Java程序
- 时间问题,请高手指教,mm先谢过!!!
- 150分相赠!!万分火急!!如何在JB中用skinlf1.2控件???总是找不到themepack.zip??
- Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
- 急!急!急!!JAVA jdk环境变量设置半天都没有好 不知道怎么回事。大虾门帮忙。。
- 将一个整形变量转换成字符串形变量有几种方法
ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
Retrieves a description of the tables available in the given catalog. ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern)
Retrieves a description of table columns available in the specified catalog.
一条记录一个map,map.put(columnName,columnValue);