Glorp Db2 7.8

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Glorp Db2 7.8

Suresh kumar
All,

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

Suresh

Glorp.DB2Sequence(Object)>>doesNotUnderstand:
Receiver:
a Glorp.DB2Sequence
Instance Variables:
reservedNumbers = an OrderedCollection[0]
name = 'SEQUENCE'
tableSelectCommand = nil
schema = nil
count = 0
sequenceIncrement = 1
accessProtect = a Semaphore[0]
Arguments:
t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))
Temporaries:
t2 = a MessageNotUnderstood
t3 = nil
Context PC = 25

----------------------------------------------------------------------
Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:
Receiver:
a Glorp.DB2Sequence
Instance Variables:
reservedNumbers = an OrderedCollection[0]
name = 'SEQUENCE'
tableSelectCommand = nil
schema = nil
count = 0
sequenceIncrement = 1
accessProtect = a Semaphore[0]
Arguments:
t1 = 1
t2 = a Glorp.GlorpSession
t3 = a Glorp.DatabaseTable(TSK_DESC)
Temporaries:
t4 = nil
t5 = nil
Context PC = 7

----------------------------------------------------------------------
Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:
Receiver:
a Glorp.DB2Sequence
Instance Variables:
reservedNumbers = an OrderedCollection[0]
name = 'SEQUENCE'
tableSelectCommand = nil
schema = nil
count = 0
sequenceIncrement = 1
accessProtect = a Semaphore[0]
Arguments:
t1 = 1
t2 = a Glorp.GlorpSession
t3 = a Glorp.DatabaseTable(TSK_DESC)
Temporaries:
t4 = 1
t5 = nil
Context PC = 18

----------------------------------------------------------------------
optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers
Receiver:
an UndefinedObject
Arguments:
t4 = a Glorp.DB2Sequence(SEQUENCE)
Temporaries:
.t3 = an OrderedCollection[1]
.self = a Glorp.UnitOfWork
.t2 = a Glorp.DatabaseTable(TSK_DESC)
Context PC = 12

----------------------------------------------------------------------
OrderedCollection>>do:
Receiver:
an OrderedCollection
Instance Variables:
firstIndex = 1
lastIndex = 1
Arguments:
t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers
Temporaries:
t2 = 1
t3 = 1
Context PC = 17

----------------------------------------------------------------------
optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers
Receiver:
an UndefinedObject
Arguments:
t2 = a Glorp.DatabaseTable(TSK_DESC)
t3 = an OrderedCollection[1]
Temporaries:
.self = a Glorp.UnitOfWork
Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

RE: Glorp Db2 7.8

Wallen, David

Hi Suresh,

 

In my recent 7.10 build image, Glorp.NamedSequence>>reserveViaTableSelect:in:for: is also implemented in DB2Sequence’s superclass, OracleSequence, and so # tableToSelectFromIn:for: is never sent. Looking back over previous versions (I don’t have a shipped 7.8 version handy at the moment), it seems that this was in place even for 7.8, although I can’t verify that at the moment. Perhaps you have some code loaded which overrides that? If possible, you may want to also experiment with a 7.9.1 image, to see if that changes anything.

 

- Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Suresh Kumar
Sent: Tuesday, April 30, 2013 5:42 AM
To: [hidden email]
Subject: Glorp Db2 7.8

 

All,

 

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

 

Suresh

 

Glorp.DB2Sequence(Object)>>doesNotUnderstand:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))

Temporaries:

            t2 = a MessageNotUnderstood

            t3 = nil

Context PC = 25

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = nil

            t5 = nil

Context PC = 7

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = 1

            t5 = nil

Context PC = 18

 

----------------------------------------------------------------------

optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t4 = a Glorp.DB2Sequence(SEQUENCE)

Temporaries:

            .t3 = an OrderedCollection[1]

            .self = a Glorp.UnitOfWork

            .t2 = a Glorp.DatabaseTable(TSK_DESC)

Context PC = 12

 

----------------------------------------------------------------------

OrderedCollection>>do:

Receiver:

            an OrderedCollection

Instance Variables:

            firstIndex = 1

            lastIndex = 1

Arguments:

            t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Temporaries:

            t2 = 1

            t3 = 1

Context PC = 17

 

----------------------------------------------------------------------

optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t2 = a Glorp.DatabaseTable(TSK_DESC)

            t3 = an OrderedCollection[1]

Temporaries:

            .self = a Glorp.UnitOfWork

Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Db2 7.8

Suresh kumar
Thanks Dave, I have tried with 7.9.1 vanilla image with only GLORP loaded (that will eliminate the possibility of my code overrides). Implementation of # tableToSelectFromIn:for: is missing in DB2Sequence(its only in PGSequence, ) If I could implement for DB2Sequence or in NamedSequence, it may solve my problem . Any suggestions?

Thanks,
Suresh

On Tuesday, 30 April 2013 22:34:00 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

In my recent 7.10 build image, Glorp.NamedSequence>>reserveViaTableSelect:in:for: is also implemented in DB2Sequence’s superclass, OracleSequence, and so # tableToSelectFromIn:for: is never sent. Looking back over previous versions (I don’t have a shipped 7.8 version handy at the moment), it seems that this was in place even for 7.8, although I can’t verify that at the moment. Perhaps you have some code loaded which overrides that? If possible, you may want to also experiment with a 7.9.1 image, to see if that changes anything.

 

- Dave

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="8N82DO7zkeQJ">glorp...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="8N82DO7zkeQJ">glorp...@googlegroups.com] On Behalf Of Suresh Kumar
Sent: Tuesday, April 30, 2013 5:42 AM
To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="8N82DO7zkeQJ">glorp...@...
Subject: Glorp Db2 7.8

 

All,

 

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

 

Suresh

 

Glorp.DB2Sequence(Object)>>doesNotUnderstand:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))

Temporaries:

            t2 = a MessageNotUnderstood

            t3 = nil

Context PC = 25

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = nil

            t5 = nil

Context PC = 7

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = 1

            t5 = nil

Context PC = 18

 

----------------------------------------------------------------------

optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t4 = a Glorp.DB2Sequence(SEQUENCE)

Temporaries:

            .t3 = an OrderedCollection[1]

            .self = a Glorp.UnitOfWork

            .t2 = a Glorp.DatabaseTable(TSK_DESC)

Context PC = 12

 

----------------------------------------------------------------------

OrderedCollection>>do:

Receiver:

            an OrderedCollection

Instance Variables:

            firstIndex = 1

            lastIndex = 1

Arguments:

            t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Temporaries:

            t2 = 1

            t3 = 1

Context PC = 17

 

----------------------------------------------------------------------

optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t2 = a Glorp.DatabaseTable(TSK_DESC)

            t3 = an OrderedCollection[1]

Temporaries:

            .self = a Glorp.UnitOfWork

Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="8N82DO7zkeQJ">glorp-group...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="8N82DO7zkeQJ">glorp...@....
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

RE: Glorp Db2 7.8

Wallen, David

I think I may have misunderstood your needs. What I meant is that DB2Sequence doesn’t need #tableToSelectFromIn:for: (at least in VW7.9 and later). Remember that DB2Sequence inherits from OracleSequence, which uses a different approach, not involving #tableToSelectFromIn:for:. Looking at your original stack,

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

In a 7.9 image, DB2Sequence inherits this method from OracleSequence, not NamedSequence, and so the code path (and stack) will be very different.

On the other hand, maybe I’m missing something else here.

 

- Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Suresh Kumar
Sent: Wednesday, May 01, 2013 11:31 PM
To: [hidden email]
Cc: Wallen, David
Subject: Re: Glorp Db2 7.8

 

Thanks Dave, I have tried with 7.9.1 vanilla image with only GLORP loaded (that will eliminate the possibility of my code overrides). Implementation of # tableToSelectFromIn:for: is missing in DB2Sequence(its only in PGSequence, ) If I could implement for DB2Sequence or in NamedSequence, it may solve my problem . Any suggestions?

 

Thanks,

Suresh

On Tuesday, 30 April 2013 22:34:00 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

