Yea but you don't get a quick answer on datanucleus forums
Sometimes you don't get an answer ever !

I'm having this issue since thursday and still didn't get one tip till now
:(

On Sun, Jul 1, 2012 at 1:56 AM, Marco Lopes <marcolo...@netc.pt> wrote:

> Datanucleus foruns are active...
> http://www.datanucleus.org/**servlet/forum/index<http://www.datanucleus.org/servlet/forum/index>
>
> Muhammad Gelbana wrote:
>
>> I haven't been seeing much activity for this mailing list for a long time.
>> If someone sees this, would you please tell me where can I find an active
>> and helpful community for jdo ?
>>
>> Datanucleus forums aren't active and this mailing list too :(
>>
>> Thank you.
>>
>> On Sat, Jun 30, 2012 at 6:41 PM, Muhammad Gelbana <m.gelb...@gmail.com
>> >wrote:
>>
>>  Hi everyone,
>>>
>>> Here is a sample of my mapping:[code]@**PersistenceCapable(**identityType
>>> =
>>> IdentityType.APPLICATION, detachable = "true")
>>> public class Test {
>>>     @PrimaryKey
>>>     @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
>>>     private long id;
>>>     @Persistent(column = "user")
>>>     @Column(defaultValue = "1", jdbcType = "INTEGER", length =
>>> 11,allowsNull = "false")
>>>     private Member member;
>>>
>>>     //Getters and setters
>>> }[/code]I'm using MySQL.
>>> I have my object (Test) with a field that maps another object (Member)
>>> that I'm not allowed to alter it's table. Member's id column type
>>> "INT(11)
>>> UNSIGNED"
>>>
>>> Datanucleus (A JDO implementation) is unable to create the "Test" table
>>> because it's "user" column will have to have a foreign-key constraint to
>>> point at "Member"'s PK column which is "INT(11)  UNSIGNED". I managed to
>>> specify it's type and length but I can't specify that it's
>>> [b]UNSIGNED[/b] !
>>>
>>> I suppose this can be done using extensions but I can't find a clear and
>>> detailed specification for the available extensions.
>>>
>>> I reached that page, looked through some of the api docs but found
>>> nothing.
>>>
>>> I generally find the extensions annotation very critical sometimes but I
>>> can't find where is it's specification ?!
>>>
>>> I feel terribly lost right now !
>>>
>>> --
>>> *Regards,*
>>> *Muhammad Gelbana
>>> Java Developer*
>>>
>>>
>>>
>>
>
>


-- 
*Regards,*
*Muhammad Gelbana
Java Developer*

Reply via email to