Rewritting the processor to really connect to a database and read metadata from a real select statement
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
6 package org.apidesign.livedb.example;
8 import java.sql.SQLException;
10 import junit.framework.TestCase;
14 * @author Jaroslav Tulach <jtulach@netbeans.org>
16 public class LiveDBTest extends TestCase {
18 public LiveDBTest(String testName) {
22 public void testSomeMethod() throws SQLException {
23 List<Age> ages = Age.query();
24 for (Age age : ages) {
25 System.out.printf("%s is %s years old\n", age.NAME, age.AGE);