In my recent 7.10 build image, Glorp.NamedSequence>>reserveViaTableSelect:in:for: is also implemented in DB2Sequence’s superclass, OracleSequence, and so # tableToSelectFromIn:for: is never sent. Looking back over previous versions (I don’t have a shipped 7.8 version handy at the moment), it seems that this was in place even for 7.8, although I can’t verify that at the moment. Perhaps you have some code loaded which overrides that? If possible, you may want to also experiment with a 7.9.1 image, to see if that changes anything.

 

- Dave

 

From: <a href="javascript:" target="_blank">glorp...@... [mailto:<a href="javascript:" target="_blank">glorp...@...] On Behalf Of Suresh Kumar
Sent: Tuesday, April 30, 2013 5:42 AM
To: <a href="javascript:" target="_blank">glorp...@...
Subject: Glorp Db2 7.8

 

All,

 

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

 

Suresh

 

Glorp.DB2Sequence(Object)>>doesNotUnderstand:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))

Temporaries:

            t2 = a MessageNotUnderstood

            t3 = nil

Context PC = 25

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = nil

            t5 = nil

Context PC = 7

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = 1

            t5 = nil

Context PC = 18

 

----------------------------------------------------------------------

optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t4 = a Glorp.DB2Sequence(SEQUENCE)

Temporaries:

            .t3 = an OrderedCollection[1]

            .self = a Glorp.UnitOfWork

            .t2 = a Glorp.DatabaseTable(TSK_DESC)

Context PC = 12

 

----------------------------------------------------------------------

OrderedCollection>>do:

Receiver:

            an OrderedCollection

Instance Variables:

            firstIndex = 1

            lastIndex = 1

Arguments:

            t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Temporaries:

            t2 = 1

            t3 = 1

Context PC = 17

 

----------------------------------------------------------------------

optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t2 = a Glorp.DatabaseTable(TSK_DESC)

            t3 = an OrderedCollection[1]

Temporaries:

            .self = a Glorp.UnitOfWork

Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank">glorp-group...@....
To post to this group, send email to <a href="javascript:" target="_blank">glorp...@....
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Db2 7.8

Suresh kumar
Thanks Dave ..I have figured out the issue...now I am facing a new issue..the GLORP version we were using is very way old and now I am porting to 7.9.1 version. In some places our code using resultCollectionClass from old OneToManyMapping..but after upgrading to latest GLORP I don't see resultCollectionClass in OneToManyMapping or its super classes. Please suggest is there any alterate method for resultCollectionClass or its equivalent..

Regards.
Suresh

-Suresh


On Thu, May 2, 2013 at 10:31 PM, Wallen, David <[hidden email]> wrote:

I think I may have misunderstood your needs. What I meant is that DB2Sequence doesn’t need #tableToSelectFromIn:for: (at least in VW7.9 and later). Remember that DB2Sequence inherits from OracleSequence, which uses a different approach, not involving #tableToSelectFromIn:for:. Looking at your original stack,

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

In a 7.9 image, DB2Sequence inherits this method from OracleSequence, not NamedSequence, and so the code path (and stack) will be very different.

On the other hand, maybe I’m missing something else here.

 

- Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Suresh Kumar
Sent: Wednesday, May 01, 2013 11:31 PM
To: [hidden email]
Cc: Wallen, David
Subject: Re: Glorp Db2 7.8

 

Thanks Dave, I have tried with 7.9.1 vanilla image with only GLORP loaded (that will eliminate the possibility of my code overrides). Implementation of # tableToSelectFromIn:for: is missing in DB2Sequence(its only in PGSequence, ) If I could implement for DB2Sequence or in NamedSequence, it may solve my problem . Any suggestions?

 

Thanks,

Suresh

On Tuesday, 30 April 2013 22:34:00 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

In my recent 7.10 build image, Glorp.NamedSequence>>reserveViaTableSelect:in:for: is also implemented in DB2Sequence’s superclass, OracleSequence, and so # tableToSelectFromIn:for: is never sent. Looking back over previous versions (I don’t have a shipped 7.8 version handy at the moment), it seems that this was in place even for 7.8, although I can’t verify that at the moment. Perhaps you have some code loaded which overrides that? If possible, you may want to also experiment with a 7.9.1 image, to see if that changes anything.

 

- Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Suresh Kumar
Sent: Tuesday, April 30, 2013 5:42 AM
To: [hidden email]
Subject: Glorp Db2 7.8

 

All,

 

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

 

Suresh

 

Glorp.DB2Sequence(Object)>>doesNotUnderstand:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))

Temporaries:

            t2 = a MessageNotUnderstood

            t3 = nil

Context PC = 25

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = nil

            t5 = nil

Context PC = 7

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = 1

            t5 = nil

Context PC = 18

 

----------------------------------------------------------------------

optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t4 = a Glorp.DB2Sequence(SEQUENCE)

Temporaries:

            .t3 = an OrderedCollection[1]

            .self = a Glorp.UnitOfWork

            .t2 = a Glorp.DatabaseTable(TSK_DESC)

Context PC = 12

 

----------------------------------------------------------------------

OrderedCollection>>do:

Receiver:

            an OrderedCollection

Instance Variables:

            firstIndex = 1

            lastIndex = 1

Arguments:

            t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Temporaries:

            t2 = 1

            t3 = 1

Context PC = 17

 

----------------------------------------------------------------------

optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t2 = a Glorp.DatabaseTable(TSK_DESC)

            t3 = an OrderedCollection[1]

Temporaries:

            .self = a Glorp.UnitOfWork

Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to a topic in the Google Groups "glorp-group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/glorp-group/l0bzFxJkGIc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

RE: Glorp Db2 7.8

Wallen, David

Hi Suresh,

 

I cannot seem to find any method named ‘resultCollectionClass’ in current or older versions of Glorp (I checked back to 2007). There is a method, OneToManyMapping>>collectionType. Perhaps that does the same thing? Otherwise, if you can verify the version of Glorp you’re using, I could check further back.

 

- Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Suresh Kumar
Sent: Tuesday, May 07, 2013 9:14 AM
To: [hidden email]
Subject: Re: Glorp Db2 7.8

 

Thanks Dave ..I have figured out the issue...now I am facing a new issue..the GLORP version we were using is very way old and now I am porting to 7.9.1 version. In some places our code using resultCollectionClass from old OneToManyMapping..but after upgrading to latest GLORP I don't see resultCollectionClass in OneToManyMapping or its super classes. Please suggest is there any alterate method for resultCollectionClass or its equivalent..

 

Regards.

Suresh


-Suresh

 

On Thu, May 2, 2013 at 10:31 PM, Wallen, David <[hidden email]> wrote:

I think I may have misunderstood your needs. What I meant is that DB2Sequence doesn’t need #tableToSelectFromIn:for: (at least in VW7.9 and later). Remember that DB2Sequence inherits from OracleSequence, which uses a different approach, not involving #tableToSelectFromIn:for:. Looking at your original stack,

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

In a 7.9 image, DB2Sequence inherits this method from OracleSequence, not NamedSequence, and so the code path (and stack) will be very different.

On the other hand, maybe I’m missing something else here.

 

- Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Suresh Kumar
Sent: Wednesday, May 01, 2013 11:31 PM
To: [hidden email]
Cc: Wallen, David
Subject: Re: Glorp Db2 7.8

 

Thanks Dave, I have tried with 7.9.1 vanilla image with only GLORP loaded (that will eliminate the possibility of my code overrides). Implementation of # tableToSelectFromIn:for: is missing in DB2Sequence(its only in PGSequence, ) If I could implement for DB2Sequence or in NamedSequence, it may solve my problem . Any suggestions?

 

Thanks,

Suresh

On Tuesday, 30 April 2013 22:34:00 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

In my recent 7.10 build image, Glorp.NamedSequence>>reserveViaTableSelect:in:for: is also implemented in DB2Sequence’s superclass, OracleSequence, and so # tableToSelectFromIn:for: is never sent. Looking back over previous versions (I don’t have a shipped 7.8 version handy at the moment), it seems that this was in place even for 7.8, although I can’t verify that at the moment. Perhaps you have some code loaded which overrides that? If possible, you may want to also experiment with a 7.9.1 image, to see if that changes anything.

 

