Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can Spring mapping String to VARCHAR(75) bebigger?

 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

I'm building Liferay Portlets using The Service Layer, which relies on Spring. So far so good.

I have some entities defined, using a few String type fields. So far so good.

Portlet installs and runs, creating tables in the DB where those fields are VARCHAR(75). Problem... Sometimes I'll need to store data in them that will exceed 75 characters. Is there a way to configure Spring to create longer VARCHAR fields?

Thanks!
 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sweet! Answer here: Liferay Forum
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic