Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
1

Restrict type registration in space

We are having a strange situation, where a data type is registered in the space when we query for it, which actually does not exist. Below scenario should explain my problem.

I have a space which has a CLASS com.boss.A as a data type. Now from UI i accidently did a query like this

select status from com.boss.B where rownum < 5000;

Now i suspected that it would throw me a error, but however gigaspace created a new data type in the space with type com.boss.B

Is there any way to restrict that or did i did something wrong ??

asked 2014-08-28 00:43:42 -0500

Harvey gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
-1

What version are you using?

This has been fixed at least as of 9.7.1 and will throw an exception:

java.sql.SQLException: Table [com.gigaspaces.support.test.TestObject does not exist

answered 2014-08-28 14:57:03 -0500

jb gravatar image
edit flag offensive delete link more

Comments

We are using the gigaspace version 9.7. Is there any way to fix it in gigaspace 9.7 ??

Harvey gravatar imageHarvey ( 2014-08-29 02:01:38 -0500 )edit

do you mean the web-ui? the gs-ui will throw an exception in 9.7.0 as well.

jb gravatar imagejb ( 2014-08-29 12:00:19 -0500 )edit

hi, yes i mean the web-ui should thrown an exception. Also the same thing happens from the code itself. If i execute the same query from the java code. It also registers a type. Is there anything to restrict that ??

Harvey gravatar imageHarvey ( 2014-08-29 23:55:42 -0500 )edit

Can you give a GS-xxx issue id? I can't find it in release notes here: http://docs.gigaspaces.com/release_no...

aliher1911 gravatar imagealiher1911 ( 2014-09-01 05:36:45 -0500 )edit

hi anyone knows how can we fix it in Gigaspace 9.7.0 ??

Harvey gravatar imageHarvey ( 2014-09-01 08:48:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-08-28 00:43:42 -0500

Seen: 101 times

Last updated: Aug 28 '14