Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Get Vector from Database
igorahmad
Hi i have problem with birt report :<br />
i have added Vector to my mysql database and i want take this vector from database and add its elementAt(0) to my report column.I have already added computed column :<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
df = new Packages.java.util.Vector();
df=row["Valuess"];//values is my Vector which is saved to database
df[0];
</pre>
<br />
but it doesn't work.<br />
how i can handle this Vector please help<br />
Thank you
Find more posts tagged with
Comments
thuston
Is the query returning it as a Vector?
I don't think BIRT data row can have a Vector.
It might be a different datatype and you will have to access [0] differently.