- Dave

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Suresh Kumar
Sent: Tuesday, April 30, 2013 5:42 AM
To: [hidden email]
Subject: Glorp Db2 7.8

 

All,

 

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

 

Suresh

 

Glorp.DB2Sequence(Object)>>doesNotUnderstand:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))

Temporaries:

            t2 = a MessageNotUnderstood

            t3 = nil

Context PC = 25

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = nil

            t5 = nil

Context PC = 7

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = 1

            t5 = nil

Context PC = 18

 

----------------------------------------------------------------------

optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t4 = a Glorp.DB2Sequence(SEQUENCE)

Temporaries:

            .t3 = an OrderedCollection[1]

            .self = a Glorp.UnitOfWork

            .t2 = a Glorp.DatabaseTable(TSK_DESC)

Context PC = 12

 

----------------------------------------------------------------------

OrderedCollection>>do:

Receiver:

            an OrderedCollection

Instance Variables:

            firstIndex = 1

            lastIndex = 1

Arguments:

            t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Temporaries:

            t2 = 1

            t3 = 1

Context PC = 17

 

----------------------------------------------------------------------

optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t2 = a Glorp.DatabaseTable(TSK_DESC)

            t3 = an OrderedCollection[1]

Temporaries:

            .self = a Glorp.UnitOfWork

Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to a topic in the Google Groups "glorp-group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/glorp-group/l0bzFxJkGIc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Db2 7.8

Suresh kumar
Hi Dave,

The version we use is probably from 2002 - 2003 period. 

Thanks,
Suresh

On Wednesday, 8 May 2013 03:45:04 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

I cannot seem to find any method named ‘resultCollectionClass’ in current or older versions of Glorp (I checked back to 2007). There is a method, OneToManyMapping>>collectionType. Perhaps that does the same thing? Otherwise, if you can verify the version of Glorp you’re using, I could check further back.

 

- Dave

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@googlegroups.com] On Behalf Of Suresh Kumar
Sent: Tuesday, May 07, 2013 9:14 AM
To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@...
Subject: Re: Glorp Db2 7.8

 

Thanks Dave ..I have figured out the issue...now I am facing a new issue..the GLORP version we were using is very way old and now I am porting to 7.9.1 version. In some places our code using resultCollectionClass from old OneToManyMapping..but after upgrading to latest GLORP I don't see resultCollectionClass in OneToManyMapping or its super classes. Please suggest is there any alterate method for resultCollectionClass or its equivalent..

 

Regards.

Suresh


-Suresh

 

On Thu, May 2, 2013 at 10:31 PM, Wallen, David <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">dwa...@...> wrote:

I think I may have misunderstood your needs. What I meant is that DB2Sequence doesn’t need #tableToSelectFromIn:for: (at least in VW7.9 and later). Remember that DB2Sequence inherits from OracleSequence, which uses a different approach, not involving #tableToSelectFromIn:for:. Looking at your original stack,

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

In a 7.9 image, DB2Sequence inherits this method from OracleSequence, not NamedSequence, and so the code path (and stack) will be very different.

On the other hand, maybe I’m missing something else here.

 

- Dave

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@... [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@googlegroups.com] On Behalf Of Suresh Kumar
Sent: Wednesday, May 01, 2013 11:31 PM
To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@...
Cc: Wallen, David
Subject: Re: Glorp Db2 7.8

 

Thanks Dave, I have tried with 7.9.1 vanilla image with only GLORP loaded (that will eliminate the possibility of my code overrides). Implementation of # tableToSelectFromIn:for: is missing in DB2Sequence(its only in PGSequence, ) If I could implement for DB2Sequence or in NamedSequence, it may solve my problem . Any suggestions?

 

Thanks,

Suresh

On Tuesday, 30 April 2013 22:34:00 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

In my recent 7.10 build image, Glorp.NamedSequence>>reserveViaTableSelect:in:for: is also implemented in DB2Sequence’s superclass, OracleSequence, and so # tableToSelectFromIn:for: is never sent. Looking back over previous versions (I don’t have a shipped 7.8 version handy at the moment), it seems that this was in place even for 7.8, although I can’t verify that at the moment. Perhaps you have some code loaded which overrides that? If possible, you may want to also experiment with a 7.9.1 image, to see if that changes anything.

 

