This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes datatypes in Derby embedded database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "datatypes in Derby embedded database" Watch "datatypes in Derby embedded database" New topic
Author

datatypes in Derby embedded database

Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
Hi there,

I'm developing a java system that is to read from a Derby embedded database, which will generate from a central Sybase database. I'm currently writing the code to create and populate this database. Some of the data fields in the central db are of the TEXT datatype (cos the data is 300-400 character length), and Derby seems to react poorly to this.

create table command:


stack trace:


Does anyone know if it is the TEXT datatype that is the problem here? Is there is an equivalent of TEXT n Derby? If not . . . any suggestions?

Many thanks in advance,

Dave
Dave Mere
Ranch Hand

Joined: Oct 25, 2004
Posts: 37
Got it. The closest equivalent in Derby is the CLOB datatype.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: datatypes in Derby embedded database
 
Similar Threads
Hibernate is driving me crazy !
derby 10.8.2.2 with sequences and currentvalue
uni-directional association (or Directed Association ) vs dependency
Ensim Linux & Tomcat issues, can't MySQL - anyone?
Resource annotaion. doubts