Sarndeep Nijjar
unread,Nov 2, 2012, 10:28:32 AM11/2/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to activejd...@googlegroups.com
Hi All,
Im trying to execute the following to get keys from a dual table:
{{{
new DB("gti_sequence").open("oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@c4t-db05-vip:1521:ORAINT1", "gti_sequence", "gti_sequence");
Sequence.findBySQL("select SEQ_GTI.nextval from DUAL")
}}}
using this basic class:
{{{
@DbName("gti_sequence")
@Table("DUAL")
public class Sequence extends Model {
}
}}}
Whats happening, instead of getting the attributes populated im getting dummy=null
Is there something specific you have to do to get the values from the dual table?