- Dave

 

From: [hidden email] [mailto:glorp...@googlegroups.com] On Behalf Of Suresh Kumar
Sent: Tuesday, April 30, 2013 5:42 AM
To: [hidden email]
Subject: Glorp Db2 7.8

 

All,

 

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

 

Suresh

 

Glorp.DB2Sequence(Object)>>doesNotUnderstand:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))

Temporaries:

            t2 = a MessageNotUnderstood

            t3 = nil

Context PC = 25

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = nil

            t5 = nil

Context PC = 7

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = 1

            t5 = nil

Context PC = 18

 

----------------------------------------------------------------------

optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t4 = a Glorp.DB2Sequence(SEQUENCE)

Temporaries:

            .t3 = an OrderedCollection[1]

            .self = a Glorp.UnitOfWork

            .t2 = a Glorp.DatabaseTable(TSK_DESC)

Context PC = 12

 

----------------------------------------------------------------------

OrderedCollection>>do:

Receiver:

            an OrderedCollection

Instance Variables:

            firstIndex = 1

            lastIndex = 1

Arguments:

            t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Temporaries:

            t2 = 1

            t3 = 1

Context PC = 17

 

----------------------------------------------------------------------

optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t2 = a Glorp.DatabaseTable(TSK_DESC)

            t3 = an OrderedCollection[1]

Temporaries:

            .self = a Glorp.UnitOfWork

Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp-group...@googlegroups.com.
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp-group...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@....
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to a topic in the Google Groups "glorp-group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/glorp-group/l0bzFxJkGIc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp-group...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@....
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp-group...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4a5KThYm7QUJ">glorp...@....
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Db2 7.8

Alan Knight-2
The collectionType is what you want. Note that Glorp split out some of this so that there is an actual model for the attribute and it's what holds the type, rather than the mapping. If you don't explicitly define the attribute then it will get created implicitly, and there are methods for some of its properties on the mapping as well, which is why collectionType is there.


On 8 May 2013 03:29, Suresh Kumar <[hidden email]> wrote:
Hi Dave,

The version we use is probably from 2002 - 2003 period. 

Thanks,
Suresh


On Wednesday, 8 May 2013 03:45:04 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

I cannot seem to find any method named ‘resultCollectionClass’ in current or older versions of Glorp (I checked back to 2007). There is a method, OneToManyMapping>>collectionType. Perhaps that does the same thing? Otherwise, if you can verify the version of Glorp you’re using, I could check further back.

 

- Dave

 

From: [hidden email] [mailto:glorp...@googlegroups.com] On Behalf Of Suresh Kumar


Sent: Tuesday, May 07, 2013 9:14 AM
To: [hidden email]

Subject: Re: Glorp Db2 7.8

 

Thanks Dave ..I have figured out the issue...now I am facing a new issue..the GLORP version we were using is very way old and now I am porting to 7.9.1 version. In some places our code using resultCollectionClass from old OneToManyMapping..but after upgrading to latest GLORP I don't see resultCollectionClass in OneToManyMapping or its super classes. Please suggest is there any alterate method for resultCollectionClass or its equivalent..

 

Regards.

Suresh


-Suresh

 

On Thu, May 2, 2013 at 10:31 PM, Wallen, David <[hidden email]> wrote:

I think I may have misunderstood your needs. What I meant is that DB2Sequence doesn’t need #tableToSelectFromIn:for: (at least in VW7.9 and later). Remember that DB2Sequence inherits from OracleSequence, which uses a different approach, not involving #tableToSelectFromIn:for:. Looking at your original stack,

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

In a 7.9 image, DB2Sequence inherits this method from OracleSequence, not NamedSequence, and so the code path (and stack) will be very different.

On the other hand, maybe I’m missing something else here.

 

- Dave

 

From: [hidden email] [mailto:glorp...@googlegroups.com] On Behalf Of Suresh Kumar


