This is very straight problem but I haven't figured out any solution yet. Scenario is I have 2 table in my DB. Source of 2nd table is dependent on 1st ...
This is very straight problem but I haven't figured out any solution yet. Scenario is I have 2 table in my DB. Source of 2nd table is dependent on 1st ...
This is part of my model: I use the @Lob annotation because the value of map "contents" can be large. Note that I do not care about how the key of ...
The current column is a VARCHAR(255) NOT NULL, so how do I change it to TEXT NOT NULL? NOTE: The column intended to be changed its property type is a ...
I am trying to create an index on a particular text string using Hibernate annotations. What I am currently doing is: However, since the length of ...
I am having trouble getting the right hibernate annotations to use on a Map with an enumerated class as a key. Here is a simplified (and extremely con ...
How would I do the following (interested only in how to do UNIQUE (title, description)) in phpMyAdmin?: And by the way, so as not to open another q ...
I have a table with a primary key that is a varchar(255). Some cases have arisen where 255 characters isn't enough. I tried changing the field to a te ...
I'm trying to add a composite primary key to a class and having a bit of trouble. Here are the classes. I'm using the orm.xml to map the classes be ...
I am working to use django's ContentType framework to create some generic relations for a my models; after looking at how the django developers do it ...
I'm creating a table to hold items from rss feeds and I need to create a column 'description'. I selected the datatype as TEXT with no limit set with ...
I am trying to add a spatial index to a table column named Location of type BLOB. If I try this: I get: Error: BLOB/TEXT column 'Location' us ...
I'm using MySQL fulltext indexes in a Rails 2.3.2 App. I added the index via native SQL in my migration. But there is a known issue causing problems w ...