Using jackson streaming api, how to create an AVRO container?
I tried the following.
Schema s = AvroUtils.getSchema (rs.getMetaData ());
AvroSchema schema = new AvroSchema(s);
AvroFactory f = new AvroFactory();
AvroGenerator g = f.createGenerator (m_os);
g.setSchema (schema);
g.writeStartArray ();
...
g.writeEndArray ();
g.flush ();
But the file generated does not contain the schema...