Sent: Wednesday, May 01, 2013 11:31 PM
To: [hidden email]

Cc: Wallen, David
Subject: Re: Glorp Db2 7.8

 

Thanks Dave, I have tried with 7.9.1 vanilla image with only GLORP loaded (that will eliminate the possibility of my code overrides). Implementation of # tableToSelectFromIn:for: is missing in DB2Sequence(its only in PGSequence, ) If I could implement for DB2Sequence or in NamedSequence, it may solve my problem . Any suggestions?

 

Thanks,

Suresh

On Tuesday, 30 April 2013 22:34:00 UTC+5:30, Wallen, David wrote:

Hi Suresh,

 

In my recent 7.10 build image, Glorp.NamedSequence>>reserveViaTableSelect:in:for: is also implemented in DB2Sequence’s superclass, OracleSequence, and so # tableToSelectFromIn:for: is never sent. Looking back over previous versions (I don’t have a shipped 7.8 version handy at the moment), it seems that this was in place even for 7.8, although I can’t verify that at the moment. Perhaps you have some code loaded which overrides that? If possible, you may want to also experiment with a 7.9.1 image, to see if that changes anything.

 

- Dave

 

From: [hidden email] [mailto:glorp...@googlegroups.com] On Behalf Of Suresh Kumar
Sent: Tuesday, April 30, 2013 5:42 AM
To: [hidden email]
Subject: Glorp Db2 7.8

 

All,

 

I am working on a project which supports oracle and trying to make it to DB2 compatible. I have added the DB2 GLORP support from VW7.8 to the existing code and getting the below error . The selector tableToSelectFromIn:for: is implemented only in PGSequence. Am I missing something or a bug? Thanks in advance,

 

Suresh

 

Glorp.DB2Sequence(Object)>>doesNotUnderstand:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = a Message with selector: #tableToSelectFromIn:for: and arguments: #(a Glorp.GlorpSession a Glorp.DatabaseTable(TSK_DESC))

Temporaries:

            t2 = a MessageNotUnderstood

            t3 = nil

Context PC = 25

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveViaTableSelect:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = nil

            t5 = nil

Context PC = 7

 

----------------------------------------------------------------------

Glorp.DB2Sequence(Glorp.NamedSequence)>>reserveSequenceNumbers:in:for:

Receiver:

            a Glorp.DB2Sequence

Instance Variables:

            reservedNumbers = an OrderedCollection[0]

            name = 'SEQUENCE'

            tableSelectCommand = nil

            schema = nil

            count = 0

            sequenceIncrement = 1

            accessProtect = a Semaphore[0]

Arguments:

            t1 = 1

            t2 = a Glorp.GlorpSession

            t3 = a Glorp.DatabaseTable(TSK_DESC)

Temporaries:

            t4 = 1

            t5 = nil

Context PC = 18

 

----------------------------------------------------------------------

optimized [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t4 = a Glorp.DB2Sequence(SEQUENCE)

Temporaries:

            .t3 = an OrderedCollection[1]

            .self = a Glorp.UnitOfWork

            .t2 = a Glorp.DatabaseTable(TSK_DESC)

Context PC = 12

 

----------------------------------------------------------------------

OrderedCollection>>do:

Receiver:

            an OrderedCollection

Instance Variables:

            firstIndex = 1

            lastIndex = 1

Arguments:

            t1 = BlockClosure [] in [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Temporaries:

            t2 = 1

            t3 = 1

Context PC = 17

 

----------------------------------------------------------------------

optimized [] in Glorp.UnitOfWork>>reserveSequenceNumbers

Receiver:

            an UndefinedObject

Arguments:

            t2 = a Glorp.DatabaseTable(TSK_DESC)

            t3 = an OrderedCollection[1]

Temporaries:

            .self = a Glorp.UnitOfWork

Context PC = 13

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp-group...@googlegroups.com.
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp-group...@googlegroups.com.
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--

You received this message because you are subscribed to a topic in the Google Groups "glorp-group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/glorp-group/l0bzFxJkGIc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to glorp-group...@googlegroups.com.

To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp-group...@googlegroups.com.
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/glorp-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.