intersystems cache - How to obtain the correct sequence number of class parameters in SQL? -


still on task of reading class elements sql using jdbc... , have problem class parameters.

given 2 sql queries (both in namespace samples):

select name, sequencenumber %dictionary.propertydefinition     parent = 'sample.person';  select name, sequencenumber     %dictionary.parameterdefinition     parent = 'aviation.cubes.aircraft.staraircraftmodel'; 

the first query correctly report sequence number in source file has been written.

however, not case second query: sequencenumber 0!

how obtain "position" of parameter?

second query correct well, wrong target, because, such behavior possible generated classes. can see non-empty generatedby property in definition class. if try sample.person shown correctly.

but still don't understand why use jdbc, because it's slow. not sure doing, maybe, code can you. java class reading cache classes.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -